Work / 05 · Platform operations
Keeping a workflow platform alive
Customers' workflows run around the clock. I made deploys that can't take them down, alerts people actually read, and AI triage that never sees a raw log.
What I refused to trust
A container that says it started
Traffic moves only after the new version passes a health check through the real proxy. Until then the old one keeps serving.
An alert sent 15 times a day
People mute what repeats. One email per failing workflow per day, and none at all when nothing has changed.
A model with raw logs
Logs can hold customer and patient data. The model gets a short list of signal labels instead, and must cite which ones it used.
Ship it, or don't
blue-green deployTwo full copies of the platform. One serves traffic while the other gets the new version. Deploy, then try breaking the health check.
One bad day, two inboxes
A workflow keeps failing all day. Drag through the day and watch both inboxes.
Cap: 1 email per workflow per rolling 24 hours (was 15). Unchanged incidents send nothing new.
AI triage, on a short leash
An optional model adds a guess about the cause to each alert. Here is the line it never crosses.
The model sees
- Fixed signal labels: timeout, rate limit, and a few more
- Run status and duration
- Evidence IDs it must cite back
Never leaves the server
- Raw logs
- Customer and patient data
- Step inputs and outputs
House rules
- Confidence is low or medium, never high
- Cited evidence must come from the input
- 5 seconds, 3 analyses per check, cached
- If the model fails, the alert still sends
Evidence
15 → 1
Failure emails per workflow per day, with a new "only new issues" default.
2
Separate containers for the API and the workers, behind a health gate and automatic rollback.
20 / 21
Commits to the watchdog service that are mine. Its observability dashboard is all mine.
?
How often the AI's guess about the cause is right. Not measured yet.
What this page can't claim
- The platform is built on an open-source workflow engine. Its base container setup came from that project; the blue-green layer, health gates, proxy routing and container split are mine.
- There is no measured uptime figure to show.
- The AI triage is optional and switched on per platform.
ProposedLabel a month of alerts to measure the AI's hit rate