When a release goes wrong, on-call staff need to know what changed, when symptoms began and what evidence warrants rollback. Flashduty has AI derive those answers from code differences and production state before release. Engineers approve the ticket before execution. The resulting record serves as both a rollout plan and a searchable input to incident investigation.

Flashduty Engineering · 2026-11-30 · 10x production changes with AI

From code differences to decidable stop conditions

Drafting starts by comparing production with the main branch and reviewing each intervening PR diff. Impact assessment and rollback plan are mandatory among 14 fields. The current production image supplies the rollback target, and an engineer decides whether an irreversible data change is acceptable. In a database deadlock fix, the ticket recorded an API p99 baseline of about 100 ms and a response threshold of 200 ms sustained for ten minutes. Recording signal, duration and version together makes the decision intelligible to the next on-call engineer.

The form requires a rollback plan with numeric thresholds and observation durations.View original ↗

The form requires a rollback plan with numeric thresholds and observation durations.

Approval still needs a current-state check

Engineers approve the plan and decide whether to promote after pre-production verification. The first production batch leaves older replicas serving during a default ten-minute watch. A background watcher reads alerts every 60 seconds and checks ticket-specific stop signals every two minutes. A restarted instance can trigger immediate rollback. Increased latency can pause rollout for time-bounded diagnosis. Before each action the workflow checks for another rollout to the same service and verifies that production still matches the version seen at drafting. The team measured 26 seconds to roll back one two-replica service after full rollout.

What the tenfold change volume measures

Production changes averaged about 45 per month during the preceding ten months, then reached 453 in October and 523 in November. Releases also shrank to one or two PRs. Comparing 505 human-written tickets with 1,018 AI-drafted tickets, explicit stop conditions rose from 45% to 99%, and named rollback versions from 79% to 93%. Both measures describe what evidence an operator has when something goes wrong. Change-related incidents were rare over the two months, leaving their rate unresolved. Approval boundaries, smaller releases and ticket completeness give more context than the release count alone.

How change records ruled out a release in a deadlock investigation

On November 30 the PostgreSQL database holding alerts reported a deadlock. Two changes in the preceding 24 hours both touched another service’s collection component and left the alert writer untouched. That let responders look elsewhere. They eventually traced the deadlock to a partition-creation job that runs early on Mondays. The AI SRE uses the same records, querying from 24 hours before an incident through one hour after onset. Ruling out a recent release requires records of configuration and maintenance work as well as code deployments, with the affected component named. Timing alone cannot establish causation.