Raxx · internal docs

internal · gated

RCA — Queue staging deploy blocked by sqitch registry mismatch

Incident ID: 2026-06-23-queue-staging-sqitch-registry-mismatch Date: 2026-06-23 Severity: SEV-2 Duration: ~45m (detection via CI alert → PR merged) Blast radius: Queue staging deploy pipeline blocked; prod unaffected (prod deploy is manual-only) Author: sre-agent

Summary

The Queue auto-deploy to staging (run 28057641389) failed because billing_customer already existed on the staging DB but was not in Sqitch's registry. Sqitch tried to re-run 01-billing-schema and hit ERROR: relation "billing_customer" already exists. The root fix was to make all sqitch deploy scripts idempotent (CREATE TABLE IF NOT EXISTS, etc.) so re-execution is safe regardless of prior state. PR #3788 carries the fix.

Timeline (all times UTC)

Impact

What went well

What didn't go well

Root cause analysis

Detection

Resolution

Action items

# Action Owner Due Issue
1 Merge PR #3788 (idempotent sqitch deploy scripts) operator 2026-06-23 #3788
2 Merge PR #3638 (queue_customer_id nullable) after staging re-deploy confirms green operator 2026-06-24 #3638
3 Add sqitch registry-vs-schema consistency check to nightly BCP smoke sre-agent 2026-06-30 (file follow-up)

References