Canary Time Window

How long to bake the canary.

Why time matters in canary

Canary time matters because some bugs only surface under specific traffic patterns. A 10-minute window during a quiet hour catches nothing useful; a canary that runs through a typical peak catches the load-dependent regressions that ship to production otherwise.

Canary duration guidance

Duration scales with blast radius. Low risk runs in minutes; medium-risk covers a workload peak in tens of minutes; high-blast-radius changes need hours, and database migrations sometimes need days.

When to run the canary

Schedule canaries when the team is around to react. Avoid Friday afternoons, weekends without coverage, and quiet windows that produce false-pass results because nothing is happening.

Rollback timing

Rollback discipline matches canary discipline. Auto-rollback fires within 5 minutes on SLO regression; rollback that takes 15+ minutes itself indicates a process problem worth practicing.

How to set windows by deploy type

Window choice scales with deploy type. Hot config changes need 15 minutes minimum; code deploys cover a peak window; data migrations need days for replication and downstream effects to fully expose.