Skip to content

impl(056): part c, the qualification workflow - #329

Merged
bartekus merged 1 commit into
impl/056-harnessfrom
impl/056-workflow
Oct 27, 2026
Merged

bartekus merged 1 commit into
impl/056-harnessfrom
impl/056-workflow

Conversation

@bartekus

@bartekus bartekus commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Spec 056, part c: the qualification workflow. Stacked on #328.

  • .github/workflows/qualify.yml (056 3.3), dispatched after publication with the release tag. It downloads release-manifest.json and its .sig from the hosted release, installs the pinned toolchain and the manifest's MSRV, and runs tools/rustev-release/qualify.sh on each of release.yml's seven platforms (spec 027 3.13.1). The musl platforms run the harness in an Alpine 3.22 container (pinned by digest) on the host, so the harness sees the platform's libc.
  • Each platform's step files are uploaded as qualify-<platform>; rustev-release qualify over the collected evidence records the lifecycle, never this workflow.
  • Read-only permissions (contents, attestations); actions pinned as in release.yml. Not a required check, so not in ci.extra_required_jobs.
  • A change under .github/workflows/, so it needs the owner's statecraft-review-exception approval once.
  • Spec 056: part c record, and what remains for implementation: complete.

Checked locally: actionlint, make gate.

Review note (7d7dc75): fixed. The Alpine image is pinned by its multi-platform index digest (alpine@sha256:2e0b81d6...), like the actions' commit pins.

@github-actions

Copy link
Copy Markdown

AI review (findings)

Reviewing the two changed files for bugs, security problems, and inconsistencies.

.github/workflows/qualify.yml

Every GitHub Action in this workflow is pinned by commit SHA (good security posture):

  • actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
  • actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
  • actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a

However, at line ~89 in the Alpine container step, the Docker image is referenced by a mutable tag rather than a digest:

docker run --rm … alpine:3.22 sh -euc '…'

alpine:3.22 is a floating tag: Alpine publishes patch updates that silently repoint it. This is inconsistent with the rest of the workflow's pinning posture, breaks the determinism guarantee stated in Constitution §IV and §XIII, and is a supply-chain risk since the musl qualification runs inside this container. It should be pinned with a digest, e.g. alpine:3.22@sha256:<digest>.

No other concrete defects found. The tag validation (case "$TAG" in v*)), GH_TOKEN scoping, cancel-in-progress: false, if-no-files-found: error, and the conditional handling of alpine vs non-alpine paths all look correct. The spec update in 056 accurately describes part c and correctly lists what remains for implementation: complete.

{"head": "ad9c0a824aaec2e77b6c392ffff24a14d7ef15c8", "verdict": "findings", "findings": [{"path": ".github/workflows/qualify.yml", "line": 89, "summary": "Alpine Docker image is referenced as the mutable tag `alpine:3.22` rather than a pinned digest, inconsistent with all other actions in this workflow which are pinned by commit SHA, and a supply-chain risk for the musl qualification path."}]}

Subject: 5ae419d...ad9c0a8, diff digest af649e0a22e13ce229e6be15303376db6f65fa1ccb9e32965d85f5ed8ba672c8, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 27, 2026 15:57 — with GitHub Actions Error
@github-actions

Copy link
Copy Markdown

AI review (no-findings)

Reviewing the two changed files against the governance context and the diff.

.github/workflows/qualify.yml (new file)

  • Pinned action hashes with version comments; commit-pinning is present on all three external actions.
  • workflow_dispatch-only trigger; concurrency.cancel-in-progress: false is correct for a post-release qualification run.
  • The case "$TAG" in v*) ... guard in the "signed manifest" step fires after actions/checkout already consumed the tag as ref: refs/tags/${{ inputs.tag }}. The checkout would simply fail on an invalid ref before the guard runs, so there is no execution-before-validation gap -- the guard is there for the gh release download call, not the checkout.
  • The msrv value is extracted from the downloaded manifest and written to $GITHUB_OUTPUT before qualify.sh verifies the signature. This is an ordering concern, but the manifest comes from the project's own signed GitHub release, and downstream use is limited to rustup toolchain install, where rustup validates toolchain name format. No exploitable chain is present given the trust model.
  • Alpine container is pinned by digest (alpine@sha256:...); multi-arch resolution is correct (x64 host gets x64 variant, arm64 host gets arm64 variant).
  • if: ${{ always() }} on upload combined with if-no-files-found: error means a failed qualify run will surface the artifact absence as an error rather than silently passing -- this appears intentional.
  • Seven matrix entries match the "seven platforms" stated in both the workflow comment and the spec text.

specs/056-release-0-1-1-and-consumer-qualification/spec.md

  • Part c addition correctly describes the workflow: dispatched with a tag, downloads signed manifest, installs pinned + MSRV toolchains, runs qualify.sh on all seven platforms, musl platforms in Alpine-by-digest, uploads per-platform evidence, not a required check.
  • Remaining-for-complete list is consistent with the workflow scope.
  • No lifecycle or ownership field changes are visible in the diff.

Nothing in the diff constitutes a concrete defect.

{"head": "7d7dc7579a1d2134c34accfe646838d07b4ea3e5", "verdict": "no-findings", "findings": []}

Subject: 5ae419d...7d7dc75, diff digest 51c31f2fc41117cdcbeb70f7c35705584ebc2eb27cf732218f8256e1d29f9dad, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus temporarily deployed to statecraft-review-exception October 27, 2026 16:19 — with GitHub Actions Inactive
@bartekus
bartekus had a problem deploying to statecraft-review-exception October 27, 2026 17:35 — with GitHub Actions Error
@github-actions

Copy link
Copy Markdown

AI review (no-findings)

Reviewing the two changed files for bugs, security issues, and inconsistencies.

.github/workflows/qualify.yml

  • Pinning: All three actions (checkout, setup-node, upload-artifact) are pinned by full SHA digest with version comments. The Alpine image is pinned by multi-platform index digest (alpine@sha256:...). Good practice throughout.
  • Shell injection: TAG arrives from inputs.tag and is always used via the env var ("$TAG") with proper quoting. Template expressions (${{ inputs.tag }}) appear only in with: / env: / concurrency.group contexts where they are not shell-expanded by the host. No injection path.
  • GITHUB_OUTPUT writes: version, pinned, and msrv are written to $GITHUB_OUTPUT. The pinned value is extracted by a doubly-anchored sed pattern from a checked-out repo file; the msrv value is extracted by Python's json.load, which rejects raw newlines in JSON strings. Both paths are adequately bounded.
  • Tag validation ordering: The case "$TAG" in v*) ... guard runs in the release step, which executes after the actions/checkout step already consumed inputs.tag. An invalid tag would fail at checkout with a generic error rather than the workflow's diagnostic, but the job still fails correctly. This is a minor ordering issue, not a security or correctness defect.
  • Alpine container: Env vars (GH_TOKEN, VERSION, PINNED, MSRV) are passed with -e; the script inside single-quotes is not shell-expanded by the host and is processed by the container's sh -euc. GH_TOKEN scope is contents: read and attestations: read — appropriate for download-only use.
  • Artifact upload with if: always(): if-no-files-found: error ensures the step fails if qualify produced nothing, which is the intended behavior.
  • Manifest use before signature verification: The MSRV/pinned values are extracted from the downloaded manifest before qualify.sh (which presumably verifies the .sig) runs. The manifest comes from the project's own GitHub release, so the trust boundary is acceptable here.

specs/056-release-0-1-1-and-consumer-qualification/spec.md

The Part c description accurately matches the workflow: seven platforms, musl platforms in Alpine pinned by digest, artifacts named qualify-<platform>, lifecycle recording done offline via rustev-release qualify, not a required check. The "Remaining for implementation: complete" list is consistent with the implementation state.

No concrete defects found.

{"head": "4bf7215b6ab2fc70dd490eebaf73dd3deaa42ce4", "verdict": "no-findings", "findings": []}

Subject: 432b029...4bf7215, diff digest 51c31f2fc41117cdcbeb70f7c35705584ebc2eb27cf732218f8256e1d29f9dad, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus temporarily deployed to statecraft-review-exception October 27, 2026 18:02 — with GitHub Actions Inactive
@bartekus
bartekus merged commit 29c54df into impl/056-harness Oct 27, 2026
7 of 9 checks passed
@bartekus
bartekus deleted the impl/056-workflow branch October 27, 2026 18:24
@bartekus
bartekus had a problem deploying to statecraft-review-exception October 27, 2026 18:26 — with GitHub Actions Error
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 27, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 28, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.
bartekus added a commit that referenced this pull request Oct 28, 2026
Spec 056, part c: the qualification workflow. Stacked on #328.

- `.github/workflows/qualify.yml` (056 3.3), dispatched after
publication with the release tag. It downloads `release-manifest.json`
and its `.sig` from the hosted release, installs the pinned toolchain
and the manifest's MSRV, and runs `tools/rustev-release/qualify.sh` on
each of release.yml's seven platforms (spec 027 3.13.1). The musl
platforms run the harness in an Alpine 3.22 container (pinned by digest)
on the host, so the harness sees the platform's libc.
- Each platform's step files are uploaded as `qualify-<platform>`;
`rustev-release qualify` over the collected evidence records the
lifecycle, never this workflow.
- Read-only permissions (`contents`, `attestations`); actions pinned as
in release.yml. Not a required check, so not in
`ci.extra_required_jobs`.
- A change under `.github/workflows/`, so it needs the owner's
`statecraft-review-exception` approval once.
- Spec 056: part c record, and what remains for `implementation:
complete`.

Checked locally: `actionlint`, `make gate`.

Review note (7d7dc75): fixed. The Alpine image is pinned by its
multi-platform index digest (`alpine@sha256:2e0b81d6...`), like the
actions' commit pins.

This branch was successfully deployed

No deployments
statecraft-review-exception — 4bf7215b Deployed Oct 27, 2026 by bartekus via review-exception #2425
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant