fix(queue): make Redis authoritative for retry deadlines - #296
Merged
Joncallim merged 2 commits intoJul 28, 2026
Merged
Conversation
Joncallim
marked this pull request as ready for review
July 28, 2026 15:25
Joncallim
merged commit Jul 28, 2026
59136c3
into
codex/pr198-producer-5a2-r3a-retry-upgrade
4 of 5 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Source Issue
Issue: #179
Summary
Retry scheduling uses Redis as its sole clock authority, and retry-v3 now rejects an exact retry destination that coexists with a live owned processing source.
TIMEauthors the stored absolute deadline.Fail-closed boundaries
ZSCOREbeforeLREM,HDEL, orZADD.stale_not_ownerand preserves the source, live claim marker, destination member, and destination score.Validation
QUEUE_OCCURRENCE_REDIS_MULTIPLICITY_OK,QUEUE_OCCURRENCE_REDIS_RECOVERY_OK, andQUEUE_OCCURRENCE_REDIS_SHUTDOWN_OK.npx tsc --noEmit, production build, andgit diff --checkpassed.Stack boundary
This draft targets
codex/pr198-producer-5a2-r3a-retry-upgradeat exact parent headdbdd43c3487b0429cb4758919185188a802babe0.It addresses the retry destination-guard amendment within the clock-authority slice. The v2 rolling-deployment cutover thread, R3B, R3C, and R3D remain out of scope and paused.