fix(image): preserve sandbox base layer compatibility - #7646
Conversation
📝 WalkthroughWalkthrough
ChangesDockerfile COPY contracts
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
Nemotron output stays in workflow artifacts and does not change the assessment above. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@test/openclaw-dependency-review.test.ts`:
- Around line 437-441: Update the helper COPY detection around helperCopy to
recognize both the grouped three-file COPY instruction and the supported legacy
openclaw-npm-remediation.mts-only form. Derive an effective helper-copy position
from whichever form is present, then use effectiveHelperCopy in the ordering
assertions against helperInvocation while preserving the existing validation
behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: ae3760f0-c172-4301-bee6-48a2491809b4
📒 Files selected for processing (6)
Dockerfile.basetest/mcporter-supply-chain.test.tstest/node-tar-dockerfile-contract.test.tstest/openclaw-dependency-review.test.tstest/openclaw-locked-install.test.tstest/sandbox-base-image-layout.test.ts
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
668bc92 to
a8295a5
Compare
Summary
Group related sandbox-base build inputs so published images retain the established layer layout. Package paths, pins, checksums, remediation commands, audits, and the final filesystem scan remain unchanged.
Changes
Type of Change
Quality Gates
Documentation Writer Review
no-docs-neededCOPYinstructions preserve all package, checksum, remediation, audit, and scan contracts while keeping the established 24-layer sandbox-base layout. The test fallback changes no user-facing behavior. Focused tests pass 79/79;git diff --checkpasses; prior Biome, Hadolint, gitleaks, repository, source-shape, test-size, test-title, Vitest membership, and commit-hook evidence remains patch-identical.DGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run check:diffpassed when hooks were skipped or unavailablenpm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Signed-off-by: Senthil Ravichandran senthilr@nvidia.com
Summary by CodeRabbit
COPYpatterns for runtime package files and remediation/auditing helpers.COPYsteps (no functional change intended).