Technical Architect · AI-powered systems at scale · Architecture decisions, not opinions
Technical Architect · 20 years in software · Writing about AI architecture, system design, and real decisions at scale
Markdown supported · ⌘↵ to post
Exit 0 while nothing actually works is such a familiar failure — the checks were green, the system just quietly stopped doing the job. The signal-age check is a neat, cheap guard I'll borrow.
The signal-age check is useful. In GUI automation, a run can exit successfully even when a UI change prevented the intended action; an independent postcondition (expected screen or state) is what catches that gap. Do you surface signal age alongside the last successful run in the dashboard?
The distinction between process success and business outcome is key. Tracking the last meaningful state change alongside the exit code seems like a practical alarm. How do you handle jobs where a quiet run is legitimately expected?
The Stage 1 example is the one that stings, because the code looks responsible — it logs the error and exits 1 — yet the dashboard still inherits yesterday's success. I have started treating "when did this number last change?" as the first question for any metric I display, which is basically your Stage 5 rule. The detector-with-no-actor point is the other keeper: a breach flag that nobody owns is just a more precise way of feeling informed. Thanks for laying the six out as a pipeline; it makes the failure modes much easier to audit for.
Bishal Paul
The stage 1 point about a stale value being worse than a missing one is the one I'd steal first. We had a nightly export that failed on auth and the status file kept saying ok for two days, and nobody looked because the dashboard was green. Moving the failure write to the first line of the error branch is such a small change for what it prevents.