You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit efb58a0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(world-postgres): leave job attempts past core's max-deliveries ceiling (#4428)
* fix(world-postgres): leave job attempts past core's max-deliveries ceiling
Core writes run_failed (MAX_DELIVERIES_EXCEEDED) on delivery 49 and, since
#4421, throws when that write fails transiently so the queue redelivers.
Graphile jobs were capped at exactly 49 attempts, so that throw retired the
job and the run stayed running. Add 24 attempts of headroom (~6h apart
under Graphile's exp(min(attempts, 10))s backoff).
Fixes#4427
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
* fix(world-postgres): address review on post-ceiling job attempts
- Cross-reference core's MAX_QUEUE_DELIVERIES and world-postgres'
CORE_MAX_DELIVERIES_EXCEEDED_ATTEMPT so the two cannot drift silently.
- Changeset notes that jobs enqueued before this release keep their stored
49-attempt cap, and executor transfers carry it forward.
- Test a transfer of a default-cap job at delivery 49: it keeps 25 attempts
(attemptOffset 48) for core's post-ceiling redeliveries.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
* ci: retrigger (world-postgres pg-teardown and world-local storage flakes)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
---------
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
Leave job attempts past core's max-deliveries ceiling, so a run whose terminal `run_failed` write fails transiently at the ceiling is retried instead of stranded when the job runs out of attempts. Jobs enqueued before this release keep their stored cap of 49 attempts (executor transfers carry it forward); only jobs enqueued after upgrading get the headroom.
0 commit comments