Skip to content

fix: align manual cron coverage with accepted after-turn runs - #188704

Merged
shakkernerd merged 1 commit into
mainfrom
ci-cron-manual-admission-fixtures
Oct 30, 2026
Merged

shakkernerd merged 1 commit into
mainfrom
ci-cron-manual-admission-fixtures

Conversation

@shakkernerd

@shakkernerd shakkernerd commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

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 9e8a058de8afcdaf03f5774979e7d2e494b80a1c reported 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 base 6f39e23d920a7fd8a234bda419705edb13e1e456.

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:

Complete batch Result Wall time
Two changed owners 18 passed 71.95 s
Five admission, event-ingress, scheduled-authority and cleanup owners 49 passed 93.24 s
Real isolated Gateway after-turn E2E 1 passed 352.45 s, including native build preparation

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-clean for 6f39e23d → f6f66a914faf23380758c9a86104de97d88c218d. Independent calibrated engineering review is clean for this head. Hosted CI is tracked by the exact-head run.

@shakkernerd shakkernerd self-assigned this Oct 30, 2026
@clawsweeper

clawsweeper Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS labels Oct 30, 2026
@shakkernerd
shakkernerd merged commit 4fba134 into main Oct 30, 2026
112 checks passed
@shakkernerd
shakkernerd deleted the ci-cron-manual-admission-fixtures branch October 30, 2026 21:24
@shakkernerd

Copy link
Copy Markdown
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant