The pre-build dispatch log must not fail the build: admission, the next
step, refuses bad inputs with its own error. Since 19f57f1649 a tagless
commit dispatch off main builds its replay through
tagless_dispatch_command, whose require_commit raises on a malformed
BUILD_COMMIT, so the log step failed first with a less useful message.
Channel replays had the same exposure through channel_build's
dispatch_command.
release_command now returns no replay when building it raises
ValueError, for both kinds.
Found by the Sol review loop on #158714.
Since 36d5ae1303, release.py --build-commit dispatches the tagless
desktop-bundled-release.yml build when the repository's default branch
isn't main. The pre-build dispatch log still called every tagless commit
dispatch a legacy one that no release.py command recreates, so the run
started by that fallback printed no replay command.
dispatch_log.release_command now returns commit_build's
tagless_dispatch_command for a tagless commit dispatch whose default
branch isn't main (same all-jobs, no-upgrade, no-upload conditions as a
channel replay), and report prints its release.py and workflow lines.
From main it still says the run is one release.py no longer sends.
Found by the Sol review loop on #158714.
372116c747 answered Greptile's renamed-branch finding by refusing
--build-commit outright when the repository's default branch isn't the
Stable Release controller branch, so a fork defaulting to develop lost
the commit build that main gave it.
On such a repository --build-commit now dispatches the tagless
desktop-bundled-release.yml build on the default branch, exactly what
main did (commit_build.admit accepts the default branch there). No
claim is created, because Stable Release would refuse its run.
--only/--with/--without need Stable Release, so they are still refused
there before anything is dispatched. The page is the tagless
releases/commit/<sha>/index.html.
Reported by @kshitijk4poor on #158714.
commit_supports_claim_tag chose the claim path when a commit's tree had
the three claim-tag readers (is_commit_tag, COMMIT_TAG_RE, the
canary|commit pattern). The PR's own first commit, bd507fa031, has all
three but none of the packaging: its desktop_inputs still pops
HERMES_BUILD_COMMIT for every tag and desktop_prepare reads only
canary_timestamp, so a claim on it failed its native builds with
"stable preparation requires its exact claim tag" instead of taking the
tagless path. Any git show failure also returned "legacy", so a failed
read looked like an old commit.
A claimed tree now declares the contract its packaging honours in
scripts/releases/commit_claim_build.txt, read with git (never by running
the tree). No file means the tagless path; a contract outside
stable.CLAIM_BUILD_VERSIONS, or any failed read, raises and stops the
run in stable verify. Every commit of this PR before this one now builds
as legacy, which works for all of them.
Reported by @kshitijk4poor on #158714.
In no-push commit mode, a GHCR miss previously built and passed a
job-local image tag (hermes-termux-builder-local:<short>) to
termux_build.sh, which unconditionally runs `docker pull` and inspects
`RepoDigests[0]`. Both fail on a local-only tag.
Fall back directly to the checkout's digest-pinned base image
(termux/termux-docker@<digest>) on a GHCR miss in both
scripts/termux/build_builder_image.sh (--no-push /
TERMUX_BUILDER_NO_PUSH=1) and .github/actions/build-termux-deb/action.yml
(for pre-PR checkouts). termux_build.sh pulls that pinned image, records
its RepoDigests[0], and provisions the container build toolchain when
clang/git are absent.
Add end-to-end replay tests through the real termux_build.sh wheelhouse
step for both current and pre-PR checkouts.
Addresses Sol S9 on #158714.
Extract the shared secret-free Termux payload staging, builder-image
setup, wheelhouse build, and .deb assembly steps from termux-deb-release
and termux-deb-commit into .github/actions/build-termux-deb/action.yml,
checked out from github.sha via sparse-checkout so both release lines and
pre-PR commit claims resolve the controller's action.
Literal cache-mode, job permissions, setup-pm cache flags,
archive_inputs, and APT GPG signing steps stay in the separate release
and commit jobs; termux-deb-commit passes save-caches: false,
push-builder-image: false, and no github-token.
Addresses Greptile P2 thread on #158714.
termux-deb-commit previously inherited the workflow-wide permissions
(including packages: write and contents: write), inherited job-level
GH_TOKEN and R2 credentials from termux-deb-release, and handed
GITHUB_TOKEN to the claimed checkout's build_builder_image.sh, letting
unreviewed commit code overwrite the shared GHCR builder image that
trusted release builds consume.
- Give termux-deb-commit explicit read-only permissions (contents: read,
packages: read) and keep GH_TOKEN and R2 secrets out of its job-level
env.
- Add --no-push / TERMUX_BUILDER_NO_PUSH=1 support to
scripts/termux/build_builder_image.sh so registry misses build and
smoke a job-local image (hermes-termux-builder-local:<short>) without
docker login or docker push.
- Run termux-deb-commit's builder-image step with no GITHUB_TOKEN and a
local-only fallback for pre-PR checkouts lacking TERMUX_BUILDER_NO_PUSH.
Addresses Sol S2 on #158714.
A commit build's only output is the page of the bundles it built, but
--build-commit --only smoke (or --without both desktop lanes) selected
no bundle lane. The CLI still pushed a claim, dispatched a run in which
no job ran, and printed a builds-page URL that never appears.
require_allowed now refuses a commit lane set with no bundle lane. It
backs both lanes.select (the CLI, before any tag exists) and
stable.stamped_claim (admission), so a hand-written claim is refused
too. Termux alone still counts as a bundle.
--build-commit dispatches Stable Release on the repository's default
branch, but stable.check_controller admits only the main-branch
controller. In a repository whose default branch is not main, the CLI
pushed the claim tag and the run then failed admission, leaving the
claim behind.
Refuse before the claim exists, naming both branches. Stable and canary
claims already require main; commit claims now share that controller.
A claim of a commit from before claims builds Termux through that tree's
tagless --commit path, whose build_deb.sh stamps X.Y.Z+commit<sha12>
(since 063cf4428a, the first tree with a commit mode). The recorder and
the candidate validator both expected X.Y.Z-1, so every legacy claim
that selected Termux failed at staging.
Expect X.Y.Z+commit<sha12> in both. The recorder test builds a real .deb
with dpkg-deb, and the validator fixture now carries that version.
commit_supports_claim_tag looked for a quoted "commit" literal in
scripts/termux/deb_version.py, which the file never contains: it reads
claim tags through the canary|commit alternation in _TAG_RE. Every claim
of a current commit therefore came out legacy and built through the
tagless --commit path with plain versions.
Look for the alternation instead, and test the check against the real
HEAD tree rather than invented source strings, so a later rename of any
marker fails here instead of silently turning claims legacy.
Routes commit. and channel. claims to cache-mode: read native legs (Windows, macOS, and a split termux-deb-commit leg with no APT GPG signing key access), closes main's win32-assembly-v1 prefix restore-keys gap, keeps pre-claim commits buildable via trusted controller checkouts and legacyCommitBuild metadata, and renders every staged commit-claim asset (.msixbundle, .msix, .dmg, .zip, .deb) on the claim page.
Co-authored-by: BearHuddleston <bear@bearhuddleston.dev>
lanes: add the commit policy restricted strictly to bundles + smoke
(COMMIT_ALLOWED = windows, macos-arm64, termux, smoke; default COMMIT =
windows, macos-arm64, smoke; COMMIT_REFUSED excludes ci, docker, nix,
pm-bundle, windows-live, install-e2e, bootstrap-version, termux-checks,
windows-store, linux and upgrade). POLICY_JOBS adds publish-commit for commit
and limits publish-docker to stable/canary.
stable: generalize canary_claim into stamped_claim (validating bundleEnv for
commit claims), require write/maintain/admin actor permission via
commit_actor_permissions, admit commit claims without a GitHub release, emit
bundle-env and refuse mismatched BUNDLE_ENV_JSON in verify.
commit_build / release / dispatch_log / r2 / stable-release-publication:
--build-commit claims an annotated commit.<stamp>-v<version> tag (advancing
past local same-second stamps) and dispatches stable-release.yml; legacy
tagless commit dispatches no longer mint receipts; r2 prune and --prune-canaries
keep commit builds for 90 days; the stable publication reconciler ignores
'Commit release ' runs in both concurrency and reconcile.if.
Salvaged from ca37ec5974, 37ca767d2a, 7e9f76ad80, 0f11098f12 and 4df7a745a0
in #145680, tightening commit policy to bundles + smoke only.
Co-authored-by: BearHuddleston <bear@bearhuddleston.dev>
A commit claim versions packages from its tag stamp like a canary
(X.Y.Z+commit.<stamp>, stamped Windows quad and release epoch) while keeping
the Commit<sha7> identity, no feed and source commit-build via HERMES_BUILD_COMMIT.
handoff accepts commit.<stamp>-vX.Y.Z archives without letting the exported
HERMES_BUILD_COMMIT fall back into tagless commit mode.
r2.channel_for_tag, release_artifacts.release_channel and darwin.merge_mac_feeds
fail closed on commit claims so commit builds can never publish to a release
channel or feed; docker stays closed to commit tags as well.
Salvaged from c15b3c7f91, df7ae5e79c, 784aeb43d9, fdcaa79d68, ad1efe0f25 and
f161e6618d in #145680, keeping docker closed to commit claims.
Co-authored-by: BearHuddleston <bear@bearhuddleston.dev>
A commit build's claim tag has the canary claim shape with the commit kind;
its version is X.Y.Z+commit.<stamp> (Termux X.Y.Z~commit.<stamp>-1; APT repo
staging keeps refusing commit claims). release_version/tag_core/releaseVersion/
releaseTagVersion/deb_version accept it; tag_kind names the kind.
Install stamps and icon generation of a commit build may carry its own claim tag
and still say source commit-build, so every updater keeps refusing it; a commit
tag without HERMES_BUILD_COMMIT is refused by the stamp writers and product
identity rather than falling through to the stable identity and its latest feed.
Salvaged from 98ee7de7c6, f8a42b0cc9, d9ead4e507, f161e6618d and 0f11098f12
in #145680, keeping stage_apt_repo closed to commit claims.
Co-authored-by: BearHuddleston <bear@bearhuddleston.dev>
The `{just}` template resolves `$(git rev-parse --show-toplevel)/scripts/hook-just`.
Git exports GIT_DIR to hooks in a linked worktree, and with GIT_DIR set
`--show-toplevel` answers the current directory instead of the worktree root. The
`root: apps/desktop/` (and ui-tui, shared, web, tests) jobs run there, so every
worktree commit touching those trees failed with
"cannot open apps/desktop/scripts/hook-just". Main-checkout commits were unaffected
(no GIT_DIR export), and Python-only commits too (their jobs run at the root).
Resolve the root with GIT_DIR unset. Regression: 27896fd2cd.
The last case of
`test_sandbox_check_refuses_root_active_addressed_routed_and_unreadable_network`
injected a failing ioctl while the route file from the previous case was
still deleted, and only asserted "cannot verify". The missing route file
alone produced that refusal, so the case passed even when ioctl errors
were swallowed. Restore the proc files first and assert the refusal
names the ioctl error.
A mutant that swallows ioctl errors in `_iface_flags` and
`_iface_has_ipv4` passes the old assertion and fails the new one.
`test_worker_main_allows_down_unaddressed_kernel_tunnels` faked the
interface list and the ioctl replies, but `main()` still read the host's
`/proc/self/net`. On a host with a route or address on `tunl0`, `sit0`,
`ip6tnl0` or `gre0` (a Calico IPIP node, say) the test raised
`SystemExit` instead of reaching the image check. Seed a fake proc
directory with `_write_proc_net`, route `main()`'s `_sandbox_problem()`
call to it, and pin `_ipv6_available` so the IPv6 files are read too.
`test_worker_main_verifies_image_before_extraction` had the same flaw
from this PR: `main()` now asks the real kernel for `lo`'s flags, so the
test failed in a namespace where `lo` is down. Fake that ioctl as well.
Red on 0477e3fd2a, green here, under a simulated host route on `tunl0`
and a simulated down `lo` respectively.
`scripts/bundles/appimage_checks.py::main` previously required
`{name for _, name in socket.if_nameindex()} == {"lo"}`. On Linux hosts
with tunnel drivers loaded or built in (`ipip`, `sit`, `ip6_tunnel`,
`ip_gre`, etc., with default `net.core.fb_tunnels_only_for_init_net=0`),
the kernel creates down, unaddressed fallback devices (`tunl0`, `sit0`,
`ip6tnl0`, `gre0`, ...) in every new network namespace, including
`docker run --network none`. That caused `scripts/ci/linux_x64_userland.sh
accept` to exit immediately on Blacksmith x64 runners (canary runs
44690154688 and 44876973873).
Verify via `SIOCGIFFLAGS`, `SIOCGIFADDR`, and `/proc/self/net/{route,
if_inet6,ipv6_route}` that `lo` is up and loopback and every other
interface is down with no IPv4/IPv6 address and no routes, failing closed
with the concrete reason on root, active/addressed/routed interfaces, or
unreadable network state.
MakeAppx stores ZIP part names percent-encoded, so the stable bundled
package's Executable="app\Hermes Agent.exe" is the entry
app/Hermes%20Agent.exe (the published rc.3-v0.22.0 x64 MSIX reads that
way). The packaged-executable lookup compared raw entry names, found
nothing, and record() raised on every stable Windows candidate. Canary
never showed it because its executable is hermes-canary.exe.
Decode each entry name before comparing it with the manifest's path.
6cc6a44508 renamed the Termux job's step to "Stage the APT repo handoff to R2" and passes
--pool-subdir "$RELEASE_CLAIM_TAG" unconditionally, so the candidate-workflow test's lookup
by the old display name raised StopIteration. It now finds the step that runs
scripts/termux/stage_apt_repo.py and checks the pool-subdir argument in either form.
631b9d18c9's stable-desktop recovery check read the attempt's -desktop image through
_version_digest, which raises on any registry error. A failed read there, with the pointer
and the slim alias current, aborted the whole production pass before it could plan anything
newer. Either image failing to read is now inconclusive (not behind), like the alias itself;
promote_stable still reads both strictly when it actually moves them.
9bf56ac5a9 counted an unreadable `stable` alias as current. When the head read and the
recovery read both fail, a stale desktop pointer then got the full advance, whose Docker
promotion can move a newer Docker-only release's aliases back. An unreadable alias now leaves
the owner unknown, and like a newer owner it gets only the desktop-only `finish`.
Production always has the `stable` alias, so "unreadable" is a registry error there. A
registry where the alias was never created gets no Docker promotion from recovery either,
as on main, where channel_head counted the desktop head as done in that case.
631b9d18c9 checked alias ownership only when the pointer was current. With a stale or
missing pointer the pass returned the desktop head straight away, and plan() chose a full
advance because the head read matched it, which it can only do after a registry error
dropped a newer Docker-only release out of the head. That advance repeats the Docker
promotion and moves the aliases back to the older release.
_unfinished_desktop_head now returns the step itself. While a newer release owns the
aliases (it holds the channel head, or the alias carries its digest) a stale pointer gets
the desktop-only `finish`; otherwise a stale pointer or provably behind aliases get the
full `advance`.
4e8b5fd31b's alias check probed the registry a second time and compared the slim `stable`
alias with the desktop head's digest. Two gaps:
- A registry error on the head probe drops the combined head back to the desktop release;
if the second probe then succeeds with a newer Docker-only release's digest, that digest
read as a stopped promotion and the pass moved the aliases back to the older release.
- promote_stable moves the slim aliases before the desktop ones, so a slim alias that
carries the release says nothing about stable-desktop/latest-desktop.
The aliases now count as behind only when the alias read succeeds, its digest belongs to no
newer published release, and either the slim alias misses the head's digest or the
stable-desktop alias misses the attempt's desktop image (docker.stable_desktop_alias_behind).
An unreadable alias proves nothing and is left alone.
91fbd83fc8 re-advanced the desktop head only when its candidate pointer was wrong. Two cases
still read as done: the pointer PUT landed but its read-back failed, or the Docker promotion
itself failed, so the next pass saw a matching pointer and the Docker vX.Y.Z tag and
stable/latest aliases never moved. And with a newer release at the combined head the pass
refused outright, leaving the stale pointer for an operator.
While the desktop head is also the channel head, a Docker-carrying release whose stable alias
does not carry its digest now counts as unfinished too, and advances again through the normal
production advance. Under a newer head only the desktop advance repeats (a new `finish` step,
advance_stable alone), so that release's aliases stay where the newer release put them.
The pruner compared the canary pointer with the protected canary head only when the pointer
existed, and found the head by the record name `canary`. The first canary after today's legacy
v<stable>+canary.<stamp> head has no pointer until its write lands, so if that write failed the
live canary's archive was protected by nothing but its age; and a canary channel bootstrapped
under another name read as no head at all, so every prune refused with no way to fix it.
The pruner now picks the protected channel the way publication does
(channel_releases.select_channel): the one listed record whose policy is canary-release,
refusing when two claim it. It reads that head whenever the record exists, refuses when a
canary.<stamp>-vX.Y.Z head has no pointer, and fails closed on an unreadable record or head
manifest. A legacy head with no pointer prunes as before.
The pointer repair from 196d082b74 ran after the pass, against the combined publication head,
and called only advance_stable. Two gaps: production_advance moves the Docker vX.Y.Z tag and
stable/latest aliases after advance_stable, so a pointer write that failed after the head
moved also skipped them and the repair never ran them; and a newer Docker-only release could
become the combined head and hide the desktop head's stale pointer.
The pass now asks, before planning, whether the protected desktop head's candidate pointer
names it. If not, plan() advances that release again ahead of anything newer, through the
normal production advance (idempotent desktop advance, then the Docker promotion), so a
newer release can never run before it finishes. If a newer release already holds the head,
the pass refuses instead of moving that release's aliases back.
docker_tag() turned a retired vX.Y.Z+canary.<stamp> tag's `+` into `-`. Since canaries are
canary.<stamp>-vX.Y.Z claims it returns its input, yet admit still emitted it as a separate
docker-tag output that three stable-release.yml consumers read, with comments describing the
old conversion. The docker and publish-docker calls and the canary alias step take claim-tag
again, as they did on main, and the helper and output go.
The pinned-commit version test found an exact heredoc opener in build_deb.sh, cut its Python
body out and ran that fragment: a source-reading test (tests/AGENTS.md) that breaks on a
harmless shell refactor and still passes if the fragment sits in the wrong branch.
build_deb.sh now derives a tagged build's version once, through deb_version.py
--release-version, whether or not a commit is pinned; the heredoc keeps only the tagless
commit build's version_at read. It logs the payload version before its first post-version
gate. The tests run the real script against a throwaway git repo with docker, dpkg-deb and jq
stubbed, and stop at the missing --tui-product, so they see the version the stamp would carry
for each tag shape in both tag modes. Mutants caught: ${TAG#v}, the original ${TAG:1}, and
deriving the version only in tag mode.
publish_release now writes releases/<channel>/release-candidates.json only after the
protected head advances, so a failed pointer write leaves the head on the new release and
the pointer on the previous one. Nothing then repaired it: the sequencer's plan() treats a
published version at the head as done, and the canary's quiet-day _resume_canary returns as
soon as the head matches.
Stable: each production pass now compares the pointer with the archived candidate of the
release at the head and, when it differs or is missing, repeats that release's desktop
advance (advance_stable only; Docker aliases stay put). publish_release is idempotent once
the head is there, so the repeat ends at the pointer write. The stable pointer is the source
channel's update target and the next release's upgrade baseline.
Canary: the pointer's only reader is the R2 pruner, and _resume_canary runs without R2 write
credentials. The pruner now reads the protected canary head and refuses to prune while the
pointer names another canary, so a lagging pointer can no longer expose the live canary's
archive. A rerun of that canary's publish-canary job (or the next canary) rewrites it.
Before overwriting the canary candidate pointer, compare the new claim's timestamp with the protected live head. A rejected older canary must never replace the retention pointer used by R2 pruning. Extend the existing end-to-end HTTP publisher regression to assert the pointer is unchanged after stale rejection.
Reported by alt-glitch in NousResearch/hermes-agent#152219.
Carrier work by ethernet8023 in NousResearch/hermes-agent#142475.
Counterexample identified by teknium1 in the carrier review.
(cherry picked from commit 2ffd4b1b05b533fb1dbfc3d5f3a04d4ac4128cfa)
Review fixes for the canary-on-Stable-Release pipeline:
- Termux APT staging accepts a canary claim as its pool prefix
(stage_apt_repo pool_subdir_suite): canary.<stamp>-vX.Y.Z stages
hermes-canary, rc.N-vX.Y.Z stages hermes-stable, nothing else. Every default
canary failed candidates-termux before this.
- build_deb.sh stamps the tag's release version on a pinned-commit build
(release_version_for_tag) instead of the tag minus its first character.
- The canary Docker aliases move only after publish-canary succeeds, so they
follow the claim's green policy and lanes like the other canary channels.
- One canary publisher: desktop-bundled-release.yml refuses release tags on a
direct dispatch and loses its legacy publish-canary job; channel_releases
accepts only the stable-release.yml controller for canary custody and always
publishes the accepted candidate (the local-bytes path is gone).
Tests run the real boundaries: the workflow's own staging arguments into a real
stage_apt_repo run, the actual build_deb.sh version heredoc, a controller canary
advancing its head (narrowed claim refused, retry idempotent, next canary
advances, stale canary refused, stable pointer untouched), and the alias gate
with publish-canary held back.
[BearHuddleston: adapted to main 32dbc1dcda — kept #148651 desktop_targets without macos-intel/darwin-x64, kept Blacksmith runner/checkout (#157582), and updated #154545 test_tag_builds_summary.py after removing the legacy desktop-bundled-release publish-canary job]
(cherry picked from commit 8bee39d1b3626e67b68207b93b4fb266efb29693)
A canary tag now carries its kind as a prefix, canary.<UTC stamp>-v<stable>,
the same claim shape as a stable rc.N-v<stable>. It never matches v*, and it
is the canary's identity everywhere: GitHub prerelease, archive, stamped tag
and Docker image tag. The version it publishes stays <stable>+canary.<stamp>.
No installed canaries exist yet, so clients just switch to the new shape;
release tooling still reads the retired v<stable>+canary.<stamp> shape in
records published before (previous channel head, live macOS feed, pruning),
so the first new canary can replace them.
The tag message is now the canary's claim: the lanes it runs and whether a
red suite holds its publication. release.py --canary takes --only/--with/
--without (starting from every lane but the signed-package upgrade arms,
which a canary can never claim) and --require-green/--no-require-green
(default on; release refuses --no-require-green). Admission emits
require-green; publish-canary waits for acceptance when it is on, and
channel_releases custody re-requires acceptance (fail closed). The daily
scheduled canary passes --no-require-green; a manual dispatch defaults to
green. publish-canary needs the full desktop set the canary channel serves.
Tag-to-version derivation goes through one helper per language
(update_channel.release_version, msix-shared releaseVersion, desktop
releaseTagVersion, deb_version.py --release-version) instead of stripping a
leading v. Also fixes the Store-entrypoint test left stale by canary Store
packaging, and the canary git fixture's file:// remote on Windows.
[BearHuddleston: adapted to main 32dbc1dcda — preserved #154321 canary draft body cap and recovery tests, kept #148651 desktop_targets / omitted macos-intel, and updated #154545 test_linux_desktop_builds.py for canary.<stamp>-vX.Y.Z]
(cherry picked from commit c9e3831d3dad6965c7ddea3fa900a0ace0d45423)
The canary no longer runs the signed-package upgrade arms, so the canary
baseline lookup and canary version tie-break in stable.py are dead; remove
them and their tests. The canary candidate pointer stays: the R2 pruner reads
it to keep the live canary.
(cherry picked from commit 86b272d6ad2dbc34472476077e1fb860c0c7ccc0)
The canary app (Hermes Canary) is its own package family, so no signed
package of it can upgrade a stable install, and an unsigned rehearsal cannot
drive App Installer or ShipIt either. lanes.CANARY now omits the upgrade lane
(transitions-* and *-packaged skip, and the gate expects that); install-e2e
still installs released stable tags and updates them to the canary commit.
[BearHuddleston: adapted to main 32dbc1dcda — omitted removed macos-intel/darwin-x64 references (#148622)]
(cherry picked from commit 16fb6a69d7c5f273edca203a42673f01fa9b93ca)
canary-release.yml now dispatches stable-release.yml on the canary tag, so a
canary runs exactly the stable job graph (CI, Docker, Nix, PM bundle, Termux,
Windows live, install/update E2E, bootstrap identity, every signed candidate
with smokes, signed-package upgrade acceptance) with every lane on, macOS
Intel and Termux included (lanes.CANARY). Nothing to keep in sync.
A canary differs only in policy:
- publish-canary (canary only) publishes the accepted candidate to the canary
channels: feeds, Termux APT, GitHub prerelease, protected R2 head, canary
upgrade baseline, canary Docker aliases. publish-bundles, the Store
submission and the stable sequencer never run for a canary.
- publish-canary waits only for candidate-manifest (built + smoked); the
other suites report red in the same run without holding it back.
The canary also builds and stages the Store bundle (Store-scheme version),
never submitted. Canary runs get their own concurrency group and are ignored
by the stable publication reconciler. The R2 pruner keeps the live canary's
archive and Termux pool however old.
[BearHuddleston: adapted to main 32dbc1dcda — omitted removed macos-intel/darwin-x64 references (#148622, #148651) and kept Blacksmith runner/checkout (#157582)]
(cherry picked from commit c6abe8e67fcfbdbd8a9177e976c5ced510a1e9d7)
8b91b293 restored the is_file() check in scripts/audit_pr_attribution.py,
but only the CI gate's test had a folder case, so removing it there left
every test green. Add the folder case to the audit test: it fails on
1fcbbeaeac's audit file (assert not True) and passes on this head.
Co-authored-by: BearHuddleston <bear@bearhuddleston.dev>
A commit stamped `Kesuek@users.noreply.github.com` fails the contributor
check even though `contributors/emails/kesuek@users.noreply.github.com`
maps that author. Adding the other spelling is not an option: the two
files are one file on macOS/Windows, so the case-collision guard fails the
repo, and `add_contributor.py` refuses to write it.
The check now folds case for the directory and the legacy map, in the CI
gate (`scripts/ci/check_contributor_emails.py`, where the workflow's shell
check moved), its local twin `scripts/audit_pr_attribution.py`, and the
release-notes resolver (`scripts/releases/authors.py::mapped_login`).
Salvage of #126851 (the workflow hunk is dropped: that check now lives in
the Python script, which gets the same fold).
Co-authored-by: Brooklyn Nicholson <brooklyn.bb.nicholson@gmail.com>