Repository navigation
fix(ci): include CLI invocation in focused boundary checks - #173663
Conversation
The bootstrap-safe cli-invocation.mjs added by #173154 was missing from both focused guard aliases. Include it at the package-script owner so the existing root-executable coverage regression passes and the new bootstrap owner receives the same guards as the other root entrypoints. Focused tooling proof: 30/30 across the boundary and type-shard files; the separately landed avatar reference repair is 35039a4. The actual focused boundary command and targeted tooling/UI-component types pass. Independent P2 review is clean. Coverage assertions and runtime behavior are unchanged.
|
🦞👀 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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesAdds cli-invocation.mjs to both focused boundary-check package scripts. Example: CI checks root JavaScript coverage after cli-invocation.mjs is added.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it repairs a current-main coverage omission without weakening the guards or changing runtime behavior. No introduced defect was found; the failing CI gate still needs classification. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherPackage scripts supply source paths to the existing Oxlint boundary runner, which reports violations to the CI boundary-check lane. flowchart LR
A[CI boundary lane] --> B[Package script]
B --> C[Oxlint runner]
D[Root JavaScript files] --> C
E[Boundary rules] --> C
C --> F[Diagnostics and exit status]
Technical reviewBest possible solution: Land the narrow script repair once the existing CI gate is resolved or its failure is handled through the repository’s supported exception path. Do we have a high-confidence way to reproduce the issue? Source inspection establishes the failure: the coverage test includes every root JavaScript file, while current-main command arguments omit cli-invocation.mjs; no target code was executed during this read-only review. Is this the best way to solve the issue? This is the smallest complete repair at the package-script owner and follows the previously established launcher-coverage approach. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 387ebd69dfd3. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceConfig 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 15, 2026, 10:50 PM ET / October 16, 2026, 02:50 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…173663) The bootstrap-safe cli-invocation.mjs added by openclaw#173154 was missing from both focused guard aliases. Include it at the package-script owner so the existing root-executable coverage regression passes and the new bootstrap owner receives the same guards as the other root entrypoints. Focused tooling proof: 30/30 across the boundary and type-shard files; the separately landed avatar reference repair is 06249c0. The actual focused boundary command and targeted tooling/UI-component types pass. Independent P2 review is clean. Coverage assertions and runtime behavior are unchanged.
What Problem This Solves
Fixes: CI's root-executable coverage check fails after the new CLI bootstrap module lands.
User Impact
There is no user-visible change. CI applies the existing focused boundary guards to the new bootstrap owner.
Why This Change Was Made
The bootstrap-safe
cli-invocation.mjsadded by #173154 was omitted from both focused boundary-guard aliases. Add it at the package-script owner, keeping the aliases identical and retaining every assertion. Runtime and rendered output are unchanged.Evidence
The two affected tooling files pass 30/30 tests with
--maxWorkers=1after reproducing both main failures. The actual focused boundary command and targeted tooling/UI-component type graphs pass. Isolated P2 review is clean. The separate avatar-reference failure is already fixed by main commit35039a47e23f; that exact hunk was dropped from this change. The retained package patch and boundary proof inputs are unchanged across rebases.This CI-only fix uses the PR fallback after four direct pushes raced other main updates. No workflow was dispatched or manually rerun. Release-note context: restore CI guard coverage for the CLI bootstrap; no product behavior change.
Exact-head CI run 38841030186 has two inherited Codex router failures:
turn-router-lifecycle.test.ts(exact terminal receipt after physical closure) andturn-router.test.ts(concurrent traffic routing), both missing the expectedcompletedTurn.itemsView: full. The same files reproduce locally with 37 passed / 2 failed. CI's actual baseline and tested merge have identical Codex, runtime, SDK, runner, and fixture trees; the complete merge delta is the two lint aliases. These failures remain unresolved and are recorded for native inherited-failure admission; failed CI is not claimed green.