Prompt·Infrastructure and environment·I04
Background jobs that hang or stop halfway
Finds scheduled jobs and background workers that can hang, overlap or stop halfway.
Prompt
Find background jobs that can block other work or leave partially updated data. Examine queues, locks, timeouts, retries, deployment behavior, and observability.
- What it returns
- Each job with its trigger, timeout, what happens if two run at once, and what happens if it dies midway.
- Skip it when
- Projects with no background jobs.
- Changes
- Changes nothing
- Sessions
- One session
- Tools
- Repository, the scheduled jobs in vercel.json, logs.
- Also called
- Blocking and partial background jobs
Related prompts
- Half-finished failuresPromptFinds what is left behind when something fails halfway.
- Safe to run twice?PromptFinds actions that do damage when they run twice: double sends, double charges, duplicate rows.
- Database changes during a deployPromptChecks that each database change works with the old code that is still live while a release finishes.
More in Infrastructure and environment.