Repository navigation
style(ci): format ci-changed-scope test - #150330
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. |
|
#147903 exact-head CI reproduces the same unrelated-main formatting failure in I inspected |
|
Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 6:07 PM ET / 22:07 UTC. ClawSweeper reviewWhat this changesJoins two wrapped conditions in the CI scope-selection test so repository formatting checks pass without changing test behavior. Merge readiness✅ Ready for maintainer review Keep open: this remains a useful, narrowly scoped formatting repair on the pinned main revision. No correctness findings or additional contributor actions are needed. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s CI scope selector turns changed repository paths into decisions about which test lanes run. This PR formats assertions that verify those decisions. flowchart LR
A[Changed repository paths] --> B[CI scope selector]
B --> C[Selected test lanes]
C --> D[Scope regression assertions]
D --> E[Repository formatting check]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -2. Total -2 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Preserve the existing CI routing assertions and apply the repository formatter’s minimal line wrapping. Do we have a high-confidence way to reproduce the issue? Not applicable to runtime behavior: this is formatting cleanup, supported by the supplied failing and passing formatter output. Is this the best way to solve the issue? Yes: changing only the formatter-rejected line wrapping is the narrowest repair and preserves the existing assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d74b4a2a5531. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Restore the exact 95 npm and 91 ClawHub expectations after #149587 counted three plugins whose bundled publication remains intentionally deferred by #150316. Preserve the publisher set comparisons, four core package identities, and the existing OpenCode Go deferral. Apply the canonical #150330 formatting correction as well. No runtime, manifest, publication policy, or registry eligibility changes. Validation: reproduce the original 98-versus-95 failure, then pass all 231 producer/npm/ClawHub cases, selected changed checks, and focused review.
Apply the repository formatter to the two test conditions left unformatted by openclaw#135276 (18dcf28), which broke check-docs formatting checks on unrelated PRs openclaw#150306 and openclaw#150312. This changes line wrapping only.
… install (#144053) Closes #144001 ## What Problem This Solves macOS Gateway reinstall fails when `OPENCLAW_WRAPPER` points to OpenClaw's generated environment launcher. ## User Impact Reinstall restores the runtime and Gateway entrypoint instead of nesting the launcher. Genuine custom wrappers still work. ## Why This Change Was Made The shared install planner rejects generated launchers before selecting runtime arguments and environment. This setting has one writer. Production code shrinks by eight lines. ## Evidence On isolated macOS services, `gateway install --force --runtime node --wrapper "$launcher"` produced duplicate arguments, exit 2 and no health before the fix; afterward, health returned 200. Persisted-input and repeat reinstall, fresh install, a genuine custom wrapper, authentication and environment retention passed. The unmodified published 2026.9.3 updater completed with a normal runtime definition plus the invalid persisted wrapper value. The installed candidate answered health and authenticated status. An already-recursive definition is unidentifiable to that old updater; direct candidate reinstall is the proven recovery. No package was published. The installer patch is unchanged from these native observations at `cebb120f`. ## Compatibility Windows generated-script rejection is unchanged. No new configuration or migration. ## Consumers Install, startup repair, Doctor and setup share the planner. ## Invalidation Existing service owners regenerate arguments and environment. ## Tests Registered-command cases fail on the original main implementation. After integrating main, 657 installer/update tests and 600 current catalog/release/inventory tests pass. Full build, type-aware preflight, formatting, both line limits, unused-file/export and architecture checks pass. Earlier CI run 35153572691 failed; the exact formatting repair from #150330 is included. New hosted checks must complete. Co-authored-by: Ayaan Zaidi <[email protected]>
… install (openclaw#144053) Closes openclaw#144001 ## What Problem This Solves macOS Gateway reinstall fails when `OPENCLAW_WRAPPER` points to OpenClaw's generated environment launcher. ## User Impact Reinstall restores the runtime and Gateway entrypoint instead of nesting the launcher. Genuine custom wrappers still work. ## Why This Change Was Made The shared install planner rejects generated launchers before selecting runtime arguments and environment. This setting has one writer. Production code shrinks by eight lines. ## Evidence On isolated macOS services, `gateway install --force --runtime node --wrapper "$launcher"` produced duplicate arguments, exit 2 and no health before the fix; afterward, health returned 200. Persisted-input and repeat reinstall, fresh install, a genuine custom wrapper, authentication and environment retention passed. The unmodified published 2026.9.3 updater completed with a normal runtime definition plus the invalid persisted wrapper value. The installed candidate answered health and authenticated status. An already-recursive definition is unidentifiable to that old updater; direct candidate reinstall is the proven recovery. No package was published. The installer patch is unchanged from these native observations at `cebb120f`. ## Compatibility Windows generated-script rejection is unchanged. No new configuration or migration. ## Consumers Install, startup repair, Doctor and setup share the planner. ## Invalidation Existing service owners regenerate arguments and environment. ## Tests Registered-command cases fail on the original main implementation. After integrating main, 657 installer/update tests and 600 current catalog/release/inventory tests pass. Full build, type-aware preflight, formatting, both line limits, unused-file/export and architecture checks pass. Earlier CI run 35153572691 failed; the exact formatting repair from openclaw#150330 is included. New hosted checks must complete. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
Fixes red
check-docsformatting checks on unrelated PRs since #135276 (33e8e3c30f49f5490b938b12f65f5d304572c399), including #150306 and #150312.User Impact
No user-visible behavior change. This maintainer-requested repair removes the formatting failure blocking other PRs.
Why This Change Was Made
Run the repository formatter on
src/scripts/ci-changed-scope.test.ts, the source of the failure. The diff only joins two wrapped conditions; whitespace-stripped bytes remain identical. Production LOC: 0. Test LOC: +2/-4.Related: #135276, #150306, #150312.
Evidence
Confirmed on
origin/mainat0a7f64932f13c5067fdf0601ddc44740f2f75416. The workflow's.github/workflows/ci.ymlcheck-docsjob invokespnpm format:check.Before:
After:
node scripts/run-vitest.mjs src/scripts/ci-changed-scope.test.ts: 1 file, 99 tests passed.git diff --check: passed.origin/main, P0/P1:scoped-clean; no accepted/actionable findings.Check formatting: failure).