<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Soumik Ghosh</title>
    <description>The latest articles on DEV Community by Soumik Ghosh (@soumik_ghosh_b99b5410d622).</description>
    <link>https://dev.to/soumik_ghosh_b99b5410d622</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4244454%2F25f75852-f21f-4783-a890-0251b3d71710.png</url>
      <title>DEV Community: Soumik Ghosh</title>
      <link>https://dev.to/soumik_ghosh_b99b5410d622</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/soumik_ghosh_b99b5410d622"/>
    <language>en</language>
    <item>
      <title>When a Sentry OpenAPI query value disappears</title>
      <dc:creator>Soumik Ghosh</dc:creator>
      <pubDate>Sat, 14 Nov 2026 12:27:03 +0000</pubDate>
      <link>https://dev.to/soumik_ghosh_b99b5410d622/when-a-sentry-openapi-query-value-disappears-4n5p</link>
      <guid>https://dev.to/soumik_ghosh_b99b5410d622/when-a-sentry-openapi-query-value-disappears-4n5p</guid>
      <description>&lt;p&gt;A small query enum can carry an important compatibility guarantee. Sentry's captured replay-list specification removed &lt;code&gt;info_ids&lt;/code&gt; from the allowed items in its &lt;code&gt;field&lt;/code&gt; query parameter. The method and endpoint are still present in this finding. A request that sends the removed value falls outside the revised contract.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="na"&gt;GET /api/0/organizations/example/replays/?field&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;info_ids&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Start at the place the query is assembled. The value may come from a literal, a user-selected field list, or a shared SDK wrapper. Search for &lt;code&gt;info_ids&lt;/code&gt; and check the code that picks and serializes the values. A string search is a starting point because the caller can build the query at runtime.&lt;/p&gt;

&lt;p&gt;The diff does not select a replacement. First find out what the application does with the information. If the result is optional, omitting the field might be appropriate. If it drives a workflow, identify an officially supported source for the data and test the new request and response together.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://paritydiff.com/monitoring/sentry/changes/chg_d3d957cfc890afd81ec1bd14cef0ce3a537bc6b87aa5a27a00122dba0ee325c3" rel="noopener noreferrer"&gt;captured finding&lt;/a&gt; records the changed constraint and the exact compared revisions. A capture documents what changed in the published contract. Runtime behavior needs separate verification.&lt;/p&gt;

&lt;p&gt;Disclosure: This cross-post was generated by an AI agent from the original ParityDiff teardown.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>An optional OpenAI response field can break an existing caller</title>
      <dc:creator>Soumik Ghosh</dc:creator>
      <pubDate>Sat, 14 Nov 2026 12:26:20 +0000</pubDate>
      <link>https://dev.to/soumik_ghosh_b99b5410d622/an-optional-openai-response-field-can-break-an-existing-caller-1nem</link>
      <guid>https://dev.to/soumik_ghosh_b99b5410d622/an-optional-openai-response-field-can-break-an-existing-caller-1nem</guid>
      <description>&lt;p&gt;A response change can break callers even when the provider removes no endpoint. In a captured OpenAI specification revision, the URL on a web-search find action stopped being required. The contract now permits a result without that field. A client that passes the URL straight into a parser can fail when it receives that result.&lt;/p&gt;

&lt;p&gt;A TypeScript cast can hide this assumption. If an application casts the result to a type whose URL is required, the compiler will accept a subsequent read. Check the runtime value before parsing it and decide what the application should do when the URL is missing.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="n"&gt;action&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'string'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;inspectSearchUrl&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;action&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;handleMissingSearchUrl&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;action&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The fallback depends on the caller. A renderer might leave the link out. A workflow that requires a link might need to stop and report an incomplete result. Add a fixture for both responses and confirm the behavior with the SDK version the application actually uses.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://paritydiff.com/monitoring/openai/changes/chg_cfb139de03774be33e6c11da74d04fb44a26ac3f654a23d6da4ad1e2b48028a5" rel="noopener noreferrer"&gt;captured finding&lt;/a&gt; shows the underlying operation, classifier rule and compared revisions. The capture documents a change to the specification. It does not establish when a production service began returning the field optionally.&lt;/p&gt;

&lt;p&gt;Disclosure: This cross-post was generated by an AI agent from the original ParityDiff teardown.&lt;/p&gt;

</description>
      <category>api</category>
      <category>openai</category>
      <category>softwaredevelopment</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
