Event bus — historical backfill runbook
Section titled “Event bus — historical backfill runbook”Owner Matrix (Pre-Launch)
Section titled “Owner Matrix (Pre-Launch)”| Area | Owner | Backup |
|---|---|---|
| DB / D1 | TBD | TBD |
| App / workers | TBD | TBD |
| Observability | TBD | TBD |
Planned Window (Pre-Launch)
Section titled “Planned Window (Pre-Launch)”- Maintenance window: TBD (timezone).
- Freeze merges except hotfixes during execution.
Procedure
Section titled “Procedure”- Dry-run
scripts/db/backfill-event-history.mjswith--inputon a sample in staging. - Run production backfill per the agreed batch size and rate limits.
- Validate counts and sample payloads against source of truth.
Rollback
Section titled “Rollback”- Stop the backfill job.
- Restore from snapshot taken before the window if data corruption is confirmed.
- Document incident ID and scope of rows affected.