Templates / flowchart

Deployment rollback decision

Post-deploy monitoring window with clear thresholds for when to auto-rollback versus page a human.

Open in studio

Preview

Mermaid 11 renderer

Rendering preview...

Mermaid source

flowchart

flowchart TD
    deploy[Deploy new version] --> watch[Monitor for 10 minutes]
    watch --> errors{Error rate above threshold?}
    errors -->|yes| auto[Automatic rollback]
    errors -->|no| latency{Latency regression?}
    latency -->|yes| page[Page on-call]
    latency -->|no| stable[Mark deploy stable]
    page --> decide{Rollback or hotfix?}
    decide -->|rollback| auto
    decide -->|hotfix| ship[Ship hotfix]

More templates