Repository navigation
fix(ci): check recovery against the admitted run policy - #201713
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
vincentkoc
enabled auto-merge (squash)
November 19, 2026 08:26
vincentkoc
deleted the
fix/operator-recovery-admission-tests-20261119
branch
November 19, 2026 08:33
Member
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 20, 2026
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
Four recovery cases fail on both Node and Bun because they still expect a role or device change to cancel work already admitted. The policy established in #201334 and #201377 deliberately preserves that work and rechecks authority at the next start.
User Impact
No runtime behavior changes. CI checks the existing admission policy while retaining coverage that revoked authority cannot start new work.
Why This Change Was Made
Update the existing member-role and retained-continuation cases to check both sides of the contract: admitted work remains valid, and fresh recovery or continuation admission is refused. The continuation case first admits a child after the original occurrence retires, so the later refusal cannot pass merely because the original occurrence ended. Member-role cases also verify that release still invalidates the admitted authorities.
Production +0/-0; tests +33/-5. Existing fixtures and cases are reused; no new compatibility path or policy owner is introduced.
Related: #199959
Evidence
8db39f34886f082ead5a84183d359d9535eb15b7through head37d9dabead4ab90085d0b2280906cbead9e8dfa4: complete, no correctness or security findings. Fresh independent source review also found no actionable issues. Neither review executes tests; the runtime proof gap remains.git diff --check: passed.