Skip to content

fix(repair): let apply-lane publishers out-wait state lease contention#730

Merged
steipete merged 2 commits into
mainfrom
fix/apply-lease-acquire-budget
Jul 21, 2026
Merged

fix(repair): let apply-lane publishers out-wait state lease contention#730
steipete merged 2 commits into
mainfrom
fix/apply-lease-acquire-budget

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Apply-lane jobs (close proposals, coverage proof, proof-ledger publish) starve behind the review-publisher herd: prod runs 29786362135 and 29789358056 polled through healthy rotating lease owners and exhausted the 3-minute acquire window without a slot (priority inversion — the rare, high-value publisher keeps losing to the frequent ones).

Change: CLAWSWEEPER_STATE_LEASE_ACQUIRE_TIMEOUT_MS env override (only honored above the default, capped at 30 min); the three apply-lane jobs in sweep.yml set 900000. Review publishers keep the fail-fast default and queue-retry semantics.

Composes with #724/#727 writer coordination. Build/lint/format green; autoreview clean (0.94).

@steipete
steipete requested a review from a team as a code owner July 21, 2026 00:50
@steipete
steipete merged commit 3c45975 into main Jul 21, 2026
9 checks passed
@steipete
steipete deleted the fix/apply-lease-acquire-budget branch July 21, 2026 01:04
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