Try Spike

Postmortem on API service disruption

On 25 November 2026, Spike’s API was unavailable for eight minutes after a production stress test triggered a recursive scheduling bug, exhausting every server’s CPU. Monitoring failed to remove affected servers from rotation. The test was stopped, servers restarted, and a permanent fix deployed.


On November 25, 2026, between 07:50 and 07:58 UTC (13:20 to 13:28 IST), the Spike API at api.spike.sh was unavailable. Requests to the API failed, including incoming alerts from integrations. The outage was caused by a bug in our on-call scheduling system, triggered during an internal stress test, which overloaded our API servers. It has been fully resolved and a permanent fix is deployed.

Timeline (UTC)

TimeEvent
07:50An internal load test triggered a bug in on-call scheduling. CPU on every API server hit its limit and requests to api.spike.sh started failing
07:51Our monitoring alerted on failing API calls; investigation started
07:51Stress test stopped
07:52First API servers restarted
07:55Remaining API processes and background workers restarted
07:55Remaining servers restarted separately after some incoming alert traffic was still failing
07:56The on-call schedule that triggered the bug was isolated so it could not trigger it again
07:58API fully available. Incident marked resolved
07:58Permanent code fix deployed

Root cause

We were running an internal stress test against our on-call scheduling system in production. One of the test schedules hit a bug in how shift rotations are calculated, which sent the calculation into a recursive loop that never finished.
Every API server that picked up work for that schedule got stuck in the loop and used all of its CPU. Within a minute this had spread across our entire fleet, so the API could not answer any requests.
A server stuck like this still reported itself as online, so our load balancer kept sending traffic to it instead of taking it out of rotation.

Resolution

We stopped the stress test and restarted the API and background workers on every server. We then isolated the test schedule that triggered the loop, so it could not start the loop again, and corrected it. Once the API had been stable, we deployed a code fix so this bug cannot recur.

What we’re doing to prevent this

ActionStatusTarget
Fix the recursion bug in on-call schedule calculationDoneNovember 25, 2026
Health checks that detect a stuck server, so the load balancer takes it out of rotation automaticallyPlannedDecember 2026

Two things went wrong. We ran a stress test on our live systems, and it triggered a bug that froze our servers. Our monitoring then kept sending your requests to those frozen servers, because it still thought they were working.
We have fixed the bug. Stress tests will now run only on separate test systems. And we are updating our monitoring so it stops sending requests to any server that isn’t responding.

At Spike, we believe in honesty and transparency. We kept our status page subscribers notified throughout the incident. Please subscribe to our status page for real-time updates.

Thank you for your support.