test(e2e): cover dashboard port auto-alloc in nightly#2455
test(e2e): cover dashboard port auto-alloc in nightly#2455
Conversation
Extends test/e2e/test-double-onboard.sh with three #2174 regression checks: - Second-sandbox onboard output must log "allocated port" (auto-alloc fired) - nemoclaw list must show two distinct dashboard ports for A and B The existing script already exercises the two-sandbox flow (Phase 4) but didn't assert anything port-specific — a silent regression of the auto-alloc path would have passed. Also wires the script into nightly-e2e.yaml as a new double-onboard-e2e job. Uses the script's fake OpenAI endpoint so no NVIDIA_API_KEY is required. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> 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 (2)
📝 WalkthroughWalkthroughA new nightly E2E test job is added to validate concurrent sandbox onboarding without dashboard port collisions, integrated into the existing CI failure notification mechanism using a dedicated test script and local fake OpenAI-compatible endpoint. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
Adds three
#2174regression assertions to the existingtest-double-onboard.shand wires it intonightly-e2e.yamlas a newdouble-onboard-e2ejob. Without these, a regression of the auto-alloc path (crashing second onboards or silently stealing the first sandbox's forward) would ship tomainwith only unit tests as a guard.Related
Depends on #2454 (auto-alloc behavior must be on main before the assertions can pass).
Changes
test/e2e/test-double-onboard.sh— three new assertions added to the existing Phase 4 (second-sandbox onboard):allocated port(confirms auto-alloc fired)nemoclaw listmust show two distinctdashboard: http://...lines for the two sandboxes.github/workflows/nightly-e2e.yaml— newdouble-onboard-e2ejob that runs the script. Uses the script's built-in fake OpenAI-compatible endpoint so noNVIDIA_API_KEYis needed. Wired intonotify-on-failureneeds:list so a regression auto-opens a GitHub issue.Type of Change
Verification
npx prek run --all-filespasses (YAML validates, shellcheck clean)bash -n test/e2e/test-double-onboard.sh— syntax check passesNotes for reviewer
if:gate matches existing jobs (github.repository == 'NVIDIA/NemoClaw') so forks don't pay the runner cost.AI Disclosure
Signed-off-by: Charan Jagwani cjagwani@nvidia.com
Summary by CodeRabbit
Tests
Chores