Review found that a run on main still treated main's tip as the commit
under test in several places, and shared concurrency groups with pushes.
- Concurrency: 14 nested workflows keyed their group on the ref, or on
"tag". A stable run is on main, so a push could cancel its checks. They
now use the run id when the caller passes a commit, and never cancel.
- Docker and Nix archived, stamped and labelled GITHUB_SHA. They now use
CANDIDATE_COMMIT, which is the commit input or the triggering commit.
- Install e2e compared the package manifest with GITHUB_SHA. It now reads
HERMES_TESTED_COMMIT.
- e2e-desktop rewrote the visual baselines whenever the ref was main. A
stable run now only compares.
- The lint test checks the value each nested call passes, every
concurrency group, and any other use of the triggering ref or SHA.
Stable Release will run from the default branch, so GITHUB_SHA will no
longer be the claim commit. Each reusable workflow reachable from it now
takes an optional `commit` input, and its checkouts use it.
An empty input keeps today's behavior for PR and push runs. A lint test
walks the workflow graph and fails when a lane cannot be told which commit
to test, when a call does not forward it, or when a checkout ignores it.
The packaged-install jobs now need `admit` directly. A job only sees the
outputs of its direct needs.