Repository navigation
fix(release): drain shared-state leases before retirement - #188778
Merged
RomneyDa merged 2 commits intoOct 30, 2026
Merged
Conversation
Adapt merged main PR #188496 to the frozen stable broker API. Cancel disposable snapshot reads, fence fresh broker admission, and let canonical shared-state cleanup release accepted leases before retiring actor bindings. (cherry picked from commit 83064b3) Co-authored-by: RomneyDa <[email protected]>
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Co-authored-by: RomneyDa <[email protected]>
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.
Summary
Backport the production ownership repair from merged main #188496, adapted to the frozen stable broker API.
The Matrix FRV lane runs multiple isolated gateway scenarios concurrently. One scenario closing its process-wide SQLite broker could retire shared-state actors while a sibling was staging its isolated auth store, producing repeated
auth profile store update failed: This operation was abortedfailures. The same cleanup contention left E2EE scenario flows timing out.This repair cancels disposable snapshot reads, fences fresh broker admission, and lets canonical shared-state cleanup release accepted leases before retiring actor bindings. Persisted formats and deadlines are unchanged.
Proof
src/state/openclaw-state.worker.settlement.test.tsandsrc/infra/sqlite-readonly-worker.test.ts, 2 files / 29 tests passed.git diff --checkpassed.Release impact
This changes C=Q and supersedes the prior candidate after merge. A fresh stable/all/soak FRV is required before publication.