Repository navigation
fix(test): preserve admitted Gateway work after role changes - #201744
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
vincentkoc
marked this pull request as ready for review
November 19, 2026 09:10
vincentkoc
enabled auto-merge (squash)
November 19, 2026 09:12
Member
Author
|
Merged via squash auto-merge.
|
RomneyDa
added a commit
that referenced
this pull request
Nov 20, 2026
Bounded beta2 FRV repair; preserve the existing runtime contract and original failure assertions. Combined qualification follows integration. Selected source hunks only; unrelated source changes excluded. (cherry picked from commit fd933a3) Co-authored-by: RomneyDa <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 20, 2026
This was referenced Nov 23, 2026
Closed
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
Two Gateway tests still expect a role change to cancel already-admitted work, although request authority is intentionally captured at admission.
User Impact
No production behavior changes. The tests distinguish completion of admitted work from rejection of a fresh request after access changes.
Why This Change Was Made
The chat Stop case now releases its held provider, requires the admitted reply to finish, and verifies that the denied Stop caused no cancellation. Profile preparation likewise finishes its admitted callback, then rejects a fresh call before its callback runs. Existing cross-device Stop, exact-source cancellation, profile-binding and caller/plugin/Gateway lifetime checks remain.
Related: #199959
Evidence
git diff --checkpassed. ClawSweeper also passed the final committed range (6e55f5c4d918toc795d89328b0), with no findings and security cleared. Exact-head hosted Node/Bun proof is pending. Local dependencies are unqualified; this draft uses the established hosted proof route.Hosted runtime proof: CI 44493029890, job 135454012366 passed the cross-device Stop product test and all four profile-preparation cases under both Node and Bun. The role-change cases passed alongside caller, plugin and Gateway closure cases. Log SHA-256:
a6f98c30f8b62ad5c1ebbb052a53967a7938bc00a2427ef4b456757ad2276a7c(214855 bytes).