A PR that changes installer/ without an installer bump lands green; the pin refuses it only at the next release tag #300

Closed
opened 2026-11-27 08:19:31 +00:00 by terra · 2 comments
Member

Purpose (gate gap): a change under installer/ that the published installer does not carry fails in PR CI, by name, at the PR that makes it, never first at a release tag.

The class

installer/pin_the_installer/pin_the_installer.mjs refuses a tree whose installer/ differs from what refs/tags/installer-v<installer version> published ("change it only with a version bump and a publish"). It runs only inside pack_a_release/pack_a_release.sh (line 46), and that runs only in release.yml's "Pack the tree" step. Nothing in PR or main CI runs the same comparison. A PR that touches installer/ with no installer bump therefore passes review, PR CI and landing CI, and the first refusal comes from the next martha release tag. By then several packages may have landed on top of it.

The instance

  • dry-run-v0.4.3 on main 1710c280 (Refs #293), run 5870, job release:
    pin_the_installer: installer/ is not what refs/tags/installer-v2.0.2 published (installer/install_a_release/upgrade_a_machine_0_3_laid_out.node-test.mjs installer/prove_a_clean_install/prove_a_clean_install.node-test.mjs); change it only with a version bump and a publish, and nothing was pinned
  • The two files are test files changed by #196 (1833dc82, 1e958040) and #205 (22ce4755, c398d9ac) after installer-v2.0.2. Each landed green.
  • The 0.4.3 release (Raf: "Yes, release + install (Recommended)") is held on it.

Not the gap (checked)

The pin does not pass silently when the tag is absent: it refuses "there is no installer-v… tag here" (pin_the_installer.mjs:140, test pin_the_installer.node-test.mjs:137). The local pre-tag check missed it because the release tree checks run before a tag were the tag check and the pictures step. "Pack the tree" is where the pin runs, and it was not among them.

Done when

  1. A PR whose diff touches installer/ while installer/package.json's version equals the newest installer-v* tag fails a PR CI job by name. The refusal names the files and says "bump the installer". A mutant that removes the job's call leaves a test red.
  2. The same comparison runs on a main push, so a landing that skips it is red on main.
  3. The release checklist a lander runs before a tag includes the pin (run after git fetch --tags), next to the tag check and the pictures check.
Purpose (gate gap): a change under `installer/` that the published installer does not carry fails in PR CI, by name, at the PR that makes it, never first at a release tag. ## The class `installer/pin_the_installer/pin_the_installer.mjs` refuses a tree whose `installer/` differs from what `refs/tags/installer-v<installer version>` published ("change it only with a version bump and a publish"). It runs only inside `pack_a_release/pack_a_release.sh` (line 46), and that runs only in `release.yml`'s "Pack the tree" step. Nothing in PR or main CI runs the same comparison. A PR that touches `installer/` with no installer bump therefore passes review, PR CI and landing CI, and the first refusal comes from the next martha release tag. By then several packages may have landed on top of it. ## The instance - `dry-run-v0.4.3` on main 1710c280 (Refs #293), run 5870, job `release`: `pin_the_installer: installer/ is not what refs/tags/installer-v2.0.2 published (installer/install_a_release/upgrade_a_machine_0_3_laid_out.node-test.mjs installer/prove_a_clean_install/prove_a_clean_install.node-test.mjs); change it only with a version bump and a publish, and nothing was pinned` - The two files are test files changed by #196 (1833dc82, 1e958040) and #205 (22ce4755, c398d9ac) after installer-v2.0.2. Each landed green. - The 0.4.3 release (Raf: "Yes, release + install (Recommended)") is held on it. ## Not the gap (checked) The pin does not pass silently when the tag is absent: it refuses "there is no installer-v… tag here" (`pin_the_installer.mjs:140`, test `pin_the_installer.node-test.mjs:137`). The local pre-tag check missed it because the release tree checks run before a tag were the tag check and the pictures step. "Pack the tree" is where the pin runs, and it was not among them. ## Done when 1. A PR whose diff touches `installer/` while `installer/package.json`'s version equals the newest `installer-v*` tag fails a PR CI job by name. The refusal names the files and says "bump the installer". A mutant that removes the job's call leaves a test red. 2. The same comparison runs on a main push, so a landing that skips it is red on main. 3. The release checklist a lander runs before a tag includes the pin (run after `git fetch --tags`), next to the tag check and the pictures check.
Member

Ruling 2026-11-27 (Raf, relayed by the Supervisor and Mars): "No, skip it (Recommended)" to a PR CI check for an installer bump. So no check is added and this issue stays a note. The release pin keeps catching it at the release tag, as it did in run 5870. The lander running the pin before tagging (Done-when 3) remains a practice line, not a check.

Ruling 2026-11-27 (Raf, relayed by the Supervisor and Mars): "No, skip it (Recommended)" to a PR CI check for an installer bump. So no check is added and this issue stays a note. The release pin keeps catching it at the release tag, as it did in run 5870. The lander running the pin before tagging (Done-when 3) remains a practice line, not a check.
Member

Closed as declined: Raf declined L1 and L2 on 2026-11-27 (comment 6422). L3 is not met and is not pursued. Closed under the Supervisor ruling of 2026-12-01, which Raf approved.

Closed as declined: Raf declined L1 and L2 on 2026-11-27 (comment 6422). L3 is not met and is not pursued. Closed under the Supervisor ruling of 2026-12-01, which Raf approved.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
martha-ai/martha#300
No description provided.