Skip to content
Operations3 min read

By · Editorial policy

Green Health Check, Broken Workflow

Keep the process health probe and add an end-to-end synthetic workflow that checks a new destination result on a deadline. Alert on missing or stale results as well as explicit run failures.

What is the practical answer?

Keep the process health probe and add an end-to-end synthetic workflow that checks a new destination result on a deadline. Alert on missing or stale results as well as explicit run failures. A container can accept HTTP traffic while a scheduler stops claiming jobs, a dispatcher accumulates work, or a downstream connector loses credentials. Pick a canary that starts through the same intake mechanism as real traffic and follows the normal queue and worker route. Save an expected completion deadline independently of the worker, so a dead worker cannot suppress the alert. Give each run a synthetic ID and route its side effects to a sink or dedicated test tenant. The verifier should look for that exact ID and a fresh timestamp at the destination. Checking whether an older canary row still exists can mask an outage for as long as the row is retained.

Evidence: Google SRE on black-box and white-box monitoring · Reddit self-hosted n8n failure discussion

  1. Emit unique canary eventInput
  2. Run real worker pathProcess
  3. Find fresh result by deadlineDecision
  4. Alert on missing resultRecovery
A fresh destination receipt detects failures that a process health probe cannot see.

What a green health check can miss#

Give each run a synthetic ID and route its side effects to a sink or dedicated test tenant. The verifier should look for that exact ID and a fresh timestamp at the destination. Checking whether an older canary row still exists can mask an outage for as long as the row is retained. Distinguish traffic delays from failures by tracking age along with success.

What you findWhat to do
Probe green and no input receiptinvestigate the schedule or intake path.
Receipt found and no worker resultcheck worker dispatch and queue latency.
Worker result exists and destination is stalecheck connector authorization and the destination verifier.

Route actionable alerts#

Choose a deadline from the normal end-to-end latency and the user-visible recovery objective. Include the synthetic ID, last successful run, and the last boundary where it appeared. Use a small grace period only where expected variability warrants it. Assign an operator who can investigate a failed synthetic even when the workflow service itself cannot send notifications.

Build a probe with its own clock and sink#

At a known cadence, an independent scheduler emits canary_183. The workflow takes its normal worker route and writes that ID into a dedicated sink. A verifier outside the same worker pool checks for canary_183 by a deadline. That verifier must be able to report missing output even if the workflow database is completely unreachable.

Measure failure detection delay in staging by pausing the queue, then make a separate exercise for the destination going read-only. The two failures should show different trace boundaries in the alert. Tag the canary data clearly and expire it by retention policy. Exclude synthetic events from customer usage metrics while keeping them in the health dashboard.

Verify it with a failure drill#

Leave the HTTP frontend running and pause an isolated worker queue. Trigger a canary and check the deadline independently.

  • Verify the process probe stays green while the canary alerts. Resume the worker and verify the next unique canary result clears the current incident.

Sources and further reading

Official references support technical claims; community discussions are used only as problem signals.