Repository navigation
fix(ci): rebalance stable CLI coverage shards - #12479
Conversation
Current main assigns 1,257,861 weighted milliseconds to its busiest shard, exceeding the existing 5.5% balance limit. Recalibrate the CLI salt for the current roster and update its pinned ownership fixture without weakening either balance bound. Reproduced the same failure on 946fb16 and PR #12389. The focused sequencer suite now passes all 13 tests; the maximum predicted load is 2.45% above average. Refs #6237. Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 2725509 in the Show a line coverage summary of the most impacted files.
Updated |
The rebalanced shard exposed a cold source-load timeout in the first Podman lifecycle case: 5.29 seconds against its five-second budget. Load the lazily required connect graph in suite setup without mocking its behavior, extending the timeout, or removing assertions. All 21 Podman tests pass with the first case reduced from 3.6-4.0 seconds to 71 ms locally with the tsx cache disabled. All 13 sequencer tests pass. Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
Consume merged dependency #12479 and resolve the launch-evidence conflict with #11870. Preserve bounded diagnostic history together with the provider-status tracking and non-login launch shell. The integrated tree passes 276 Linux E2E support tests, 175 readiness unit tests, and 13 shard allocation tests. The live Brev pass on 006d984 remains prior-head evidence; hosted checks will evaluate this new head. Move the existing host-input tests to a focused file after combined upstream coverage exceeded the per-file size budget. Preserve every assertion; project membership and growth checks pass. Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
Outcome
Rebalance the existing stable CLI test shards so the current main test roster satisfies the unchanged 5.5% load limit. The busiest shard's estimated load falls from 1,257,861 ms (5.67% above average) to 1,219,489 ms (2.45% above average).
Reason
PR #12389's original shell-argument assertion failures are fixed, but its CI now hits an inherited failure in
test/repository/cli-coverage-sequencer.test.ts. Running the same test on current main946fb1611be605f14af3bc7a78d964c0b331463freproduces the exact failure:1257861exceeds1255812.65625. This dependency isolates the main repair from the Brev readiness work.The fixed hash assignment no longer balances the expanded roster within the existing bound. The current-roster test detected it; its bound and the independent serialized integration-lane bound remain intact.
Related issues
Refs #6237. Unblocks #12389 after maintainer merge.
Changes
959to15873, using the existing timing hints and current 2,500-file roster. Integration and E2E-support assignments stay unchanged.Verification
vitest run --project integration test/repository/cli-coverage-sequencer.test.ts— all 13 passed after repair, including both balance bounds, unique assignment, deterministic order, and roster-stability checks.git diff --check— passed.Review notes
All nine local Docker Advisor specialists cleared the prepared candidate tree
fe7f787b8ae98810c8d55b3db9f13f91509a697aagainst base946fb1611be605f14af3bc7a78d964c0b331463f. Every summary, finding ledger, and E2E receipt was inspected; none has findings or additional E2E recommendations. The deterministic risk plan selects no live E2E jobs for this test-only change. Reports are retained locally; review sandboxes and gateway were verified gone. Normal publication validation and all three TypeScript pre-push checks passed forcef57c75ae5ddf6b1a84e56c3c2e14e33cf8dd12. The remote branch matches that signed candidate; hosted CI and automated review are pending. This PR remains a draft until automated evaluation completes. Human review and merge are separate maintainer actions.Signed-off-by: Julie Yaunches jyaunches@nvidia.com