perf(ci): remove repeated test setup - #11337
Conversation
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe CI action now typechecks plugin tests with a dedicated TypeScript configuration. Workflow contracts verify build ordering and command usage. GPU tests resolve Docker providers. Credential rotation tests use direct ESM imports. ChangesCI typecheck contracts
GPU provider test setup
Credential rotation test imports
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This updates CI typechecking and test setup without changing production behavior. Current evidence shows no remaining merge-blocking risk. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 4a72616 in the TypeScript / code-coverage/cliThe overall line coverage in commit 4a72616 in the Show a line coverage summary of the most impacted files.
Updated |
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
|
PR Review Advisor finished for commit |
Outcome
Three CI-only paths stop repeating work that another layer already guarantees. Local three-run medians improve as follows:
Production behavior is unchanged.
Reason
compile-artifactsalready runs the plugin production compiler andbuild-typecheckdepends on that verified output, but the latter compiled production sources again before checking tests.Related issues
Part of #6237.
Changes
nemoclaw/tsconfig.test.json; preserve plugin-local compiler ownership and add a workflow contract proving production compilation remains an upstream prerequisite.This is a small recovery of the remaining hidden-setup ideas from closed PR #11098 without its shard-remapping or large test-splitting changes.
Verification
npx vitest run --project cli --project integration src/lib/onboard/wsl-docker-desktop-gpu.test.ts test/credentials/credential-rotation.test.ts test/automation/pull-requests/pr-workflow-contract.test.ts --coverage=false— 3 files and 92 tests passed.npm --prefix nemoclaw exec -- tsc --noEmit -p nemoclaw/tsconfig.test.json— passed.b0361285adb24bff9c847e59595ad3d500abaa50,12b357faabc0ffb313a9ddf1b755ece1b5a7b74f, and08888562873b4a823c80a22ee593e4c7aaafe28fare Verified.Review notes
The timing measurements are local macOS evidence; the fresh hosted CI run validates behavior on the current merge commit. The production plugin project remains typechecked by the exact compiler invocation that creates the verified artifact consumed by this job.
Signed-off-by: Charan Jagwani cjagwani@nvidia.com
Summary by CodeRabbit