Repository navigation
[CI] Reduce test teardown and scope server qualification - #27380
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to This change affects CI qualification scoping, test teardown and test fixtures, and does not change production behavior. The earlier concern about platform paths being dropped from qualification has been addressed, and no other merge-blocking risk is evident. Pre-merge checks |
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
3c26f587-ef97-4de5-8613-6d7a8e7b24c3
📒 Files selected for processing (9)
.github/workflows/node-server-tests.ymlconfig/scripts/node-server-change-scope.mjsconfig/scripts/node-server-change-scope.test.mjsconfig/scripts/node-server-qualification.mjsconfig/scripts/vitest-node-runtime-files.mjssrc/relay/agent-status-store-relay-context.test.tstests/e2e/helpers/electron-process-shutdown.tstests/e2e/helpers/electron-process-shutdown.unit.test.tstests/e2e/project-group-creation-visibility.spec.ts
💤 Files with no reviewable changes (1)
- src/relay/agent-status-store-relay-context.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
ELI5
Tests stop waiting once their own daemons have exited and prepare independent Git repositories with fewer commands. Server CI avoids widening platform qualification for unrelated modified files; affected server and harness inputs still run.
What Changed
Why
Remove preparation and idle waits without shorter timeouts, mocked boundaries or production/library changes. Real Git controls verify independent refs/objects.
Linked Issue
N/A — maintainer CI-health work.
Visual Proof
N/A — no product UI change. Hidden CDP screenshots and traces retained as test evidence.
Testing
Four balanced arms used macOS/Node24.21/Bun1.4.2, earlier test source and one unchanged app build. First baseline startup was colder; warm final-arm wall reductions were 24.52%/9.88%. These historical local measurements are separate from current fresh-build correctness checks.
Six Node process cases plus the retained Bun relay case passed; policy suites passed 148/148, including two physical dependency-graph regressions. Format, lint, focused types and changed-quality passed. On merged base c2d, fresh ordinary Electron/CLI build plus all three hidden E2E cases passed once in 29.706s: zero skips/retries/errors. Correction hooks passed in 1.743s.
Review
Independent source, actual-evidence and committed-scope reviews passed. Exact corrected-head CI is green; the addressed review thread is resolved.
Agent skill upstream boundary
Notes
Counterfactual exact five-file test-only modifications select 12→2 server allocations. This policy PR deliberately retains all 12 server allocations and selects existing Node18 validation; routing selects no packages, SSH/WSL or new cache jobs. Existing conservative rules remain for uncertain evidence; relevant main changes receive full qualification. No hosted 2× claim.
Recorded local commands/hooks cost 179.36s, including failed formatting/compiler-API diagnostics, three corrective max-lines failures and fresh-base checks. Earlier detector flags were captured, but an observer error lost exit/time evidence: candidate/admin costs remain unknown. Tool-symlink/generated-output guard holds were resolved without reruns. Controller/source-inspection overhead is separate. Both ordinary validation heads completed 46 checks (27 success, 19 legitimate skips), with no unresolved reviews. First 143ef used 6,019 runner-seconds/27 allocations; corrected 4b used 5,819/27. Full lifecycle: 11,838 assigned runner-seconds/54 allocations; 491 allocated queue-seconds separately. No CI failure, rerun, cancellation or supersession. These are post-change validation waves, not a pre-optimization benchmark. Unit assigned/Test-step/longest seconds were 3,076/2,877/664→3,173/3,014/657 (+3.15%/+4.76%/−1.05%); no causal hosted or 2× gain is claimed.
Checklist