Repository navigation
chore(test): remove redundant extension boundary wrapper - #116385
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 7:33 AM ET / 11:33 UTC. ClawSweeper reviewWhat this changesThis PR deletes Merge readinessKeep this PR open for maintainer handling: it is a narrow cleanup that removes an opt-in wrapper whose duplicate boundary check remains directly exercised by CI, and the submitted deletion introduces no concrete correctness or security defect. Likely related people: vincentkoc is the current cleanup contributor and assigned routing contact (low confidence for longer-term ownership). Priority: P3 Review scores
Verification
How this fits togetherBundled extension packages opt into a TypeScript package-boundary contract. The standalone checker compiles those packages and runs a root-directory canary; CI invokes that checker directly, while the deleted wrapper only repeated it when a special environment variable was set. flowchart LR
A[Bundled extensions] --> B[Package boundary configuration]
B --> C[Boundary checker]
C --> D[Compile and canary checks]
D --> E[Dedicated CI boundary job]
F[Opt-in Vitest wrapper] -. redundant duplicate .-> C
Before merge
Agent review detailsSecurityNone. PR surfaceTests -38. Total -38 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Land the focused deletion if the maintainer agrees the dedicated direct checker is the sole canonical integration path, preserving the standalone checker and its focused tests. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR removes a dormant test wrapper rather than fixing a user-observable runtime failure; the relevant verification is direct execution of the retained boundary-check path. Is this the best way to solve the issue? Yes. Removing the permanently opt-in duplicate wrapper is the narrowest maintainable cleanup because the standalone checker and dedicated CI invocation remain intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against dac0ef6f0ecb. 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.
|
* origin/main: (99 commits) docs(automation): rename scheduled-tasks feature wording to Automations (#114855) feat(ui): finish cron -> Automations rename in visible strings (#114853) feat(cli): add openclaw automations alias and reword cron display prose (#114854) feat(agents): rename scheduler agent tool cron -> automations (#114841) fix(tui): preserve session state across switches and reconnects (#116399) feat(agents): report CLI command outcomes in channel progress fix(cli): preserve explicit option intent (#116389) fix(release): trust update restart harness (#116301) test(reef): remove false-green live guard smoke (#116393) test(comfy): evaluate live guards after setup (#116388) fix(heartbeat): serialize wake lifecycle state (#116351) test: remove redundant extension boundary wrapper (#116385) fix(test): bound Testbox agentic and extension suites (#115696) fix(ui): show the correct Threads page size (#116349) test(discord): align progress timing expectations (#116377) feat(ui): add composable skill references (#116330) fix(qa): prevent Slack cleanup from stalling profile runs (#116361) fix(ci): validate frozen release candidates faithfully (#116357) improve(ci): fail_fast option for release validation, off by default (#116352) fix(agents): compare shell tool names case-insensitively and stop re-parsing tool labels ...
What Problem This Solves
Removes a root Vitest wrapper that reports a green shard while executing no assertions in normal local or CI runs. The canonical extension package boundary checks already run directly through dedicated CI, package scripts, and release validation.
Why This Change Was Made
The wrapper was made opt-in to avoid duplicating the cold package-boundary compile, but its
OPENCLAW_RUN_EXTENSION_PACKAGE_BOUNDARY_TESTflag has no caller. Deleting it removes two permanent skips without changing the checker, its focused unit coverage, or any direct invocation path.User Impact
No product behavior changes. Maintainers get a more honest test inventory and avoid carrying a permanently skipped duplicate wrapper.
Evidence
node scripts/run-vitest.mjs test/scripts/check-extension-package-tsc-boundary.test.ts: 22/22 passed.node scripts/run-vitest.mjs test/scripts/test-projects.test.ts: 258/258 passed.OPENCLAW_RUN_EXTENSION_PACKAGE_BOUNDARY_TEST.git diff --checkpasses.