Repository navigation
fix: stop native resource admission when the broker disconnects - #201106
Merged
Merged
Conversation
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. |
vincentkoc
marked this pull request as ready for review
November 18, 2026 09:33
vincentkoc
enabled auto-merge (squash)
November 18, 2026 09:34
Member
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 19, 2026
RomneyDa
added a commit
that referenced
this pull request
Nov 19, 2026
) (cherry picked from commit adbb158) Co-authored-by: RomneyDa <[email protected]>
github-actions Bot
pushed a commit
to clawhaven/openclaw
that referenced
this pull request
Nov 23, 2026
…claw#201106) (cherry picked from commit adbb158) Release adaptation: Add immediate resource admission seal at existing host failure boundary; adapt regression to baseline matrix and observe synchronous disconnect admission. Omit unrelated upstream request binding cleanup absent from baseline. 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.
What Problem This Solves
A disconnected native-resource broker can briefly accept new resource claims while its asynchronous failure diagnosis is still pending. A new retained-worker source can therefore reuse an already retired broker.
User Impact
New resource claims are rejected immediately after broker transport failure. Existing native-resource custody, close receipts, and detailed failure diagnosis are preserved.
Why This Change Was Made
The resource-claim owner now closes admission synchronously using its existing sealed state. Error publication still follows the existing asynchronous diagnosis path. The regression extends the existing transport-retirement fixture and checks both the public admission state and an actual capture attempt before awaiting failure notification.
This gap was found while investigating the retained-broker failure in scheduled CI. The full Linux lifecycle file also passed unchanged, so this PR does not claim to establish the cause of that complete CI failure.
Evidence
1fc5296c→f2aab327: no actionable findings (0.94 confidence).