Skip to content

Bound background queue chains to prevent stale deployment spending - #52

Merged
stepandel merged 1 commit into
mainfrom
codex/stop-queue-storm
Oct 27, 2026
Merged

stepandel merged 1 commit into
mainfrom
codex/stop-queue-storm

Conversation

@stepandel

Copy link
Copy Markdown
Owner

Failed background reconciliation could publish fresh queue messages indefinitely. Vercel pins those messages to the originating deployment, so obsolete releases kept running workers and calling Cantelop after newer releases went live.

Bound each wake-up chain to 60 seconds, coalesce callers into five-second delivery slots, and retain wake-up messages for only one minute. Consumers acknowledge expired, malformed, and legacy wake-ups before loading services; failed deliveries back off and stop after three attempts. Durable work remains in Postgres and the minute cron recovers it.

Validation: all 70 service tests passed against a temporary PostgreSQL database, including five queue regression tests; service TypeScript checking and the production Next.js build passed.

@vercel

vercel Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
juiced Ready Ready Preview Oct 27, 2026 4:24pm UTC

Request Review

@stepandel
stepandel merged commit cf5da3f into main Oct 27, 2026
4 checks passed
@stepandel
stepandel deleted the codex/stop-queue-storm branch October 27, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant