Repository navigation
Description
Objective. Make the release workflow fail closed across the platform matrix: a failure on any platform must block the release, and a partial release must not be publishable.
Why. The release workflow publishes from a tag push, but it does not aggregate the platform matrix into one gate. A Windows job that fails while the Linux job passes can still leave a release whose artifacts are incomplete — or, worse, a release published with the Linux artifact only, whose existence implies a complete set. For a project whose whole proposition is "a replacement you can depend on for years", a release that silently shipped half its platforms is the worst possible defect: it is invisible until a user on the missing platform hits it.
Current state. The workflow publishes from a tag push and the platform jobs exist, but the aggregate gate and the draft-until-complete rule are not in place. The release job in .gitforge.yml runs the web bundle's bridge smoke and the native set's DEB read-back on every push, which gives per-platform evidence; the cross-platform aggregate is what is missing.
Work
- Aggregate the matrix into one gate. Every required platform job must reach a terminal acceptable result before the release is published. A failed, cancelled, or missing platform job blocks the aggregate.
- Draft until complete. The release stays a draft until every required artifact, its checksum, and its platform launch receipt exist. A draft cannot be mistaken for a shipped release by a user browsing the releases page.
- Fail closed on missing evidence. A platform job that never ran (skipped by a path filter, missing a runner, cancelled by a timeout) counts as a failure, not as an absence. A gate that treats "no result" as "no problem" is not fail-closed.
- Keep production publication gated on explicit maintainer approval — the aggregate gate makes the release eligible; approval makes it published.
Acceptance
- A deliberately failed platform job leaves no published release. This is the discriminating test: the gate must be shown to fail, not merely to exist.
- A deliberately skipped platform job also leaves no published release (the "missing evidence" case).
- A green matrix produces a draft release carrying every required artifact, its checksum, and its launch receipt.
- The publish step is not reachable without the explicit maintainer approval step.
Verification. Two deliberate-failure runs (one failed job, one skipped job), each showing no published release in the authoritative store; plus one green run showing the complete draft.
Tracking: task #177; campaign RP-07.
Next action (owner: release). Implement the aggregate gate with the skip-counts-as-failure rule first, then run the deliberate-failure test. A gate whose failure mode has never been observed is an assumption, not a gate.
Activity
aliasfoxkde commentedon Nov 10, 2026
Tracked as T27-17, T27-18, T27-19 and T27-58 in the release ledger; this issue carries it.
aliasfoxkde commentedon Nov 10, 2026
Status: IN PROGRESS
Landed:
.gitforge.ymlonmainruns a release job on every push whose web step isdist --weband whose native step isdist --native, and the workflow hardening (pinned actions, least privilege) is tracked separately in #97.Still outstanding: the aggregate has never been exercised end to end. The upload step had a broken argument form (
assets+=(-a "$f"), whichgh release createdoes not accept), so the draft-release upload was never actually reachable; the artifact-shape rejection rules (missing, mislabeled, empty, duplicate, wrong-version, wrong-commit, checksum-mismatched, skipped platform) are rehearsed locally only (board row T27-58); and the whole flow has never run against a disposable tag (T27-19).Next: run the aggregate against a disposable test tag and confirm a deliberately failed platform job leaves no published release. Owner: release engineering.
aliasfoxkde commentedon Nov 11, 2026
Campaign fields (appended 2026-11-11)
Outcome — One tag push produces one aggregate release that is fail-closed: any failed or missing platform job blocks it, and no partial release is published.
Objective — Aggregate the platform matrix into a single gate so a failure on any platform blocks the aggregate release; keep the release a draft until every required artifact and its checksum exist; keep production publication gated on explicit maintainer approval.
Stopping condition — A deliberately failed platform job on a disposable test tag leaves no published release, and the aggregate's rejection rules (missing, misnamed, empty, duplicate, wrong-version, wrong-commit, checksum-mismatched, skipped platform) are exercised against a real tag rather than rehearsed locally.
Verification — The "Fail-closed aggregate validation" step of
.github/workflows/release.ymlpluspackaging/release-assets.sh; the rehearsal is a Release workflow run on a disposable test tag whose conclusion is failure, with the release list showing no new published release.Status — IN PROGRESS
Tracking: task #177; campaign RP-07; ledger rows T27-17, T27-18, T27-19, T27-58.
Defects: B-4, B-21.
aliasfoxkde commentedon Nov 24, 2026
Addressed: release orchestration tracked in consolidated PR #186