Skip to content

fix(ci): preserve native Podman E2E toolchain inputs - #12550

Merged
rsliter merged 38 commits into
mainfrom
codex/fix-e2e-ci-prerequisites
Oct 13, 2026
Merged

rsliter merged 38 commits into
mainfrom
codex/fix-e2e-ci-prerequisites

Conversation

@ericksoa

@ericksoa ericksoa commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Outcome

Restore trusted Podman E2E startup after the current source-run artifacts expired. The staging action now retrieves the unchanged reviewed AMD64 and ARM64 toolchains from pinned release assets and republishes the same per-run artifacts consumed by the existing setup action.

Reason

Trusted PR E2E run 38210759366 for #12244 stopped before candidate checkout because source-run artifacts 11528275310 and 11528091073 had expired. Selecting another retained workflow artifact would reproduce the failure after its retention window.

Changes

  • Bind retrieval to release ID 400756116, tag, source revision, exact asset IDs, names, sizes, and SHA-256 digests. Verify each ZIP before extraction and verify every payload checksum.
  • Preserve the per-run artifact names, downstream manifest checks, read-only token scope, and staging-before-candidate ordering.
  • Consolidate both architecture download paths into one integrity-preserving helper, then pin the repaired action at commit 19eb13446b3eb5e41cca2e65b44c9b33c963a595 while retaining current main workflow behavior, including portable Hermes selection and reviewed candidate OpenShell resolution.
  • Update the existing workflow-boundary mutation inputs and policy integrity hash. The boundary suite protects the durable release identity and fail-closed ordering; switching to another short-lived Actions artifact would not satisfy the requirement.

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 on 3cfcebe2fcbe82f9b1e003878fcdfd5678998fc8.
  • npm run checks:repository - all 18 selected repository checks passed in a credential-isolated environment.
  • npx --no-install oxfmt --check test/e2e/support/shared-e2e-workflow-boundary.test.ts tools/e2e/workflow-boundary-policy.mts - passed.
  • GitHub release metadata check - release 400756116 and assets 602749331 and 602749330 remain uploaded with the pinned names, sizes, and SHA-256 digests.
  • Action integrity check - the repaired action is SHA-256 7fd90d4dc1fbed1c0c037a33239e68ab29ff7e937744743398d87cf834ac5c2a, matching the policy pin.
  • Diff review - exactly four 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 tools/e2e/workflow-boundary-policy.mts. The refreshed diff was reviewed against canonical main for immutable identity checks, checksum ordering, read-only credentials, candidate isolation, and fail-closed behavior. Original head 6333b1cd8e11c0c73830843a07741da6bde1feb5 had completed hosted CI and automated review; the exact-head Advisor P1 duplication finding was repaired; independent checks and review for latest head 3cfcebe2fcbe82f9b1e003878fcdfd5678998fc8 are pending.


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

Summary by CodeRabbit

  • Tests
    • End-to-end testing now uses native Podman toolchains from a pinned release for both supported processor architectures.
    • Before use, the toolchain packages are checked against the release and asset details, their archive integrity is verified, and extracted files are checked against published checksums. This helps ensure test runs use the expected, intact toolchains.
  • Chores
    • Updated the reviewed toolchain reference used by the end-to-end workflow.

prekshivyas and others added 30 commits September 29, 2026 18:16
@copy-pr-bot

copy-pr-bot Bot commented Oct 1, 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 1, 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: ebfda35a-5ac9-4e24-a947-61c07cad3813

📥 Commits

Reviewing files that changed from the base of the PR and between 95952b5 and 3cfcebe.


📒 Files selected for processing (3)
  • .github/actions/stage-native-podman-e2e-toolchains/action.yaml
  • .github/workflows/e2e.yaml
  • 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; 7 remain after this review.



📝 Walkthrough
📝 Walkthrough

Walkthrough

The staging action validates release 400756116 and its amd64 and arm64 assets. It downloads and verifies both archives. The E2E workflow pins the updated action revision, and boundary tests and provenance data reflect release-based staging.

Changes

Native Podman toolchain staging

Layer / File(s) Summary
Release and asset validation
.github/actions/stage-native-podman-e2e-toolchains/action.yaml
The action checks the release tag, target commit, and draft status. It also checks each architecture’s asset ID, name, upload state, digest, and size.
Download and verify toolchain assets
.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
The action downloads each release asset, verifies its archive SHA-256 and SHA256SUMS, extracts it, and removes the archive. The workflow pin, mutation cases, and recorded content hash are updated.

Priority: ➖ Normal

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix

Sequence Diagram(s)

sequenceDiagram
  participant E2EWorkflow
  participant StagingAction
  participant GitHubReleaseAPI
  participant Workspace
  E2EWorkflow->>StagingAction: Invoke pinned staging action
  StagingAction->>GitHubReleaseAPI: Validate release and architecture assets
  GitHubReleaseAPI-->>StagingAction: Return release and asset metadata
  StagingAction->>GitHubReleaseAPI: Download each asset
  GitHubReleaseAPI-->>StagingAction: Return asset archive
  StagingAction->>Workspace: Verify archive, extract files, verify SHA256SUMS, remove archive
Loading

Suggested reviewers: deepujain


Merge Risk: ⚪ Minimal · up to 3cfce

The inspected staging and workflow changes are aligned, with no actionable merge-blocking issue identified. Normal checks can proceed.

Pre-merge checks | Passed 5
✅ 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 and concisely describes the main change: preserving native Podman E2E toolchain inputs in CI.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR

🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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

@github-code-quality

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

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 3cfcebe in the codex/fix-e2e-ci-pre... 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/fix-e2e-ci-pre... 3cfcebe +/-
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 3cfcebe in the codex/fix-e2e-ci-pre... 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/fix-e2e-ci-pre... 3cfcebe +/-
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...try/snapshot.ts 0% 73% +73%
src/lib/actions...ry/operation.ts 0% 76% +76%
src/lib/inferen...ovider/index.ts 0% 88% +88%
src/lib/onboard...ternal-image.ts 0% 91% +91%

Updated October 12, 2026 14:04 UTC

@ericksoa
ericksoa marked this pull request as ready for review October 1, 2026 08:45
@ericksoa ericksoa closed this Oct 1, 2026
@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: arm64 Affects ARM64 or aarch64 architecture platform: container Affects Docker, containerd, Podman, or images labels Oct 6, 2026
@rsliter rsliter reopened this Oct 12, 2026
@rsliter
rsliter marked this pull request as draft October 12, 2026 12:45
@rsliter
rsliter marked this pull request as ready for review October 12, 2026 13:28
@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 3cfcebe. 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

@rsliter

rsliter commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Bootstrap exception authorization for exact head 3cfcebe\n\nRebecca authorized a narrowly scoped bootstrap exception for the Advisor-selected portable-hermes-finalization E2E.\n\nEvidence:\n- Advisor run: https://github.com/NVIDIA/NemoClaw/actions/runs/38260311331\n- Trusted E2E run: https://github.com/NVIDIA/NemoClaw/actions/runs/38261537469\n- Verified v2 receipt artifact: 11753305423\n- Retained result artifact: 11753245775\n- Classification: inherited trusted-main infrastructure and evidence-expiry failure. The run failed in generate-matrix before candidate checkout or execution because canonical main invoked action 5ec38cf, which references expired artifacts 11528275310 and 11528091073.\n- Latest inspected canonical main ef5d55d still contains that action pin and those expired artifact IDs.\n\nThis exception does not treat the failed run as passing evidence. It waives only the impossible pre-merge manual E2E for this self-referential infrastructure repair. Merge still requires the same exact head, terminal clean checks and automated review, mergeability, and eligible human approval.\n\nAfter merge, the repair must be verified on canonical main before dependent work advances. Then exactly one fresh trusted portable-hermes-finalization E2E will be dispatched for PR #12244 from the repaired canonical-main workflow. If post-merge verification fails, dependent work stops and the repair is reverted or corrected. Rollback is conditional on failed verification, not automatic.

@rsliter rsliter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Independent review of exact head 3cfcebe2fcbe82f9b1e003878fcdfd5678998fc8 against base 639a4c6bac2687ec1fc48ea9a5e8d81a84312a7a.

Verdict

PASS. I found no actionable code or security finding in the four-file repair. The change preserves the trusted pre-candidate boundary, replaces expiring workflow artifacts with exact release assets, and fails closed on identity or integrity mismatch. This is a non-approving review and does not satisfy the eligible-human approval gate.

Findings

None.

Security rubric

  1. Secrets and credentials: PASS. The action receives only the workflow's read-only GitHub token, does not log it, and runs before candidate checkout.
  2. Input validation and sanitization: PASS. Release ID, tag, target commit, draft state, asset IDs, names, upload state, sizes, and digests are all exact constants; paths are fixed under RUNNER_TEMP and quoted.
  3. Authentication and authorization: PASS. The owning job retains read-only actions, contents, and pull-requests permissions. No permission was added or widened.
  4. Dependencies and third-party code: PASS. Workflow actions use immutable commit pins. Release assets are selected by immutable IDs and independently checked against pinned SHA-256 digests.
  5. Error handling and logging: PASS. set -euo pipefail and explicit jq, archive, and payload checks stop the job before candidate execution or artifact publication on failure.
  6. Cryptography and data protection: PASS. Each downloaded ZIP is SHA-256 verified before extraction, then its authenticated SHA256SUMS is checked after extraction.
  7. Configuration and security defaults: PASS. Native Podman staging stays conditional on the existing Podman and Portable Hermes selectors and does not weaken runner or workflow permissions.
  8. Security testing: PASS. The boundary policy pins the complete action content digest. Mutation tests cover asset ID, digest, release ID, verification order, action reference, execution condition, and staging order. Independent rerun: 250/250 tests passed.
  9. System security: PASS. Staging remains before candidate checkout and workspace preparation. Both architecture assets must download and verify before either per-run artifact can publish, and downstream consumers retain exact-file, manifest, checksum, and no-symlink checks.

E2E evidence

The exact-head Advisor recommended exactly one manual selector: jobs=portable-hermes-finalization. No other Advisor specialist recommended an additional selector.

That selector was dispatched once in run 38261537469. It failed in generate-matrix before candidate checkout because canonical main still invoked action 5ec38cfc369b3dac4df5207d8dda20805a72cbda, whose source artifacts had expired. Candidate execution was skipped. The bootstrap exception waives only this impossible pre-merge run for this exact head; it does not count the run as passing.

Local evidence reviewed: exact action content hash 7fd90d4dc1fbed1c0c037a33239e68ab29ff7e937744743398d87cf834ac5c2a; release 400756116 and assets 602749331 and 602749330 match the pinned names, sizes, and digests; focused boundary suite passed 250/250.

@rsliter rsliter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved for exact head 3cfcebe based on the independent PASS review submitted on 2026-10-13. The four-file repair has no actionable code or security findings, preserves the trusted pre-candidate boundary, pins immutable release assets with fail-closed identity and integrity checks, and has terminal clean exact-head CI and automated review. The recorded bootstrap exception applies only to the impossible pre-merge portable-hermes-finalization run; post-merge verification on canonical main remains required.

@rsliter
rsliter merged commit c3941ba into main Oct 13, 2026
@rsliter
rsliter deleted the codex/fix-e2e-ci-prerequisites branch October 13, 2026 21:45
deepujain added a commit that referenced this pull request Oct 13, 2026
Use the bare HTTPS-pin route for Anthropic Messages so SDK requests match
the admitted /v1/messages path. Preserve OpenAI routing and exact transport
validation. Restore hosted-native export refusal coverage, correct the
fixture log newline, and cover custom-hosted fixture path selection.

Integrate main after #12550 merged, resolving its toolchain staging
conflicts with the reviewed release-backed action and matching provenance.

Validated 525 workflow/receipt tests, 110 export tests, 10 transport tests,
onboarding smoke, CLI typecheck, and isolated normal hooks.

Signed-off-by: Deepak Jain <[email protected]>
rsliter added a commit that referenced this pull request Oct 13, 2026
## 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 c3941ba^ HEAD`
- the resulting tree exactly matches the parent of #12550's squash
commit.
- Diff review - exactly the four #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]>


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

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

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

Signed-off-by: Rebecca Sliter <[email protected]>
Co-authored-by: Rebecca Sliter <[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]>
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: arm64 Affects ARM64 or aarch64 architecture platform: container Affects Docker, containerd, Podman, or images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants