<?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: shashi sharma</title>
    <description>The latest articles on DEV Community by shashi sharma (@shashisrun).</description>
    <link>https://dev.to/shashisrun</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3410702%2F5b43d16f-9a76-4907-a0ae-d188f1d9c1bd.jpg</url>
      <title>DEV Community: shashi sharma</title>
      <link>https://dev.to/shashisrun</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shashisrun"/>
    <language>en</language>
    <item>
      <title>What If You Could Replay Production Bugs Locally?</title>
      <dc:creator>shashi sharma</dc:creator>
      <pubDate>Mon, 23 Mar 2026 15:37:10 +0000</pubDate>
      <link>https://dev.to/shashisrun/what-if-you-could-replay-production-bugs-locally-34mj</link>
      <guid>https://dev.to/shashisrun/what-if-you-could-replay-production-bugs-locally-34mj</guid>
      <description>&lt;p&gt;Debugging production bugs is still… guesswork.&lt;/p&gt;

&lt;p&gt;You look at logs.&lt;br&gt;
You try to reproduce the issue locally.&lt;br&gt;
You add more logs.&lt;br&gt;
You redeploy.&lt;/p&gt;

&lt;p&gt;And hope the bug shows up again.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;The problem&lt;/p&gt;

&lt;p&gt;We’ve accepted a broken workflow:&lt;/p&gt;

&lt;p&gt;• Logs don’t show the full picture&lt;br&gt;
• Reproducing bugs locally is unreliable&lt;br&gt;
• External dependencies behave differently&lt;br&gt;
• Fixes often introduce new issues&lt;/p&gt;

&lt;p&gt;Most of the time, you’re not fixing the bug —&lt;br&gt;
you’re guessing your way toward it.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;What if you could replay production failures locally?&lt;/p&gt;

&lt;p&gt;Instead of guessing, what if you could:&lt;/p&gt;

&lt;p&gt;• Take the exact production request&lt;br&gt;
• Replay it locally&lt;br&gt;
• With the same inputs and external IO&lt;br&gt;
• Fix the bug&lt;br&gt;
• Resume execution safely&lt;/p&gt;

&lt;p&gt;No mocks.&lt;br&gt;
No staging environments.&lt;br&gt;
No duplicate side effects.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Introducing Flux&lt;/p&gt;

&lt;p&gt;I’ve been working on a tool called Flux to make this possible.&lt;/p&gt;

&lt;p&gt;It records real API executions and lets you replay failures locally.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/ybJYRb0EfKo"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Here’s how it works:&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Capture the failure&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;flux tail&lt;/p&gt;

&lt;p&gt;You see the exact request that failed in production.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Understand what went wrong&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;flux why &lt;/p&gt;

&lt;p&gt;You get the full context:&lt;br&gt;
• inputs&lt;br&gt;
• execution&lt;br&gt;
• error&lt;br&gt;
• logs&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Replay locally&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;flux replay &lt;/p&gt;

&lt;p&gt;Run the exact same execution locally —&lt;br&gt;
without touching real external systems.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Fix and resume&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;flux resume &lt;/p&gt;

&lt;p&gt;Apply your fix and continue execution safely.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Why this matters&lt;/p&gt;

&lt;p&gt;Debugging shouldn’t be:&lt;/p&gt;

&lt;p&gt;• “add logs and hope”&lt;br&gt;
• “can’t reproduce locally”&lt;br&gt;
• “works on my machine”&lt;/p&gt;

&lt;p&gt;It should be deterministic.&lt;/p&gt;

&lt;p&gt;Same request. Same IO. Same outcome.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;This is just the beginning&lt;/p&gt;

&lt;p&gt;Flux is still early, but the idea is simple:&lt;/p&gt;

&lt;p&gt;Make backend debugging reproducible, safe, and predictable.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Launch 🚀&lt;/p&gt;

&lt;p&gt;I just launched this on Product Hunt today.&lt;/p&gt;

&lt;p&gt;If this resonates with you, I’d really appreciate your feedback:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://www.producthunt.com/products/replay-production-api-failures-locally" rel="noopener noreferrer"&gt;Product Hunt&lt;/a&gt;&lt;br&gt;
👉 &lt;a href="https://fluxbase.co/" rel="noopener noreferrer"&gt;Website&lt;/a&gt;&lt;br&gt;
👉 &lt;a href="https://github.com/flux-run/flux" rel="noopener noreferrer"&gt;Github&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Would love to hear from you&lt;/p&gt;

&lt;p&gt;• How do you currently debug production issues?&lt;br&gt;
• What’s the hardest part for you?&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

</description>
      <category>backend</category>
      <category>programming</category>
      <category>devtools</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
