Skip to content

fix(release): tag-andon exempts superseded v0.72.4 (PMAT-5306) - #6995

Merged
noahgift merged 1 commit into
mainfrom
fix/tag-andon-superseded-0724
Nov 13, 2026
Merged

noahgift merged 1 commit into
mainfrom
fix/tag-andon-superseded-0724

Conversation

@noahgift

Copy link
Copy Markdown
Member

Why

Operator ruling (relayed by fleet-sup 2026-11-13 06:57Z): "stop tracking aprender 0.72.4." v0.72.4 is superseded by 0.72.5/0.72.6 and will never be published, so the tag-andon (PMAT-5306) would page every 15 min forever.

What

scripts/release/tag_publish_andon.sh: SUPERSEDED_TAGS list with exactly one entry v0.72.4|2026-11-13|superseded by 0.72.5, not published; operator ruling 2026-11-13 06:57Z. Exact string match only. An entry missing tag, YYYY-MM-DD date or reason is refused (exit 2). falsify_tag_publish_andon.sh: 4 row groups (RED first: 13 failures before the change) plus 3 mutants.

Measured

falsify_tag_publish_andon.sh: 152 passed, 0 failed; --mutants: 41 mutants, 0 not caught. v0.72.4 unpublished silent; v0.99.0 alarms; v0.72.40 alarms; 4 malformed entries refused. bashrs lint: 0 errors on the script (1 pre-existing SC2074 in the falsify file, present on main).

Not measured

A live timer run on the host; the install path (see below). No cargo.

ont-delta: none

Gate-content change: merge NOT armed, awaiting non-author sign-off.

🤖 Generated with Claude Code

…) (PMAT-5306)

Pmat-Ticket: PMAT-5306
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@noahgift noahgift added the fix-set GHC-001 cap-exempt fix label Nov 13, 2026
@github-actions

Copy link
Copy Markdown

§13.11 rung 1 — quorum shadow verdict

S13-SHADOW pr=6995 head=0d5efad7d1e1584dc0135692932060fd612828bf verdict=REFUSE class=Q1 arm_rc=1

Shadow mode: this records a verdict and merges nothing. A refusal
to arm is not a block (§13 adds zero rows to §7) — the pull request is
exactly as green as it was.

@noahgift

Copy link
Copy Markdown
Member Author

PASS at 0d5efad

Non-author adversarial review (Claude Opus 5.5), shell-only, detached worktree at the PR head, bash 5.1.16.

Receipts

  • bash scripts/release/falsify_tag_publish_andon.sh: 152 passed, 0 failed, rc 0.
  • --mutants: 41 mutants, 0 not caught. I checked that the 3 new mutants (exemption-prefix-match, exemption-skip-dropped, exemption-validation-dropped) really change the file (sed diff is not empty), so they are not killed vacuously. The malformed-entry rows build bad.sh from $BIN, which is a copy of $SRC, so they run against the mutant.

Exact match (superseded_tag, tag_publish_andon.sh:56-59, run with the PR's function body): only v0.72.4 is exempt. These all still alarm: v0.72.40, v0.72.4-rc1, 'v0.72.4 ', ' v0.72.4', v0x72y4, v0.72, 'v0.72.4|', '', v0.72.*. The check is a string =, not a regex or glob, so . and * have no special meaning. Separately, line 136 (^v[0-9]+\.[0-9]+\.[0-9]+$) drops whitespace and rc tags before line 137 runs.

Malformed entries refused (tag_publish_andon.sh:61-65): these are all refused: an empty tag, a missing date, a date that does not exist (2026-02-30, caught by date -d), a reason of only spaces, a tag with a trailing space, v0.72.*, and an empty entry. The check runs before the tag fetch (line ~102), so nothing is measured. The falsifier rows confirm exit 2 and the message bad exemption.

Widening: none found. SUPERSEDED_TAGS is assigned as a literal at line 53, after lib_crates_io.sh is sourced at line 44. A string env var of the same name is overwritten, and bash cannot export arrays. With an empty list, superseded_tag returns 1, so the tag alarms. A new tag (v0.99.0) still alarms with rc 1 and is named in the inbox.

Low-severity notes (no change needed):

  1. tag_publish_andon.sh:137 skips the tag silently, with no inbox or stdout trace. If an entry is added by mistake, the only sign is that pages stop. A one-time EXEMPT <tag> (<date>) stdout line would make the skip visible.
  2. An extra | in the reason is accepted (v0.72.4|2026-11-13|r|extra). This is harmless, because superseded_tag uses only the part before the first |.

@noahgift
noahgift enabled auto-merge (squash) November 13, 2026 07:02
@noahgift
noahgift merged commit 9ceca90 into main Nov 13, 2026
19 checks passed
@noahgift
noahgift deleted the fix/tag-andon-superseded-0724 branch November 13, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix-set GHC-001 cap-exempt fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant