Skip to content

fix(ci): revert native Podman E2E toolchain inputs - #13118

Merged
rsliter merged 1 commit into
mainfrom
codex/revert-pr-12550
Oct 13, 2026
Merged

rsliter merged 1 commit into
mainfrom
codex/revert-pr-12550

Conversation

@rsliter

@rsliter rsliter commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

Revert #12550 and restore the previous native Podman E2E toolchain staging path while the Portable Hermes CLI restore-action mismatch remains unresolved. This intentionally returns trusted native Podman E2E to its known pre-merge blocked state until the prerequisite workflow repair is ready.

Reason

Focused post-merge main E2E run 38473188463 confirmed that #12550's immutable release retrieval, integrity verification, staging, and cleanup work. The run then failed before target execution because the Portable Hermes lane still pins an older CLI restore action that requires the retired snapshot-sanitizer-boundary.cjs module. The maintainer requested reverting #12550 until that prerequisite can be merged safely.

Changes

  • Revert the four files changed by squash commit c3941bab1fdd0c565550731103fdd051cf54001a.
  • Restore the prior staging-action pin, workflow-boundary policy, and matching regression expectations.
  • Leave the separate Portable Hermes restore-action mismatch unchanged for a coordinated follow-up.

Verification

  • node node_modules/vitest/vitest.mjs run --project e2e-support test/e2e/support/shared-e2e-workflow-boundary.test.ts --testTimeout=30000 - 250 tests passed.
  • npm run checks:repository - all 18 selected repository checks passed.
  • npm run validate:pr - publication validation and applicable pre-commit and pre-push checks passed, including CLI TypeScript validation.
  • git diff --exit-code c3941bab1fdd0c565550731103fdd051cf54001a^ HEAD - the resulting tree exactly matches the parent of fix(ci): preserve native Podman E2E toolchain inputs #12550's squash commit.
  • Diff review - exactly the four fix(ci): preserve native Podman E2E toolchain inputs #12550 files are reverted; no secrets, API keys, or credentials are present.

Review notes

Sensitive paths are .github/actions/stage-native-podman-e2e-toolchains/action.yaml, .github/workflows/e2e.yaml, and tools/e2e/workflow-boundary-policy.mts. This revert deliberately restores the expired source-run artifact path, so trusted native Podman E2E remains unavailable until the follow-up repair is ready. It does not address or invalidate #12244's candidate changes.


Signed-off-by: Rebecca Sliter [email protected]

Summary by CodeRabbit

  • Workflow Improvements
    • End-to-end test workflows now stage native Podman toolchains from verified artifacts produced by a fixed source run, rather than from release assets.
    • Toolchain artifacts are checked for identity, expiration, digest, and source-run provenance before they are downloaded and published.
    • The workflow stages both amd64 and arm64 toolchains before candidate checkout and workspace preparation.

Revert #12550 while Portable Hermes uses an incompatible CLI restore-action pin.

Restore the previous four-file state until the prerequisite workflow repair is ready.

Signed-off-by: Rebecca Sliter <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Oct 13, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: a4cdc464-fa03-484d-a150-2501160eb51a
📥 Commits

Reviewing files that changed from the base of the PR and between c3941ba and 1613f65.

📒 Files selected for processing: 4
  • .github/actions/stage-native-podman-e2e-toolchains/action.yaml
  • .github/workflows/e2e.yaml
  • test/e2e/support/shared-e2e-workflow-boundary.test.ts
  • tools/e2e/workflow-boundary-policy.mts

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The staging action now validates and downloads native Podman toolchain artifacts from a fixed workflow run. The E2E workflow, provenance policy, and boundary tests now reference and check the updated action and artifact inputs.

Changes: Podman toolchain staging

Layer / File(s) Summary
Validate and download source-run artifacts
.github/actions/stage-native-podman-e2e-toolchains/action.yaml
The action validates artifact IDs, names, expiration status, digests, and workflow-run IDs. It downloads the amd64 and arm64 artifacts by ID instead of retrieving and verifying release archives.
Pin and verify the updated staging action
.github/workflows/e2e.yaml, tools/e2e/workflow-boundary-policy.mts, test/e2e/support/shared-e2e-workflow-boundary.test.ts
The E2E workflow and provenance policy use the new action revision and content hash. Boundary tests mutate artifact IDs and the run ID; the digest mutation remains.

Priority: ➖ Normal

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

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 1613f

No actionable issue remains from this review. The revert intentionally leaves trusted native Podman E2E blocked pending the separate repair.

Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the primary change: reverting the native Podman E2E toolchain inputs and staging configuration.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@rsliter
rsliter marked this pull request as ready for review October 13, 2026 22:42
@rsliter
rsliter marked this pull request as draft October 13, 2026 22:43
@github-code-quality

github-code-quality Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 1613f65 in the codex/revert-pr-1255... branch is 97%. The line coverage in commit 63002cd in the main branch is 96%.

Show a line coverage summary of the most impacted files.
File main 63002cd codex/revert-pr-1255... 1613f65 +/-
nemoclaw/src/onboard/config.ts 98% 96% -2%
nemoclaw/src/index.ts 94% 93% -1%
nemoclaw/src/bl...print/runner.ts 95% 95% 0%
nemoclaw/src/bl...ime-identity.ts 97% 97% 0%
nemoclaw/src/bl...t-management.ts 100% 100% 0%
nemoclaw/src/co.../config-show.ts 100% 100% 0%
nemoclaw/src/commands/slash.ts 100% 100% 0%
nemoclaw/src/on...native-route.ts 0% 100% +100%

TypeScript / code-coverage/cli

The overall line coverage in commit 1613f65 in the codex/revert-pr-1255... branch is 86%. The line coverage in commit 63002cd in the main branch is 84%.

Show a line coverage summary of the most impacted files.
File main 63002cd codex/revert-pr-1255... 1613f65 +/-
src/lib/onboard.ts 62% 47% -15%
src/lib/actions...ess-recovery.ts 65% 78% +13%
src/lib/state/l...diness-lease.ts 66% 82% +16%
src/lib/inferen...ollama/proxy.ts 41% 61% +20%
src/lib/onboard.../application.ts 55% 84% +29%
src/lib/domain/...y/dimensions.ts 0% 71% +71%
src/lib/actions...ry/operation.ts 0% 76% +76%
src/lib/actions...try/snapshot.ts 0% 78% +78%
src/lib/inferen...ovider/index.ts 0% 88% +88%
src/lib/onboard...ternal-image.ts 0% 91% +91%

Updated October 13, 2026 23:00 UTC

@rsliter
rsliter marked this pull request as ready for review October 13, 2026 23:01
@rsliter
rsliter merged commit 1439855 into main Oct 13, 2026
@rsliter
rsliter deleted the codex/revert-pr-12550 branch October 13, 2026 23:04
@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 1613f65. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

Request review only when Require no Advisor blockers is green.

All previous runs

@deepujain

Copy link
Copy Markdown
Collaborator

Thanks for the quick, tightly scoped revert. LGTM.
Verified on 1613f65:

The four files exactly match c3941ba^. There are no other changes, and no later commit on main touches these files.
The only caller (e2e.yaml:719) passes enabled and github-token, which the restored action accepts.
The restored pin 5ec38cf resolves, and its action content matches the restored contentSha256 (d3dabde6…).
Main E2E run 38473188463 confirms the stated cause: staging passed, and the Portable Hermes lane then failed restoring snapshot-sanitizer-boundary.cjs.
CI, required checks, Advisor, and CodeRabbit: (filled in once complete)
FYI: this restores the expired-artifact path, so every native Podman E2E dispatch will stop at toolchain staging until the follow-up lands. Please link the tracking issue for the restore-action repair.

prekshivyas added a commit that referenced this pull request Oct 14, 2026
Merge main through c3941ba while retaining the exact four-file revert from upstream #13118.
Preserve the legacy cutover guard and existing OpenShell 0.1.2 upgrade history.

Signed-off-by: Prekshi Vyas <[email protected]>
rsliter added a commit that referenced this pull request Oct 14, 2026
## Outcome

Restore durable native Podman toolchain staging and make Portable Hermes
restore the current exact-commit CLI artifact. Trusted Portable Hermes
E2E can now cross both prerequisite boundaries without depending on
expired source-run artifacts or a stale restore-action contract.

## Reason

PR #12550 fixed the expired native Podman toolchain artifacts, but its
focused post-merge run exposed a separate stale Portable Hermes
restore-action pin. Run 38473188463 verified the #12550 staging path
through immutable asset retrieval, integrity checks, publication, and
cleanup, then stopped because the old restore action still required
`snapshot-sanitizer-boundary.cjs`, which had already been removed from
the current CLI artifact contract.

### Related issues

Refs #12550
Refs #13118
Refs #12244

## Changes

- Reapply #12550's immutable native Podman toolchain staging action and
reviewed workflow pin.
- Bind the staging action to release `400756116` and exact AMD64 and
ARM64 asset identities, sizes, and SHA-256 digests while preserving the
pre-candidate trust boundary and downstream artifact contract.
- Update Portable Hermes finalization to use
`restore-e2e-cli-artifact@b1494a0`,
which matches the current artifact producer contract.
- Add a central workflow-boundary check that requires Portable Hermes to
use the reviewed exact-commit CLI restore action and the planner's exact
provenance output, with stale-pin, missing-step, and replaced-provenance
regressions.

## Verification

- `npx vitest run --project e2e-support
test/e2e/support/shared-e2e-workflow-boundary.test.ts` - 253 tests
passed.
- `npm run checks:repository` - all 18 repository checks passed.
- `npm --prefix nemoclaw run build` - passed.
- `npm run build:cli` - passed.
- `NODE_OPTIONS=--max-old-space-size=8192 npm run typecheck:cli` -
passed.
- Normal pre-push publication validation passed on exact head
`80b8467557d3120f6f7981a4f039dd7517af554c`, including CLI TypeScript
validation.
- `NODE_OPTIONS=--max-old-space-size=8192 NEMOCLAW_TEST_TIMEOUT=60000
npm run check` - environmentally inconclusive on this macOS host. The
broad suite reached unrelated failures caused by BSD `tar` and `stat`
incompatibilities, missing Python `yaml`, SQLite warning output, and
host resource timeouts. The failures do not exercise the five changed
files, and the unchanged command was not rerun.
- `git diff --check origin/main...HEAD` - passed.
- Diff review - seven intended files differ from canonical `main`; no
secrets, API keys, or credentials are present.

## Review notes

Sensitive paths are
`.github/actions/stage-native-podman-e2e-toolchains/action.yaml`,
`.github/workflows/e2e.yaml`, and the central E2E workflow-boundary
policy and validators. Publication is based on canonical base
`8a5718dd14a2c2e440011488b1f3a32e9414cf82` and exact candidate
`80b8467557d3120f6f7981a4f039dd7517af554c`. Dependency and hook inputs
match the base. Resolved tools were Node `/opt/homebrew/bin/node`
`v22.23.2`, npm `/opt/homebrew/bin/npm` `10.9.8`, and the locked local
`tsx` entrypoint. `package-lock.json` SHA-256 is
`543ad34dbdd4b0bc5f273bdfb5942699c059ef411937d8de4bb8db8eed16179f`.

The workflow-boundary validator is intentionally part of this change
because the fix protects the Portable Hermes CLI restore pin. Advisor
run `38501415253` found two valid P1 gaps on the original head:
duplicated restore-step ownership and failure to require the Portable
Hermes restore step. Head `d3c9d80596a8a00ee6dd162a012fd495f65bb283`
resolved both. Advisor run `38505089891` then found that the all-job
restore scan duplicated job-specific validators; head
`57b0dac4e7cc32ffdc603d13dbf2e10dbda991eb` removed that second
authority. Advisor run `38508455355` found that Portable Hermes could
replace the planner's `provenance-json` input while retaining the
reviewed action pin; head `01ddea91c9a1c1cf78337cc5a4e94f90ddd108e6`
bound that input exactly and added the missing mutation regression.
Advisor run `38512409947` then found that the canonical CLI restore-step
constant was routed through the unrelated workspace-bootstrap validator.
Exact head `80b8467557d3120f6f7981a4f039dd7517af554c` removes that
re-export and keeps the Portable Hermes restore validator with the
existing artifact-action provenance owner, which already imports the
canonical CLI artifact contract. This preserves the repository fan-out
budget while eliminating the unrelated ownership route. Fresh exact-head
CI, automated review, Advisor selection, and required trusted E2E remain
pending. This PR does not change #12244.


<!-- pr-13129-portable-hermes-exception-v2 -->
## Portable Hermes pre-merge exception and follow-through

Rebecca renewed this narrowly scoped exception for exact commit
`010d972ddb182ba3de0641b5f62e7f060453fa77` on October 14, 2026. It
follows the precedent recorded for
[#12550](#12550 (comment)).
The prior exception for `0ca871ec8140c7ffaa4afa25b4e783155e87fbea` is
historical and does not apply to this commit.

### Classification and scope

- Exact-commit Advisor [run
38607976778](https://github.com/NVIDIA/NemoClaw/actions/runs/38607976778)
completed all nine specialists and the blocker gate with no findings.
Plan v26
`e82631ad58c5cac642a4002140d7365c2d6a19c9ea5c88d3d2aa510606a4cefc`
requires `cloud-onboard`, `full-e2e`, `security-posture`, and separately
`portable-hermes-finalization`.
- Exact-commit deterministic-floor [run
38609680458](https://github.com/NVIDIA/NemoClaw/actions/runs/38609680458)
is in progress. Its verified immutable v2 receipt binds candidate
`010d972ddb182ba3de0641b5f62e7f060453fa77`, base
`e7840acd43451ae79191854aacafdf9e206983ed`, trusted workflow
`45a898e2b70839a5a728fd5dedaa450110da075c`, selectors
`cloud-onboard,full-e2e,security-posture`, and correlation
`79d0de5b-6180-45be-a5c4-8258d44ec3c6`. This exception does not waive
that run or any failure it reports.
- Pre-merge `portable-hermes-finalization` remains self-referential. The
trusted controller on canonical main has not adopted this PR's
replacement native Podman staging action or Portable Hermes CLI restore
boundary, so it fails before candidate checkout and cannot exercise the
repair. This is inherited trusted-controller/base incompatibility, not
passing candidate evidence.
- The exception waives only the impossible pre-merge
`portable-hermes-finalization` execution for exact commit
`010d972ddb182ba3de0641b5f62e7f060453fa77`. It does not mark that lane
passed, waive any other check or automated review, supply human
approval, apply to a changed commit, or authorize protection bypasses.

### Merge gates

1. The deterministic-floor run must pass with exact-commit assertions
and cleanup verified.
2. Merge only if exact commit `010d972ddb182ba3de0641b5f62e7f060453fa77`
remains GitHub Verified and mergeable; every applicable check and
automated review is terminal and clear; the Advisor has no P0/P1
blocker; and an eligible human approval exists on this exact commit.
3. Do not synchronize solely because main advances. Any candidate-commit
change invalidates this exception and all exact-commit evidence.
Classify every new failure before repair, rerun, synchronization, or
revert.

### Required post-merge verification

1. Verify canonical main contains the replacement staging action and
workflow pins, the Portable Hermes restore action, exact provenance
binding, and boundary regressions from this PR.
2. From that exact canonical-main SHA, dispatch exactly one focused
trusted-main E2E with `jobs=portable-hermes-finalization`, a fresh
correlation ID, and an immutable dispatch receipt. Do not overlap or
duplicate it.
3. Verify the evidence chain binds the tested main SHA and workflow SHA,
restored exact-commit CLI artifact provenance, staged AMD64 and ARM64
toolchain asset identities and digests, finalization assertions, and
registered cleanup.
4. If staging, CLI restore, finalization assertions, or cleanup fail,
classify the failure and stop. Do not resume #12244. Correct or revert
this repair as the evidence requires. Do not use a broad rerun instead
of diagnosis.
5. Only after the focused post-merge run passes, record its receipt and
result on this PR. Then resume #12244 at its then-current exact commit,
collect a fresh Advisor plan, and continue without duplicating completed
fixes.

---
Signed-off-by: Rebecca Sliter <[email protected]>

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

* **Chores**
* End-to-end tests now download native toolchains from a pinned release
and verify their integrity before use.
  * Updated the workflow’s pinned action revisions.

* **Tests**
* Added checks to reject workflows with missing or outdated artifact
restore steps, unsafe execution settings, or incorrect provenance.
* Updated boundary tests to cover release asset and provenance
validation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Prekshi Vyas <[email protected]>
Signed-off-by: Aaron Erickson <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
Co-authored-by: Aaron Erickson 🦞 <[email protected]>
Co-authored-by: Prekshi Vyas <[email protected]>
Co-authored-by: Rebecca Sliter <[email protected]>
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance platform: container Affects Docker, containerd, Podman, or images labels Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance platform: container Affects Docker, containerd, Podman, or images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants