ArchSetu
ArchSetu
Back to blog
Incident Prevented2 June 20268 min read

The Rs 14 Lakh Production Outage We Prevented with Blast Radius Analysis

One blast radius check. Rs 14L outage avoided.
The Situation

A Hyderabad B2B SaaS company, 120 engineers, 3,000 business customers. Their platform processes invoices for SMEs across India. On a Thursday afternoon, a senior engineer was about to push a one-line change to a shared utility function used in their invoice calculation engine.

The One-Line Change That Was Not Simple

Vikram Rao had been at the company for three years. He knew the codebase well, or thought he did. The change was simple: rename a parameter in formatCurrencyAmount() to align with their new style guide. The function looked self-contained. A quick grep showed it was called in about 10 places. He reviewed those 10 callsites. They all looked fine.

Before pushing, almost as an afterthought, he ran ArchSetu blast radius analysis on formatCurrencyAmount.

What the Blast Radius Showed

The grep had found direct calls. Blast radius found the full chain. formatCurrencyAmount was called by 11 functions. Those 11 functions were called by 34 more. Those 34 were called by 49 more. Total affected functions across 3 hops: 94 functions in 31 files.

11
Direct Callers
94
Total Affected Functions
31
Files at Risk
Rs 14L
Estimated Outage Cost

Three of the 94 affected functions were in the PDF generation service. Two were in the GST calculation module. One was in the reconciliation cron job that ran every night at 2 AM and touched every customer's invoice records.

If I had pushed that change on Thursday afternoon, we would have had broken invoices for 3,000 customers by Friday morning. Our support team would have been fielding calls all weekend. The estimated revenue impact from delayed payments and SLA violations was around Rs 14 lakhs. I stopped the push, wrote tests for all 94 affected functions, and pushed the following Monday after full validation.

Vikram Rao, Senior Software Engineer

The Change in Engineering Culture

After Vikram's near-miss, the company made blast radius analysis mandatory for any change to a function with more than 5 callers. They added it to their PR template: paste the ArchSetu blast radius output for any utility function change.

In the three months since, they have caught 7 more high-risk changes before they reached production. None of them would have been caught by code review alone, because the risk was in the indirect dependency chain, not in the code being changed.

The Economics of Blast Radius Checks

A blast radius check takes 5 seconds. A production outage for a B2B invoice platform takes 2-4 days to fully recover from: customer communication, root cause analysis, fixes, post-mortem, and the business relationship damage. The math on mandatory blast radius checks is straightforward.

5 sec
Time for Blast Radius Check
7
High-Risk Changes Caught (3 months)
2
Estimated Incidents Prevented
Rs 30L+
Estimated Cost Saved

Run ArchSetu on your own codebase

Paste a GitHub URL and get your full analysis report in under 60 seconds. Sign up first to save the results, or try it free without an account.

Analyze your repository