Repository navigation
fix(test): distinguish close admission fencing from scheduler retirement - #197213
Merged
Merged
Conversation
Preserve #196923 admission-first restart custody. Assert request entry closes while scheduler authority is fenced, then assert scheduler retirement after accepted fork and rewind finish. Keep persistence and late-request refusal checks; three affected tests pass. Co-authored-by: steipete <[email protected]> Co-authored-by: obviyus <[email protected]>
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. |
roboclaw-bot
enabled auto-merge (squash)
November 11, 2026 12:45
Collaborator
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 12, 2026
…ent (openclaw#197213) Preserve openclaw#196923 admission-first restart custody. Assert request entry closes while scheduler authority is fenced, then assert scheduler retirement after accepted fork and rewind finish. Keep persistence and late-request refusal checks; three affected tests pass. Co-authored-by: obviyus <[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
Fixes the accepted fork/rewind close regression test confusing admission closure with later scheduler authority retirement.
User Impact
No user-visible change. Preserve #196923’s admission-first restart custody and accepted persistence behavior.
Why This Change Was Made
#196923 intentionally changed the early scheduler action from beginClose to fence: admission and wakeups stop first, while authority is retired after restart custody recording. The fixture waits for request-entry closure, not completed shutdown. Assert both phase-specific signals at that boundary, then require scheduler retirement after finishing accepted work. Keep late-request refusal and every persisted fork/rewind assertion.
Contributor credit: Peter Steinberger and Ayaan (obviyus).
Work sessions
Linked for team reference; these sessions aren’t public.
Evidence