Repository navigation
fix: align manual cron coverage with accepted after-turn runs - #188704
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Author
|
Fixed: cron fixtures and documentation now reflect accepted manual runs continuing after their requesting turn ends. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 31, 2026
…law#188704) Align manual cron fixtures and documentation with durable enqueue authority while retaining cleanup and eligibility controls. Refs openclaw#188513.
RomneyDa
added a commit
that referenced
this pull request
Oct 31, 2026
Align manual cron fixtures and documentation with durable enqueue authority while retaining cleanup and eligibility controls. Refs #188513. (cherry picked from commit 4fba134) 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.
Related: #188513.
What Problem This Solves
Cron CI still expects an accepted manual run to be cancelled when its requesting turn ends or loses caller authority. #188513 intentionally lets that run start afterward under the scheduled job's authority, so these expectations reject the working handoff.
User Impact
This aligns the tests and canonical documentation with the existing run-now contract. A request must be authorized through durable enqueue; an accepted run can outlive its requester. Job disable/delete, scheduler retirement, and the job's current authority still constrain execution. Product behavior and public interfaces are unchanged.
Why This Change Was Made
The two existing owners cover the same boundary through the in-process Gateway router and a native agent attempt. Their post-acceptance abort and revocation cases now require one successful payload, while preserving stop and unaccepted-request controls. Caller cleanup must finish before the held payload is released, with exact cleanup reasons and permission-generation rotation assertions intact.
The automation and harness documentation distinguish durable manual admission from event-ingress transfer and on-exit source custody. Resource retention still grants no permission.
Evidence
The original Linux/Bun CI job at
9e8a058de8afcdaf03f5774979e7d2e494b80a1creported eight failures: these cases expected a skipped result after acceptance and received success. The fixtures and causal admission/launch inputs are unchanged at the repair base6f39e23d920a7fd8a234bda419705edb13e1e456.The exact candidate tree passed ordered formatting/lint, whitespace and affected Cron test types on Linux/x64, Node 24.22.1, pnpm 12.15.0 and the pinned Bun revision
191755ec115ece3dd642eba3cb0143cecb5e5d7a:All 68 cases across eight files executed with no failures or skips. The single E2E case exercises both enabled execution with the final transcript and disable-before-launch with exactly one skipped notice. Batch timings come from the unchanged reporter; no individual-file timing is claimed.
Installed AutoReview (Codex, GPT-6.1 Sol/high, P0–P3) is
scoped-cleanfor6f39e23d→f6f66a914faf23380758c9a86104de97d88c218d. Independent calibrated engineering review is clean for this head. Hosted CI is tracked by the exact-head run.