Skip to main content

test-a-zero-downtime-deploy

Test a zero-downtime deploy across mixed versions, readiness, drain, schema compatibility, sessions, jobs, traffic, rollback, and user outcomes. Use when a release promises uninterrupted service.

Source facts

Repository
protosphinx/sphinxstack
Last source activity
July 29, 2026 at 13:55
Detected SKILL.md language
English
Stars
3
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
test-a-zero-downtime-deploy
category
code
description
Test a zero-downtime deploy across mixed versions, readiness, drain, schema compatibility, sessions, jobs, traffic, rollback, and user outcomes. Use when a release promises uninterrupted service.
# test-a-zero-downtime-deploy ## When to use - Use in production-shaped staging and a bounded canary. - Do not equate successful process replacement with uninterrupted user journeys. ## Procedure 1. Define critical journeys, availability, error, latency, and data-integrity gates. 2. Verify old-new API, event, schema, cache, session, and job compatibility. 3. Generate steady traffic through rollout, drain, startup, and termination. 4. Track requests, streams, transactions, jobs, and side effects across instances. 5. Test node loss, slow startup, failed readiness, partial rollout, and rollback. 6. Reconcile user outcomes and data before declaring success. ## Failure plan - Stop and roll back when mixed-version or user-journey evidence fails. ## Worked example HTTP stays green while long-lived uploads reset during drain, disproving zero downtime. ## Done - A deploy test report records journeys, versions, traffic, readiness, drain, schema, sessions, jobs, rollback, and outcomes - Mixed-version, stream, transaction, side-effect, node, readiness, rollback, and reconciliation tests verify continuity
View on GitHub