Skip to content

Release pipeline: verifiable engine binaries on every tag #70

Done

Description

@jmmana

Goal

The engine binaries become part of the supply chain of every package, so each one must be traceable to a commit and verifiable before it runs.

Acceptance criteria

  • On tag v*, the binaries from the build matrix are attached to the GitHub Release with SHA256SUMS, from the same commit as the PyPI release
  • Build provenance attestations (actions/attest-build-provenance); docs/PROTOCOL.md shows how to check them with gh attestation verify
  • scripts/fetch-engine.py <version> downloads and verifies the binaries; the Node, .NET and Java packaging jobs use it and fail on any checksum mismatch
  • Versions move in lockstep: engine and every language package share the version; clients refuse an engine with a different major or protocol version
  • Minimal permissions: contents: write only in the upload job, id-token: write and attestations: write only for attestation

Relevant files

  • .github/workflows/release.yml
  • scripts/fetch-engine.py
  • docs/PROTOCOL.md

Size

M (one to two days)

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:securitylang:pythonsize:mtype:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions