Repository navigation
fix: keep plugin state available when a write is refused - #190320
Merged
Merged
Conversation
Preserve the broker-certified no-entry outcome through admission finish observers without overriding native receipts. Keep cron and session-upstream publication on the canonical observer path. Add 142 regression-test lines for pre-dispatch refusal, native receipt precedence, and real publication consumers. Formatting and independent P0-P2 static review pass; execution proof is pending hosted CI because the approved remote launcher rejects a stale dependency donor.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
vincentkoc
marked this pull request as ready for review
November 1, 2026 12:35
vincentkoc
enabled auto-merge (squash)
November 1, 2026 12:53
vincentkoc
deleted the
fix/plugin-state-unstarted-publication-20261101
branch
November 1, 2026 12:59
Member
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 2, 2026
…0320) Preserve the broker-certified no-entry outcome through admission finish observers without overriding native receipts. Keep cron and session-upstream publication on the canonical observer path. Add 142 regression-test lines for pre-dispatch refusal, native receipt precedence, and real publication consumers. Formatting and independent P0-P2 static review pass; execution proof is pending hosted CI because the approved remote launcher rejects a stale dependency donor.
maplel
pushed a commit
to maplel/openclaw
that referenced
this pull request
Nov 24, 2026
…0320) Backport the bounded runtime fix for LOCAL11.8; preserve unrelated baseline behavior. Release adaptation: retain release owner layout and omit unrelated source refactoring. Focused regression and touched-file checks recorded in the private lane manifest. (cherry picked from commit f79a4e6) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit b7b1e13f74eb34b4aac28fd0ba952d427eb48ae2)
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.
What Problem This Solves
Fixes plugin state becoming unavailable after a write loses its owner before the database worker receives it. A refused write could invalidate prepared readers and make later operations fail despite leaving stored data untouched.
User Impact
A write rejected before dispatch preserves the previously published state. Writes with an unknown native outcome still invalidate it. No configuration changes or migration are required.
Why This Change Was Made
The broker retains publication admission before its final owner check. If that check fails, the broker knows the operation never entered the worker, but finish observers previously received no native settlement and classified it as unknown. Pass that no-entry fact through admission finish, drain queued native evidence first, and publish confirmed no-effect settlement only when no native evidence exists. The operation still rejects with its original error.
Cron approval and session-upstream publication now use the shared finish observer so they preserve the same signal. Existing receipt-required policies in other publication domains are unchanged. Production delta: +8 lines. The new no-effect classification lives with the existing settlement owner, preserving the admission module limit and its empty-cleanup contract.
Evidence
9cbeeff4922ad1c9461dd27dadbb0e8925ad50e7. This covers the real broker refusal, prepared plugin-state readers, native receipt precedence, finish/error ordering, and cron/upstream readers. Testbox run.Native binding committed state is unavailable. The reviewed source bytes were restored. This is a mutation check, not a full parent-revision replay.