Repository navigation
fix(ci): validate admitted cron command lifetime - #201724
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 08:42
vincentkoc
enabled auto-merge (squash)
November 19, 2026 08:45
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
The cron command source test expects removing an OCID device to terminate a command that was already admitted. The captured-admission policy in #201377 intentionally lets that work finish and rechecks policy for fresh execution. The old test waits for the command timeout under both Node and Bun.
User Impact
No production behavior changes. The test now checks successful completion of admitted work and rejection of a later run after device removal.
Why This Change Was Made
Replace the infinite child timer with a real child that waits on a file event. It installs its watcher before publishing the started marker. The parent removes the device, releases the child, and requires successful completion plus its output. The existing fresh-run refusal must preserve that output unchanged.
Production +0/-0; tests +12/-7. No new polling, timeout relaxation, mocks, or runtime policy owner.
Related: #199959
Evidence
89e63e0cdf96313f2b08af67bf85c1ac29647851..47e3d30d199d80c540832081d6a882bdc66fff7ewith no correctness or security findings.git diff --checkpassed.