Repository navigation
[CI] ci: run full pull-request unit tests across ten shards - #26295
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe PR workflow now passes Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to The shard configuration preserves complete test assignment, and package setup has bounded waits. No merge-blocking issue is established; complete integration CI should still finish its normal validation. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 7 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ELI5
Full PR unit tests use ten runners instead of five. In the same-definition ordinary comparison, required verification finished in 9m05s rather than 13m39s, with every test retained. This trades more parallel capacity and 13.41% more aggregate ARM runner time for lower latency.
What Changed
The existing unit planner accepts a validated full-run count of 5 or 10. The PR workflow requests 10 by default, and the repository Actions variable
ORCA_UNIT_FULL_SHARD_COUNT=5restores five. Planning failures retain every discovered test with the requested count. Daily reference jobs and selected draft caps remain five. Existing assignment and selection-evidence checks verify complete coverage; native Node runtime contracts keep their actual Node routes.The Linux package step also reuses the shell lane’s existing APT timeouts after its original run remained pending for more than an hour. Required tooling and all package checks remain mandatory. The temporary branch-name switches and diagnostic PRs #26271/#26272 are excluded from this change.
Why
Reducing import work and individual fixtures has helped selected suites. Additional sharding reduces the complete unit pipeline’s latency while preserving isolation and test assertions. The explicit five-shard rollback addresses the extra peak runner demand if fleet queue delays outweigh the gain.
One ordinary pair used identical definition commit
1a397791032372d7b489221c5fe6535d6642b60c, identical source tree and pinned base7d6d7ca6. Both first attempts completed successfully:Nominal unit worker slots increased 20→40 (five versus ten four-worker ARM runners). Unit runners started 6–8s after allocation. Aggregate assignment-upload steps were 6→11s. The two workflows used the same nonunit job names; whole-workflow runner seconds mix different runner classes and are not a pricing estimate.
This is one observational pair on different hosts and cache states. Four additional diagnostic ARM jobs started after all fifteen comparison runners had been allocated. The result does not establish representative fleet queue tails, per-test efficiency, or the historical twofold goal. PR-to-verification includes prerequisite timing differences; the unit boundaries are reported separately. No warmup or first-attempt cost was excluded.
Evidence: five-shard run, ten-shard run. Both ran all 11,678 physical files exactly once, with identical module counts/states/routes: 112,615 passed cases, one expected failure and 1,052 stock skips. Stock CI artifacts do not contain complete individual case names; the source-qualified local infrastructure case maps are separate evidence.
Linked Issue
N/A — maintainer performance work requested by the user.
Visual Proof
N/A — CI planning only; no app UI change.
Testing
All eight fresh local infrastructure reports passed under both Bun and Node, with seeds 104729 and 130363. Exact identity/status maps retain all 95 original cases plus the same five meaningful count, rollback and complete-evidence checks (100 cases). Stock isolation, all six setups, four workers, actual runtime routes, source hashes and natural-close/process guards pass; no attempts were retried or discarded. These checks used fsModuleCache=false for correctness; normal CI retains true.
Actual tracked-path formatting, changed-code quality and normal commit hooks pass. The shipping documentation reuses the existing CI demand guide and preserves its capacity-acceptance section verbatim; Markdown parsing confirms its formatter-only table changes preserve content. The seven qualified code/workflow bytes and all 54 named runtime/source guards remain exact after rebasing onto 7f43d9b, including the landed display-clock improvement. The initial shipping head was 84082a3; the subsequent APT correction is qualified separately below. No measurements are relabeled as runs on the rebased source.
This normal PR’s fresh complete integration CI passed; the final source, coverage and review evidence are recorded below. The temporary comparison PRs have been closed without merging; none of their benchmark definitions or branch switches are shipped.
Review
Independent source and ordinary accounting reviews are clear. The eight-report runtime qualification is independently clear. Both exact-head reviews and the corrected head’s complete integration CI are recorded below.
Agent skill upstream boundary
Notes
This controlled latency rollout does not satisfy the existing representative week-long fleet capacity gate. Monitor queue/provisioning delay, PR verification time, cancellations and aggregate ARM runner time in equivalent traffic windows; set the repository variable to 5 if queue delays erase the gain. App, SSH and folder workspace behavior remain covered by their full tests.
Checklist
Final integration and package tooling measurements
The updated head
29ad785b1cd000b580ba3b3da87affb835a601adpassed the complete fresh integration run on synthetic sourcec0256db7797d8e315b7916ab302f056875d98ff1, whose incoming main parent is42a40f861d4de15e880ed8495a2585d981345429. All ten unit shards reported 11,715 distinct physical files exactly once: 11,575 passed files and 140 stock-skipped files; 112,984 passed cases, three expected failures, 1,052 stock skips, zero failures and zero unhandled errors. Actual module markers match 10,582 Bun routes, 1,132 protected Node routes and the single Node measurement file. Every one of the prior 11,691 paths remains, with 24 incoming files added. The incoming main tree is preserved except the nine intended shipping paths. The updated inherited SQLite routing is explicitly source-bound; the earlier 55 stored guards are not assumed unchanged. Stock CI provides module counts and runtime markers rather than complete individual case-title maps.The original run's ten passing unit shards remain recorded separately from its canceled package gate. This update retains mandatory cpio/rpm installation and all package checks, while applying the existing shell lane's bounded refresh/fatal-install policy. The 120s refresh and 300s install limits are nominal command bounds, not a proof of a hard process-tree termination ceiling. The original incomplete index output does not establish the stalled process or mirror cause.
All current-head required checks are green. CodeRabbit's review records exact head 29ad as reviewed, with no actionable review threads. The previously disclosed ordinary five-versus-ten pair retains its original source, host/cache limits and resource-cost tradeoffs; this fresh full integration proof does not turn that observational pair into a historical 2× claim.
CodeRabbit also emits its generic docstring-coverage advisory (two existing functions; zero percent). This is separate from its zero actionable correctness comments. The disposition is recorded below.
The added package-policy check retained all 21 original cases and passed as the sole added case (22 total) in all eight Bun/Node before/after reports with both fixed seeds. Exact source/configuration/case maps, all six setups, four workers, fsModuleCache=false and natural-close/process guards were independently verified. Two earlier attempts were rejected before launching a test child because an external coordinator was active; those rejections remain separate. None of the eight successful reports was retried or discarded. All qualified bytes survived normal commit hooks; formatting and changed-code quality passed.
The docstring advisory is addressed here: the two existing planner functions describe their work through their names and are covered by the CI guide and tests. No redundant comments were added.