Repository navigation
refactor(test): derive changed tooling routes - #117407
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 11:23 AM ET / 15:23 UTC. ClawSweeper reviewWhat this changesThe branch replaces much of the changed-test router’s hand-maintained tooling ownership inventory with conventional test-name discovery, direct import/reference discovery, and a smaller set of explicit exceptions. Merge readinessThis PR remains necessary: current Priority: P3 Review scores
Verification
How this fits togetherChanged-file CI feeds modified repository paths into the changed-test router, which selects focused Vitest targets or deliberately falls back to broader validation. This PR changes the tooling-path ownership stage, affecting which regression tests CI runs for scripts, workflows, package hooks, and related helper files. flowchart LR
A[Changed repository paths] --> B[Changed-test router]
B --> C[Explicit exceptional owners]
B --> D[Conventional test discovery]
B --> E[Direct reference discovery]
C --> F[Ordered focused test targets]
D --> F
E --> F
F --> G[Changed-file CI validation]
Before merge
Agent review detailsSecurityNone. PR surfaceOther -437. Total -437 across 1 file. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase or refresh the branch onto current Do we have a high-confidence way to reproduce the issue? Not applicable: this PR refactors internal changed-test routing rather than repairing a user-reported runtime failure. The relevant behavioral contract is covered by route-selection tests and the reported Testbox parity comparison. Is this the best way to solve the issue? Yes, provisionally: deriving unambiguous ownership from test names and direct references removes duplicated inventory while retaining named exceptions for ambiguous paths. A current-base parity refresh is the safer final proof because current main has advanced beyond the PR base. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9e43844264a7. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
da128e5 to
084622c
Compare
084622c to
d36f121
Compare
|
Merged via squash.
|
* origin/main: (44 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
* origin/main: (41 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
* origin/main: (44 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
* origin/main: (27 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
* origin/main: (41 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
Summary
1,136additions,1,573deletions); no packed tables or newly introduced lines over 120 charactersWhy
The changed-test router encoded the same ownership facts in large hand-maintained maps even when test names and direct imports already described those relationships. That made new scripts and workflows require manual routing entries and let the inventory drift away from the code it represented.
This keeps one discovery path for conventional ownership while preserving readable explicit exceptions where filenames or shared helpers cannot identify a single safe owner. Repeated owner names and the shared plugin SDK contract family are factored once instead of compressing data onto oversized physical lines.
Impact
Changed-file CI remains equally selective for all existing routes, while new conventionally named scripts and direct tooling imports can resolve without growing the ownership matrix.
Validation
node --check scripts/test-projects.test-support.mjsgit diff --checknode scripts/run-vitest.mjs test/scripts/test-projects.test.ts --reporter=dot— 260 passed (Testbox run)main— 411 paths, zero missing or reordered routes, 967 selected targets before and after; includes newly landed docs/package scripts, declarations, workflows, and full-tooling postpack coveragenode scripts/check-changed.mjs -- scripts/test-projects.test-support.mjs— passed (Testbox run)gpt-5.6-sol, xhigh) — clean, no accepted/actionable findings