Skip to content

feat(recovery): add exact job retry CAS - #180

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/recover-exact-job-retry
Aug 25, 2026
Merged

feat(recovery): add exact job retry CAS#180
rldyourmnd merged 1 commit into
mainfrom
fix/recover-exact-job-retry

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Outcome

Add a separate recover-provider-job-retry operation for an exact job-bound provider circuit after its external root cause has been repaired.

It requires all of:

  • GARM stopped and execution as the garm service account
  • exact scale-set:<entity>:<id>:job:<job> key and matching entity/scale-set arguments
  • record attempts == 3, terminal state and exact recoverable error class
  • CAS on exact updated_at plus the existing one-minute recovery grace
  • private bounded queue journal schema 4
  • the same exact job currently live in queued|acquiring|acquired|assigned
  • dry-run by default; atomic apply increments the retry journal generation

The existing domain recovery remains unchanged and still rejects concrete keys. Invalid/absent/running queue proof performs zero mutation.

Verification

  • make verify
  • focused package tests and race tests

@rldyourmnd
rldyourmnd merged commit 2290ff6 into main Aug 25, 2026
10 checks passed
@rldyourmnd
rldyourmnd deleted the fix/recover-exact-job-retry branch August 25, 2026 12:49
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