fix(e2e): preserve explicit old base arg#4048
Conversation
|
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)
📝 WalkthroughWalkthroughThis PR modifies the embedded Docker wrapper in ChangesDocker wrapper BASE_IMAGE detection
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: None Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
PR Review AdvisorRecommendation: blocked This is an automated advisory review. A human maintainer must make the final merge decision. Limitations: This review used read-only inspection and trusted provided metadata; no tests or package-manager commands were executed.; The reviewThreads hard-gate snapshot was provided as unknown, even though GraphQL context showed no reviewThreads nodes; maintainers should verify current GitHub review-thread state before merge consideration.; The original PR #4047 CodeRabbit discussion was not independently fetched; acceptance mapping relies on the trusted PR body/comment context and the local diff evidence. Full advisor summaryPR Review AdvisorBase: The code change is small and security-clean, but the PR is not currently mergeable because GitHub reports mergeStateStatus=BLOCKED/review required. Gate status
🔴 Blockers
🟡 Warnings
🔵 Suggestions
Acceptance coverage
Security review
Test / E2E status
✅ What looks good
Review completeness
|
|
✨ |
Summary
BASE_IMAGEDocker build arg as present, not just the mutable:latestliteralBASE_IMAGEat allWhy
PR #4047 fixed the nightly gateway-upgrade fixture by appending a pinned
BASE_IMAGEwhen the old installer omitted one. CodeRabbit correctly noted thatrewrote_basewas only set for theghcr.io/nvidia/nemoclaw/sandbox-base:latestliteral, so a caller-provided non-latestBASE_IMAGEcould receive a second fallback arg and be overridden by Docker last-arg-wins behavior.Test plan
bash -n test/e2e/test-openshell-gateway-upgrade.shgit diff --checknpm run build:clinpm run typecheck:clinpm run test -- test/onboard-openshell-version.test.tsFollow-up to PR #4047.
Resolves CodeRabbit thread: #4047 (comment)
Summary by CodeRabbit