Skip to content

fix(ci): rebalance stable CLI coverage shards - #12479

Merged
jyaunches merged 2 commits into
mainfrom
codex/cli-shard-balance-12389
Sep 29, 2026
Merged

jyaunches merged 2 commits into
mainfrom
codex/cli-shard-balance-12389

Conversation

@jyaunches

Copy link
Copy Markdown
Contributor

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 main 946fb1611be605f14af3bc7a78d964c0b331463f reproduces the exact failure: 1257861 exceeds 1255812.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

  • Recalibrate the CLI lane salt from 959 to 15873, using the existing timing hints and current 2,500-file roster. Integration and E2E-support assignments stay unchanged.
  • Update the pinned CLI ownership fixture for the intentional remapping. Membership remains independent of other files' additions, removals, and timing weights.

Verification

  • Exact-base reproduction — 12 passed, 1 failed with the same CI assertion.
  • 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.
  • Diff contains no secrets, API keys, or credentials.

Review notes

All nine local Docker Advisor specialists cleared the prepared candidate tree fe7f787b8ae98810c8d55b3db9f13f91509a697a against base 946fb1611be605f14af3bc7a78d964c0b331463f. 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 for cef57c75ae5ddf6b1a84e56c3c2e14e33cf8dd12. 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

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>
@jyaunches jyaunches self-assigned this Sep 29, 2026
@copy-pr-bot

copy-pr-bot Bot commented Sep 29, 2026

Copy link
Copy Markdown

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.

@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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 configuration

Configuration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 7beeb922-ea0e-4301-b12d-b83eface8624

📥 Commits

Reviewing files that changed from the base of the PR and between 946fb16 and 2725509.

📒 Files selected for processing (3)
  • src/lib/onboard/runtime-provider/podman.test.ts
  • test/helpers/cli-coverage-sequencer.ts
  • test/repository/cli-coverage-sequencer.test.ts
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

github-code-quality Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 2725509 in the codex/cli-shard-bala... branch remains at 96%, unchanged from commit 63002cd in the main branch.

Show a line coverage summary of the most impacted files.
File main 63002cd codex/cli-shard-bala... 2725509 +/-
nemoclaw/src/onboard/config.ts 98% 96% -2%
nemoclaw/src/index.ts 94% 93% -1%
nemoclaw/src/co.../config-show.ts 100% 100% 0%
nemoclaw/src/commands/slash.ts 100% 100% 0%
nemoclaw/src/on...native-route.ts 0% 100% +100%

Updated September 29, 2026 16:09 UTC

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>
@jyaunches
jyaunches marked this pull request as ready for review September 29, 2026 16:16
@jyaunches
jyaunches merged commit 815ad8e into main Sep 29, 2026
64 of 65 checks passed
@jyaunches
jyaunches deleted the codex/cli-shard-balance-12389 branch September 29, 2026 16:18
jyaunches added a commit that referenced this pull request Sep 29, 2026
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>
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions chore Build, CI, dependency, or tooling maintenance labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions chore Build, CI, dependency, or tooling maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants