Repository navigation
fix(state): roll back saturated immutable canary - #585
Merged
Merged
Conversation
Member
|
Thanks @joshavant — the saturated immutable-canary diagnosis and live evidence here are correct and useful. The canonical recovery at #586 has to go broader: it removes the immutable publisher and replay stack itself because those components were introduced by the runaway July 14 campaign, so this narrower branch cannot land independently without preserving the originating failure surface. Closing as superseded while retaining this PR as the evidence record. |
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
Live evidence
Two production publishers on the old 90-second budget lost four consecutive state races and failed. After #583 raised the immutable budget to 180 seconds and 128 attempts, a manual replay of the still-missing durable receipt bundle lost nine consecutive races and failed after 191 seconds / 286 git processes. The state branch advanced every few seconds while each immutable rebuild took roughly 17-19 seconds, so another deadline increase would consume runner time without creating a credible CAS window.
Failed post-merge canary: https://github.com/openclaw/clawsweeper/actions/runs/29374066539
Exact-review immutable publication was never enabled. No receipt is dropped: the source artifact remains eligible for the existing replay workflow, and will be replayed after this rollback reaches main.
Validation
pnpm run formatpnpm run check:active-surfacepnpm run check:limitspnpm run build:repairnode --test test/repair/dispatch-action-receipts.test.ts dist/repair/action-event-publisher.test.js(26/26)This PR is a single standalone commit directly on current
main; it does not depend on another open PR.