Repository navigation
fix(ci): avoid full tooling runs for single-config selections - #195147
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. What this changesThis PR narrows selected tooling tests to their canonical config while preserving complete mixed-config coverage. Example: CI selects test/scripts/docker-build-helper.test.ts.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this useful maintainer-authored draft open: current main still expands single-config selections to the complete tooling pair, and the focused patch has no actionable correctness or security findings. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe CI planner converts selected test paths into executable shard groups; the shard executor consumes their configs, file includes, environment, and process policies. flowchart LR
A[Changed paths] --> B[Canonical test ownership]
B --> C[Selected shard planner]
C --> D[Single config projection]
C --> E[Complete mixed pair]
D --> F[CI shard executor]
E --> F
Technical reviewBest possible solution: Use the existing projection owner for single-config selections and retain the complete paired owner whenever selected files span both configs. Do we have a high-confidence way to reproduce the issue? Current main's unconditional isWholeToolingPair guard demonstrably retains both complete configs for a canonical single-file selection; the PR reports a matching planner replay, but this read-only review executed no target code. Is this the best way to solve the issue? The patch is the smallest complete fix: reuse existing config resolution, exact-file projection, and timing identity while preserving artifact and mixed-pair boundaries. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3a25991e37c4. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +31, Other +3. Total +34 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
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 November 8, 2026, 4:41 AM ET / 09:41 UTC. |
633e6a2 to
4b1508d
Compare
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…tooling-lint-selection-20261108 * commit 'b0e90e6a4b359fff7756698067fdce4758b1907b': (38 commits) fix(android): Talk button demands a realtime provider on a native Talk setup (#191194) chore: trace first-run Gateway work and verify later replies (#195185) fix(knowledge): keep deleted messages out of reply previews (#195126) fix(agents): preserve streamed replies across Gateway restarts (#195164) perf(ci): reuse SDK transport path boundaries (#195180) fix(sandbox): avoid pauses for unchanged command checkpoints (#195120) fix(test): make retention checks portable across runtimes (#195091) fix(knowledge): clarify temporal kind filters (#194995) improve: reduce Gateway allocation while draining SQLite receipts (#195129) fix: reduce streaming CPU after reply and voice directives (#195145) fix: reduce Markdown reparsing during streamed tool-call checks (#195161) fix: restore the main dead-export gate (#195158) improve(ci): pack small UI selections into fewer jobs (#195107) fix(muse): quota and sign-in failures end with no reply (#195148) fix: allow first release push with shipped patch bytes (#195174) fix(ci): narrow single-config tooling selections (#195147) fix(packaging): reject incompatible prepublish plugin cohorts (#195152) fix(ci): prepare verified Bun before parity checks (#195155) fix: Incognito agent turns stall before execution (#195005) fix: credentialed search and speech providers work without picking a provider (#195169) ...
What Problem This Solves
PRs selecting one isolated tooling or Docker test still execute both complete tooling configs. A one-file selection expands to 18 test files.
User Impact
CI runs the selected files under their existing config and isolation policy. This changes internal CI scheduling only. Full validation and mixed-config fallback coverage remain intact.
Why This Change Was Made
Narrow the existing paired owner only when all selected files resolve to one canonical config. Reuse the existing exact-file projection and timing identity; keep the complete owner for mixed configs, unknown ownership, and build-artifact descriptors. No runner sizing, cancellation, or bail policy changes.
Evidence
4c1101322dcb715cfddf46ef1a8c1146fb61c730: tooling files 18 → 1 (17 fewer; 94.44% of this owner). Total Node jobs 4 → 4; every other job/group identical. Config exclusions are applied consistently, so the denominator is 18, not the 19 raw include entries.4c1101322dcb715cfddf46ef1a8c1146fb61c730..633e6a26f7daab797573f99a0238bde018defe6f: no actionable correctness or security findings.Download recovery integration
Rebased the identical selector patch onto the landed Bun recovery
f89b123d7feeafter ordinary CI 42470587131 hit the old release downloader's repeated HTTP504 failures before Node tests. This is a source update to include the fix, not a retry of the unchanged run. Dependency inputs and touched selector/config/executor sources on the base are unchanged. Earlier 95-test proof remains labeled prior-head; new focused selection/fallback proof and exact-head CI cover the refreshed branch.At refreshed head
4b1508daf1e8, four focused selection/mixed-fallback/QA-companion cases pass (6.65s Vitest / 7.68s wrapper). Stable patch ID is unchanged:2d89fa9bbd2fcbd45cfe2b6f06470fc7e9a039af. Current-head hosted CI is pending.Final CI attribution
Exact-head CI 42471249265 completed all ten selected Node jobs successfully. Its sole failed nonaggregate job was extension lint stripe 3, where two parity subshards failed to stage Bun before checking source. The CI gate failed downstream.
The actual tested merge
24acd936f6b9has ordered parentsf89b123d7feeand this exact PR head4b1508daf1e8. Workflow, parity resolver, and stager sources are byte-identical to the baseline. The preparation repair has now landed in #195155 asea133a4a4d40, with all eight corresponding extension lint subshards passing in normal CI. Landing attribution retains the failed CI result and does not waive independent security or review requirements.The 18→1 file-execution reduction remains a deterministic replay result for the documented single-config input; no new whole-PR runtime or billing saving is claimed.