Skip to content

fix(images): refresh shared curl pin - #6689

Merged
cv merged 2 commits into
mainfrom
codex/fix-root-curl-pin-6686
Jul 11, 2026
Merged

cv merged 2 commits into
mainfrom
codex/fix-root-curl-pin-6686

Conversation

@jyaunches

@jyaunches jyaunches commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Refresh the Debian Trixie curl package pin used by the standard and Hermes sandbox base images from the unavailable 8.14.1-2+deb13u3 build to 8.14.1-2+deb13u4. Keep controlled integration fixtures isolated from production base-image change detection so the pin change exercises their intended fake-Docker paths.

Related Issue

Fixes #6679
Refs #6686

Changes

  • Update the standard and Hermes sandbox base-image curl pins to the available Debian package revision.
  • Add the required SPDX license header to the standard sandbox base Dockerfile.
  • Add regression coverage that keeps the curl pin aligned across all published sandbox base Dockerfiles.
  • Set the integration test project's base-image reference explicitly so controlled fake-Docker fixtures are not diverted by production input-change detection.

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification: This changes an internal package pin and test-fixture isolation without changing the documented user workflow or interface.
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: The production change is limited to an exact curl package revision; the environment override is scoped to controlled integration fixtures and does not weaken production image selection or sandbox behavior.
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

Verification

  • PR description includes the DCO sign-off declaration and every commit appears as Verified in GitHub
  • Normal pre-commit, commit-msg, and pre-push hooks passed, or npm run check:diff passed when hooks were skipped or unavailable
  • Targeted behavior tests pass for the current change set, or tests are marked not applicable above — npx vitest run --project integration test/dcode-base-image-workflow.test.ts test/onboard.test.ts test/onboard-custom-dockerfile.test.ts test/onboard-installer-restore-intent.test.ts test/onboard-reservation-recreate.test.ts test/gateway-state-reconcile-2276.test.ts test/onboard-messaging.test.ts (7 files, 103 tests passed)
  • Applicable broad gate passed — npm test for broad runtime/test-harness changes; npm run check for repo-wide validation/coverage changes — command/result:
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Signed-off-by: Julie Yaunches [email protected]

@coderabbitai

coderabbitai Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The pull request updates the pinned curl package in both sandbox base images, adds consistency checks across publishers, configures the integration test environment, and adds an SPDX header to the root Dockerfile.

Changes

Curl pin synchronization

Layer / File(s) Summary
Update sandbox curl pins
Dockerfile.base, agents/hermes/Dockerfile.base
Both Dockerfiles change the pinned curl version from deb13u3 to deb13u4; the root Dockerfile also gains an SPDX header.
Validate shared pin configuration
test/dcode-base-image-workflow.test.ts, vitest.config.ts
Integration coverage extracts and compares curl pins across sandbox images, while the integration project sets NEMOCLAW_SANDBOX_BASE_IMAGE_REF.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The SPDX copyright/license header added to Dockerfile.base is unrelated to the linked curl-pin build-fix objectives. Remove the header-only change or split it into a separate licensing PR so this PR stays focused on the curl pin fixes.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The curl pin updates, alignment test, and integration-test env change address the linked Hermes and root Dockerfile build failures.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: refreshing the shared curl package pin in image build files.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-root-curl-pin-6686

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

github-code-quality Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage remains at 96%, unchanged from the main branch.

TypeScript / code-coverage/cli

The overall coverage in the codex/fix-root-curl-... branch remains at 78%, unchanged from the main branch.

Show a code coverage summary of the most impacted files.
File main d1d4a3b codex/fix-root-curl-... 1db9c82 +/-
src/lib/onboard...-persistence.ts 82% 75% -7%
src/lib/actions...backup-phase.ts 100% 96% -4%
src/lib/inferen...rf-preflight.ts 94% 91% -3%
src/lib/adapter...shell/client.ts 85% 83% -2%
src/lib/actions...lution-probe.ts 93% 94% +1%
src/lib/onboard...box-recovery.ts 79% 81% +2%

Updated July 11, 2026 17:40 UTC
Code Coverage is in Public Preview. Learn more and provide us with your feedback.

@github-actions

github-actions Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

E2E Advisor Recommendation

Required E2E: cloud-onboard
Optional E2E: rebuild-openclaw, rebuild-hermes

Dispatch hint: cloud-onboard

Workflow run

Full advisor summary

E2E Recommendation Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required E2E

  • cloud-onboard (high): Deterministic risk plan requires cloud-onboard for platform-install changes. The changed sandbox base image pins can affect clean supported-host onboarding and the ability to reach a usable hosted assistant.

Optional E2E

  • rebuild-openclaw (high): Useful adjacent confidence for Dockerfile.base because this live job builds the current OpenClaw sandbox base image from the PR and then validates a real NemoClaw rebuild flow against it.
  • rebuild-hermes (high): Useful adjacent confidence for agents/hermes/Dockerfile.base because this live job builds the current Hermes sandbox base image from the PR and validates the Hermes rebuild path and runtime state preservation.

New E2E recommendations

  • sandbox-base-images (medium): There is no lightweight dedicated PR E2E/build-smoke selector for changed sandbox base Dockerfiles; existing coverage is either full cloud onboarding or heavyweight rebuild flows. A standalone non-push base-image build smoke would catch package-pin/build failures before main rebuild publication.
    • Suggested test: base-image-build-smoke

Dispatch hint

  • Workflow: e2e.yaml
  • jobs input: cloud-onboard

@github-actions

github-actions Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

PR Review Advisor — No blocking findings

Merge posture: No blocking advisor findings
Primary next action: No advisor follow-up required beyond maintainer review.
Findings: 0 required · 0 warnings · 0 optional suggestions
Since last review: 0 prior items resolved · 0 still apply · 0 new items found

Workflow run details

This is an automated review. Required findings need action before merge. Warnings and optional suggestions do not require a response or follow-up. A human maintainer makes the final merge decision.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
Dockerfile.base (1)

1-1: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Add the required SPDX license header.

This changed source file starts with descriptive comments but has no SPDX header. Add the standard Apache-2.0 header before the existing comment block.

As per coding guidelines, every source file must include the applicable SPDX license header.

🤖 Prompt for 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.

In `@Dockerfile.base` at line 1, Add the standard SPDX Apache-2.0 license header
at the beginning of Dockerfile.base, before the existing “NemoClaw sandbox base
image” comment. Preserve the current descriptive comment and all subsequent
Dockerfile content unchanged.

Source: Coding guidelines

🤖 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.

Outside diff comments:
In `@Dockerfile.base`:
- Line 1: Add the standard SPDX Apache-2.0 license header at the beginning of
Dockerfile.base, before the existing “NemoClaw sandbox base image” comment.
Preserve the current descriptive comment and all subsequent Dockerfile content
unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 89e7b52d-08de-4b92-9a67-c8733675d573

📥 Commits

Reviewing files that changed from the base of the PR and between d1d4a3b and bdb3d40.

📒 Files selected for processing (4)
  • Dockerfile.base
  • agents/hermes/Dockerfile.base
  • test/dcode-base-image-workflow.test.ts
  • vitest.config.ts

@github-actions

Copy link
Copy Markdown
Contributor

E2E Target Results — ⚠️ Run cancelled — no signal

Run: 29161763743
Workflow ref: codex/fix-root-curl-pin-6686
Requested targets: (default — all supported)
Requested test IDs: cloud-onboard
Summary: 0 passed, 0 failed, 1 cancelled, 0 skipped, 0 unknown

Test Result
cloud-onboard ⚠️ cancelled

@github-actions

Copy link
Copy Markdown
Contributor

E2E Target Results — ✅ All requested tests passed

Run: 29161820101
Workflow ref: codex/fix-root-curl-pin-6686
Requested targets: (default — all supported)
Requested test IDs: cloud-onboard
Summary: 1 passed, 0 failed, 0 cancelled, 0 skipped, 0 unknown

Test Result
cloud-onboard ✅ success

@cv
cv enabled auto-merge (squash) July 11, 2026 17:41
@cv
cv merged commit dfee116 into main Jul 11, 2026
131 of 132 checks passed
@cv
cv deleted the codex/fix-root-curl-pin-6686 branch July 11, 2026 17:41
Hadar301 pushed a commit to Hadar301/NemoClaw-OpenShift that referenced this pull request Jul 12, 2026
<!-- markdownlint-disable MD041 -->
## Summary

Refresh the Debian Trixie curl package pin used by the standard and
Hermes sandbox base images from the unavailable `8.14.1-2+deb13u3` build
to `8.14.1-2+deb13u4`. Keep controlled integration fixtures isolated
from production base-image change detection so the pin change exercises
their intended fake-Docker paths.

## Related Issue

Fixes NVIDIA#6679
Refs NVIDIA#6686

## Changes

- Update the standard and Hermes sandbox base-image curl pins to the
available Debian package revision.
- Add the required SPDX license header to the standard sandbox base
Dockerfile.
- Add regression coverage that keeps the curl pin aligned across all
published sandbox base Dockerfiles.
- Set the integration test project's base-image reference explicitly so
controlled fake-Docker fixtures are not diverted by production
input-change detection.

## Type of Change

- [x] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Quality Gates

- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [ ] Docs updated for user-facing behavior changes
- [x] Docs not applicable — justification: This changes an internal
package pin and test-fixture isolation without changing the documented
user workflow or interface.
- [x] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [x] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification: The production change
is limited to an exact curl package revision; the environment override
is scoped to controlled integration fixtures and does not weaken
production image selection or sandbox behavior.
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Verification

- [x] PR description includes the DCO sign-off declaration and every
commit appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run check:diff` passed when hooks were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — `npx vitest run --project integration
test/dcode-base-image-workflow.test.ts test/onboard.test.ts
test/onboard-custom-dockerfile.test.ts
test/onboard-installer-restore-intent.test.ts
test/onboard-reservation-recreate.test.ts
test/gateway-state-reconcile-2276.test.ts
test/onboard-messaging.test.ts` (7 files, 103 tests passed)
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result:
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only)
- [ ] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

---
Signed-off-by: Julie Yaunches <[email protected]>

---------

Signed-off-by: Julie Yaunches <[email protected]>
@wscurran wscurran added area: packaging Packages, images, registries, installers, or distribution area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery bug-fix PR fixes a bug or regression labels Jul 30, 2026
@cv cv mentioned this pull request Jul 31, 2026
11 of 23 tasks
ericksoa pushed a commit that referenced this pull request Aug 1, 2026
<!-- markdownlint-disable MD041 -->
## Summary

The #6684/#6689 supersession exposed that the maintainer workflow could
select a replacement and recommend closing its source without checking
whether transferred work retained machine-readable contributor
attribution.
This change treats supersession as relationship evidence, requires exact
source-commit authorship or co-authorship before selection and closure,
and preserves the existing authorization boundaries.

## Changes

- Add canonical policy for superseded PR attribution, safe DCO handling,
and independent implementations.
- Classify replacement work as `independent`, `transferred`, or
`unclear`, and leave the winner unset when attribution evidence is
missing.
- Remove supersession as a comparator tiebreaker.
- Sequence transferred work before revalidation, merge, and source-PR
closure in the comparator verdict and review finder.
- Add a focused source-contract test for attribution, contributor
identity, ranking, and operation order.
- Keep `render-verdict.py` and `validation/backtest.md` unchanged
because this is a reviewer workflow contract, not a renderer gate.

## Type of Change

- [x] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Quality Gates

- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [ ] Docs updated for user-facing behavior changes
- [x] Docs not applicable — justification: This changes maintainer-agent
policy and skill behavior, not a NemoClaw API, CLI, configuration, UI,
runtime workflow, or published documentation page.
- [x] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [x] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification: Maintainer-directed
attribution policy change; canonical write-authorization boundaries
remain explicit, the focused contract passes, and the independent review
found no issues.
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Documentation Writer Review

- [x] Documentation writer subagent reviewed the completed changes
- Result: `no-docs-needed`
- Evidence: Reviewed the complete seven-file diff, including the
active/passive parser direction fix and duplicate-edge regression
coverage, after hook formatting. No `docs/` change is needed because the
change affects only maintainer-agent behavior. The final review found no
issues; the focused contract passed 18/18, and repository-managed shfmt
and ShellCheck passed.
- Agent: Codex Desktop
<!-- docs-review-head-sha: 52fdd4a -->
<!-- docs-review-agents-blob-sha: c052d60 -->

## DGX Station Hardware Evidence

- [ ] Tested on DGX Station
- Tested commit:
- Station profile/scenario:
- Result:
- Supporting evidence:

## Verification

- [x] PR description includes a `Signed-off-by:` line and every commit
appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run validate:pr` passed after refreshing `origin/main` when hooks
were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — `npx vitest run --project integration
test/maintainer-skills-policy.test.ts`: 18/18 passed; `npx vitest run
--project integration test/skills-frontmatter.test.ts`: 29/29 passed;
repository-managed shfmt and ShellCheck: passed; `npm run
checks:repository`: passed.
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result: Not applicable to scoped
maintainer skill guidance and its source-contract test.
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only)
- [ ] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

---
Signed-off-by: Carlos Villela <[email protected]>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Added guidance for handling superseded pull requests, including
contribution attribution, authorship preservation, DCO verification, and
maintainer authorization.
* Clarified how to distinguish independent, transferred, and unclear
work relationships.
* Updated comparison and verdict guidance to require attribution,
commit, and diff verification before selecting a replacement or closing
a pull request.

* **Bug Fixes**
* Improved recognition and direction of active and passive supersession
statements.
* Prevented duplicate supersession relationships from affecting
evaluations.

* **Tests**
* Added coverage for attribution requirements, supersession phrase
parsing, and comparator reruns.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Carlos Villela <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: packaging Packages, images, registries, installers, or distribution area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery bug-fix PR fixes a bug or regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[hermes] v0.0.80 can't build a hermes sandbox due to wrong pinned dependency

3 participants