Skip to content

fix(state): roll back saturated immutable canary - #585

Merged
joshavant merged 1 commit into
mainfrom
codex/rollback-immutable-ledger-canary
Jul 14, 2026
Merged

joshavant merged 1 commit into
mainfrom
codex/rollback-immutable-ledger-canary

Conversation

@joshavant

Copy link
Copy Markdown
Contributor

Summary

  • return GitHub activity ledger publication and receipt replay to exclusive state publication
  • keep the repair-native immutable publisher available, but do not expand it to exact reviews
  • document the live canary outcome and lock the workflow expectation to the exclusive path

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 format
  • pnpm run check:active-surface
  • pnpm run check:limits
  • pnpm run build:repair
  • node --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.

@joshavant
joshavant requested a review from a team as a code owner July 14, 2026 22:53
@vincentkoc

Copy link
Copy Markdown
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.

@vincentkoc vincentkoc closed this Jul 14, 2026
@joshavant joshavant reopened this Jul 14, 2026
@joshavant
joshavant merged commit 6248fba into main Jul 14, 2026
14 checks passed
@joshavant
joshavant deleted the codex/rollback-immutable-ledger-canary branch July 14, 2026 23:07
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.

2 participants