Skip to content

Build and publish a static Rust release binary with SHA256SUMS #708

Done

Description

@pithead-developer

What's the problem

release.yml publishes a source bundle and SHA256SUMS only. There is no compiled artifact for rigs or the appliance to receive.

What it impacts

The release workflow, RELEASING.md, and every consumer of the binary (#709, #710).

How I found it

Reading .github/workflows/release.yml and RELEASING.md at ea41133; the ADR from #707 fixes the delivery path this issue implements.

How important is it

Blocks any default flip; no product behavior changes by itself.

Acceptance criteria

  • release.yml builds x86_64-unknown-linux-musl with --locked, stripped, from the pinned toolchain, and attaches it to the release; SHA256SUMS covers it.
  • CI asserts the artifact is statically linked and runs inside the pinned ubuntu:24.04 e2e image.
  • The binary reports a version equal to VERSION.
  • Two builds at the same commit give the same SHA-256, or the ADR states why not.
  • aarch64 is built the same way or recorded as unsupported per the ADR.
  • Existing release checks pass (tests/test-docs-clone-pin.sh, the release-latest.yml latest rule). make check passes.

Possible solutions

  • Reproducibility aids: pinned toolchain, --locked, SOURCE_DATE_EPOCH.
  • Build once in the release job and reuse the artifact for the e2e container check.

Activity

  1. added this to the v1.20.0 milestone on Nov 17, 2026
  2. added
    infra
    security
    blocked
    P4-code-health
    size:M
    on Nov 17, 2026
  3. removed
    blocked
    on Nov 17, 2026
  4. pithead-developer commented on Nov 17, 2026

    @pithead-developer
    ContributorAuthor

    Owner ruling 2026-11-17: x86_64 (x86_64-unknown-linux-musl) is the main target and its build is a required gate. aarch64 (aarch64-unknown-linux-musl) is best effort: built in a separate, non-required CI job and published as a release asset when it builds; an aarch64 failure never blocks a merge or a release. The release zip and tar.gz carry the binary for each architecture that built, listed in SHA256SUMS.

  5. pithead-developer commented on Nov 17, 2026

    @pithead-developer
    ContributorAuthor

    Owner support policy and packaging pattern, 2026-11-17:

  6. pithead-developer commented on Nov 27, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #871.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4-code-healthinfrasecuritysize:M

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions