Repository navigation
fix(ci): stabilize spawn, cron, and automation checks - #148769
Conversation
|
🦞👀 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. |
|
Codex review: needs maintainer review before merge. Reviewed September 15, 2026, 11:13 AM ET / 15:13 UTC (Revision 12). ClawSweeper reviewWhat this changesThe PR improves spawn-test cleanup, verifies overdue cron state, corrects browser-test assertions, and loads existing Claude helpers through a lightweight private package entrypoint. Merge readiness✅ Ready for maintainer review Keep open: meaningful fixture and import-boundary repairs remain absent from main. No actionable introduced defect was found, and the earlier secrets-shard finding is resolved. The member-authored, protected PR is also ineligible for automatic closure. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s validation suites exercise agent spawning, scheduled jobs, and browser interactions against their runtime owners. The Claude helper boundary supplies model policy to core and plugin SDK callers without needing the broader validation module. flowchart TD
A[Validation fixtures] --> B[Gateway and scheduler]
B --> C[Execution and stored state]
C --> D[Assertions and cleanup]
E[Core and SDK callers] --> F[Lightweight Claude helpers]
F --> B
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +1, Tests +118, Config +6, Other +1. Total +126 across 13 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Retain the existing runtime contracts while using explicit fixture ownership, state-aware browser assertions, and the single lightweight Claude helper owner. Do we have a high-confidence way to reproduce the issue? No high-confidence reproduction of the hosted timeout was established in this read-only review; source supports the fixture repairs, while the body reports that the unmodified local delegation cases also passed. Is this the best way to solve the issue? Yes: the changes preserve behavioral assertions and deadlines while correcting ownership and selectors, and reuse existing Claude helpers instead of duplicating policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0fc638865c36. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (11 earlier review cycles; latest 8 shown)
|
Adopt the configured-owner fixture repair from #148769 (508ad6e). Preserve the actual non-owner denial boundary, unchanged job and run state, creator policy, and Control UI management lifecycle. Keep session_status available in the fixture so a non-owner reaches the provider after owner-only automations are removed. Co-authored-by: Vincent Koc <[email protected]>
* fix(update): stop stuck spinners and show unverified identity Release CLI progress resources even when the final run-history read fails. Use the report owner's identity classification for version badges, so missing evidence is unverified while observed version/build mismatches still fail. Keep updater execution and recorded outcomes unchanged. Remove copied test translations, redundant coverage and guards, unnecessary type assertions, and comment repetition. Preserve real localization, connection ownership, recovery, and receipt contracts. Validation: both regressions fail before and pass after; 202 selected tests pass with current pinned dependencies; independent P2 review is clean. Synthetic before/after UI proof makes no update requests. Related: #147993, #147553. * test(update): record installed version in coalesced restart fixture * fix(models): await saved API key configuration Wait for the existing Gateway configuration application receipt before refreshing saved credentials. Preserve reload policy, concurrent credential guards, and saved-but-unconfirmed warnings in the CLI and Models RPC. * ci: keep combined test partitions within capacity Return heartbeat test roots to infrastructure after independent main-branch rebalances jointly overfilled services. Preserve all 10,601 canonical roots, graph limits and runtime routing. * test(qa): align automation management ownership proof Adopt the configured-owner fixture repair from #148769 (508ad6e). Preserve the actual non-owner denial boundary, unchanged job and run state, creator policy, and Control UI management lifecycle. Keep session_status available in the fixture so a non-owner reaches the provider after owner-only automations are removed. Co-authored-by: Vincent Koc <[email protected]> --------- Co-authored-by: Vincent Koc <[email protected]>
Merge current main to retain the canonical secrets typecheck ownership and auth/image fixture repairs. Align Control UI assertions with the existing Check again action, setup heading, provider label, and trimmed error text. Preserve all behavior assertions, deadlines, browser access checks, and Vincent Koc contributor ancestry. Browser source remains unchanged.
(cherry picked from commit e6fa9fa)
|
Merged via squash.
|
* fix(update): stop stuck spinners and show unverified identity Release CLI progress resources even when the final run-history read fails. Use the report owner's identity classification for version badges, so missing evidence is unverified while observed version/build mismatches still fail. Keep updater execution and recorded outcomes unchanged. Remove copied test translations, redundant coverage and guards, unnecessary type assertions, and comment repetition. Preserve real localization, connection ownership, recovery, and receipt contracts. Validation: both regressions fail before and pass after; 202 selected tests pass with current pinned dependencies; independent P2 review is clean. Synthetic before/after UI proof makes no update requests. Related: openclaw#147993, openclaw#147553. * test(update): record installed version in coalesced restart fixture * fix(models): await saved API key configuration Wait for the existing Gateway configuration application receipt before refreshing saved credentials. Preserve reload policy, concurrent credential guards, and saved-but-unconfirmed warnings in the CLI and Models RPC. * ci: keep combined test partitions within capacity Return heartbeat test roots to infrastructure after independent main-branch rebalances jointly overfilled services. Preserve all 10,601 canonical roots, graph limits and runtime routing. * test(qa): align automation management ownership proof Adopt the configured-owner fixture repair from openclaw#148769 (508ad6e). Preserve the actual non-owner denial boundary, unchanged job and run state, creator policy, and Control UI management lifecycle. Keep session_status available in the fixture so a non-owner reaches the provider after owner-only automations are removed. Co-authored-by: Vincent Koc <[email protected]> --------- Co-authored-by: Vincent Koc <[email protected]>
* fix(ci): preserve spawn fixture ownership and failures * test(qa): align automation owner fixture * test(cron): isolate due-job scheduling assertion * fix: restore Copilot credential-only login choices * test(ui): distinguish provider readiness from profile authentication * test(agents): supply runtime auth store in thinking fixture (cherry picked from commit e6fa9fa) * test(ui): match progressive provider availability status * test(qa): preserve expanded delegation result disclosures --------- Co-authored-by: Jason (Json) <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
Stabilizes recursive-spawn and cron checks without changing their deadlines, and avoids loading the broad Claude runtime barrel at the existing helper boundary.
User Impact
No intended user-visible behavior or authorization-policy change. Restores the existing Copilot credential-only login metadata lost when overlapping main cleanups combined.
Changes
e6fa9fa03a), preserving its author and existing assertions.Preserves @vincentkoc's fixture ownership and CI work, @fuller-stack-dev's Claude import repair, and @steipete's canonical Copilot restoration. Main's shard ownership, auth/model fixes, automation fixture repair, and UI assertion corrections are retained rather than duplicated.
Evidence
Historical automation proof used real Gateway/browser/storage with synthetic local Bot API and Responses endpoints, not live-account Telegram proof. Earlier failed or invalid qualification attempts remain retained separately and are not counted as passes.