Repository navigation
fix(ci): revert native Podman E2E toolchain inputs - #13118
Conversation
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]>
|
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. |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 1613f65 in the Show a line coverage summary of the most impacted files.
TypeScript / code-coverage/cliThe overall line coverage in commit 1613f65 in the Show a line coverage summary of the most impacted files.
Updated |
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
|
Thanks for the quick, tightly scoped revert. LGTM. The four files exactly match c3941ba^. There are no other changes, and no later commit on main touches these files. |
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]>
## 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]>
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.cjsmodule. The maintainer requested reverting #12550 until that prerequisite can be merged safely.Changes
c3941bab1fdd0c565550731103fdd051cf54001a.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.Review notes
Sensitive paths are
.github/actions/stage-native-podman-e2e-toolchains/action.yaml,.github/workflows/e2e.yaml, andtools/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