Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

release: make the .deb attestation step non-fatal

Claude6365847ee651
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1a9f71cf..19553424 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -111,7 +111,12 @@ jobs:
# the release's assets, which anyone who can edit a release can swap together with
# checksums.txt, and its job can be re-run without approval; so an attestation from it
# proves only what the release held when it ran. The apt job asks for this predicate type.
+ #
+ # Non-fatal: the release is already published by now, and a failure here (a Sigstore or
+ # attestation API error) must not skip the .pkg, MSI and finalize, which need this job to
+ # succeed. Without the attestation the apt job refuses this tag's packages and fails alone.
- name: Attest the Linux packages goreleaser built
+ continue-on-error: true
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
with:
subject-path: cli/beacon/dist/*.deb
diff --git a/CLAUDE.md b/CLAUDE.md
index dd0b00a1..11ed0f0c 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -278,7 +278,9 @@ A pushed `v*` tag runs the full release end-to-end via
Homebrew tap. It then attests the `.deb` files from its own `dist/` with
`actions/attest` and this repository's predicate type
(`.../attestations/goreleaser-deb/v1`), which the apt repository requires
- (`id-token: write`, `attestations: write` on that job).
+ (`id-token: write`, `attestations: write` on that job). The step is
+ `continue-on-error`, because the release is already published by then: a
+ failed attestation fails only the apt job, never the `.pkg`, MSI or finalize.
2. `package` (macOS, `needs: goreleaser`, `environment: release`) builds the
Apple Silicon `beacon`/`beacon-hooks` package payload plus arch-matched
collector and Vector binaries for `darwin_arm64`, then signs, notarizes,