fix(images): prefer versioned sandbox base images#4082
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 (2)
📝 WalkthroughWalkthroughAdds discovery and normalization of release-style version tags (env, git exact-match, .version), publishes tags on v* push events, and makes the sandbox resolver prefer versioned GHCR images before falling back to SHA/latest. Also bounds dockerInfo runtime probes with a short timeout. ChangesVersion-tagged sandbox base image support
Sequence DiagramsequenceDiagram
participant CI as "CI Workflow (push tag v*)"
participant Metadata as "docker/metadata-action"
participant GHCR as "GHCR (ghcr.io/nvidia/nemoclaw)"
participant Resolver as "resolveSandboxBaseImage()"
participant Tags as "getVersionedBaseImageTags()"
participant Git as "git describe / GITHUB_REF / .version"
CI->>Metadata: emit metadata tags (include type=ref,event=tag)
Metadata->>GHCR: publish image:<tag>
Resolver->>Tags: request normalized version candidates
Tags->>Git: read GITHUB_REF, git describe, .version
Tags->>Resolver: return normalized, deduped tags[]
Resolver->>GHCR: attempt pull image:<tag> (source="version-tag")
GHCR-->>Resolver: 200/404 (select next candidate or fallback)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related issues
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)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Auto-dispatched E2E: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
PR Review AdvisorFindings: 2 needs attention, 3 worth checking, 0 nice ideas This is an automated advisory review. A human maintainer must make the final merge decision. |
Selective E2E Results — ✅ All requested jobs passedRun: 26304292817
|
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
Selective E2E Results — ✅ All requested jobs passedRun: 26310708838
|
Summary
Validation
Fixes #4080
Summary by CodeRabbit
New Features
Improvements
Tests