Repository navigation
feat: carry review receipts over fixes their gates do not read, and hold a cut to its freeze - #1983
Merged
Merged
Conversation
…g at its freeze Assisted-by: Claude:claude-opus-5-5
A receipt names the commit its reviewer read, so every fix a review asked for made a new content commit and left both receipts behind: the v0.18.0 cut rolled four times in 72 minutes and ran both reviews after each roll. `abcd launch receipts --carry <sha>` moves each required gate's receipt from the commit its reviewer read to HEAD when no path that gate reads differs between the two, as git stores them, and otherwise leaves it and names the changed paths, which are all its reviewer reads again. The docs-currency review reads no design record but the archived release pages and the release-gate manifest; the brief cross-check reads no user page and none of the cut's own outputs; neither reads the working tier. A carried receipt is an ordinary receipt naming HEAD, with carriedFrom added, so the release job's derivation and gate are unchanged and still read one receipt: a change to any path a gate reads still leaves it behind. A carry never replaces a receipt and refuses a sha that names no earlier commit. The receipts protocol the emit step prints now runs both reviews before the roll, the changelog review reading the composed payload, whose prose the roll writes word for word, with the practice run checking it against the cut; a prose fix edits the payload, so the roll happens once and leaves no revert. It then carries the receipts to the roll. The release-gate runbook, the launch command page and the launch brief say the same. Resolves: iss-2612022218233502 Resolves: iss-2611060603323399 Assisted-by: Claude:claude-opus-5-5
The v0.18.0 cut set for 01:00 waited until 04:07 for two docs pull requests: nothing made it take the default branch as it stood when the release was reserved, and the only guard was a line in a runbook. `abcd reserve rel-<tag>` now notes the freeze, the commit origin's default branch names as the reservation's own fetch left it, in the cutting copy's local tier, and reports it. The note stands until the copy releases the reservation, so a renewal, a take-over or a cut resumed after its lease lapsed keeps its freeze (dcn-2612022305274369). `abcd launch ship` names the freeze and the time since it, and its roll, the practice run included, refuses a cut whose base on the default branch is any other commit unless `--refreeze <reason>` says why, which the report carries. The emit step refuses nothing on it. The note is not pushed, because every peer's binary reads the reservation and a field an older one does not know risks reading as unreadable, which holds every merge (dcn-2612022235359298). Resolves: iss-2612022218224985 Assisted-by: Claude:claude-opus-5-5
…compare The carry reads what decides each gate's reads (the required gates, the receipts directory and the declared release digest) from HEAD's tree, never from the working tree; refuses a sha that is not an ancestor of HEAD; lists a submodule bumped between the two commits whatever its ignore setting says; and writes a carried receipt with one exclusive create, so a receipt that appears for HEAD meanwhile stands. `abcd launch receipts` refuses each gate whose reads changed between the commit its receipt names and HEAD, naming the paths and the carry, so a fix committed over the receipts and never carried no longer passes it (dcn-2612030049218475). The relander's reach check lists a submodule bumped under ignore = all as well. Assisted-by: Claude:claude-opus-5-5
… has none Only a release reservation made afresh notes a freeze. A renewal or a take-over keeps the note its own copy holds and takes none in a copy that holds none, so a cut resumed in another copy is never refused for the branch it was already cut from (dcn-2612030049145636). A `--release` that finds the reservation already released clears the note too. `abcd launch ship` says when this copy records no freeze for the release, in its render and in `freeze_unrecorded`. A noted freeze that cannot be read or judged refuses the roll naming the ways past it, and `--refreeze <reason>` is one of them: the report carries the reason beside `freeze_unjudged` (dcn-2612030049215303). A note's branch must be a plain remote-tracking branch name, never a revision expression or an option, and the flag's help text no longer loses a word to its value placeholder. Assisted-by: Claude:claude-opus-5-5
…tched commit - `abcd launch receipts` resolves the checkout's root before its check, as the carry does, so a run from a subdirectory reads the root's release workflow and receipts instead of finding no workflow there and passing. - The reservation says whether its freeze was noted now or kept from an earlier act (`freeze_kept`), and a renewal in the copy that reserved the release, finding no note there, names the way to a fresh freeze: `--release`, then reserve again. - The freeze judgement names the commit the freeze's branch held as this copy last fetched it (`tip`) in the emit, the roll and its refusal, and fetches nothing. dcn-2612030049145636 now says what a stale read does: it can pass a cut that took later default-branch commits by a route that left the tracking branch where it was, and refuse a cut on the freeze only in a copy that last fetched before it. - The release-gate README, the launch and reserve command pages and the brief say the local receipts check is the only one that keeps a fix never carried from the merge, and only when the cutter runs it. - dcn-2612030215164069 defers `--ignore-submodules=none` at the commit-to-commit diffs outside the release flow to a follow-up change before the next cut, naming each site. Assisted-by: Claude:claude-opus-5-5
…e release - A take-over stamps the taking copy on the reservation, so that copy's next reservation is a renewal that reads like one in the copy that first reserved the release, and the reservation records no difference. A renewal or a take-over that finds no note now names both ways on and claims neither copy: the first copy's note, copied here, keeps the freeze; `--release` and reserving again takes a new freeze at the default branch as it then stands and drops the old one. - The reserve and launch command pages, the brief and dcn-2612030049145636 say the same. - The launch command page places the note's `release`, `commit`, `branch` and `at` under `freeze.freeze` in `launch ship --json`, beside `tip`, `base`, `held`, `later`, `waited_seconds` and `refreeze`, as the JSON carries them. Assisted-by: Claude:claude-opus-5-5
- `abcd launch ship` judges the freeze noted for the release the cut itself derives, the tag the ingest holds the composed payload to, in place of a second read of the payload's own `next_tag`. A payload the front door could not read that way judged no freeze, so a cut past its freeze could roll with no freeze in its report. A derivation that fails, or a cut ready to roll with no release tag, is refused with nothing written; a cut the derivation refuses keeps its own refusal (dcn-2612030358585337). - The changelog payload is refused for any byte after its one document but JSON whitespace. A lone `}` or `]` after it used to read as nothing more. - The refusal of a freeze that cannot be judged, the launch command page and dcn-2612030049215303 say that releasing and reserving again takes a new freeze at the default branch as it stands then, after the release has re-armed the merges it withdrew, and drops the old one with no reason recorded. - A renewal or take-over that finds a note it cannot read warns that the roll refuses the cut until a reason is given with `--refreeze`, as the roll does, in place of saying the cut is judged against no freeze; the reserve command page and the brief say the same. Assisted-by: Claude:claude-opus-5-5
The comment on the ship report's freeze field and the launch command page's roll paragraph named the payload's next_tag as the release whose freeze is judged; it is the release the cut derives, and a payload naming another tag is refused at the ingest. Assisted-by: Claude:claude-opus-5-5
Main gained the launch page's step on learning the macOS suite's verdict before step 1, in the place this branch adds the paragraph on the reservation as the cut's freeze. Both are kept: the freeze paragraph closes the reservation's section and the macOS step follows it. The CLI reference and the release surface regenerate unchanged from the merged help. Assisted-by: Claude:claude-opus-5-5
The launch page has a cut reserve the release first, which notes its freeze, and then learn the macOS suite's verdict; on a red it says to land the fix and dispatch again. A fix landed then moves the default branch past the freeze, and a release branch cut from the freeze never sees the green on the fix, so the red keeps refusing there. The macOS step now says to cut from the fix and pass launch ship --refreeze with a reason naming it, or to release the reservation and reserve again. Assisted-by: Claude:claude-opus-5-5
The macOS step offered releasing the reservation and reserving again as an equal way past a freeze the fix moved. The release ends the hold and re-arms every pull request it withdrew before the new freeze is taken, so what merges in between rides into the release. The step now names --refreeze, which keeps the hold on and carries its reason, says to list what the later base takes in with git log from the freeze to the fix and name each commit in the reason, and says the release route is no way past here and why. Assisted-by: Claude:claude-opus-5-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two causes of the v0.18.0 cut's delay, fixed in the release flow. Each resolves the issue that records it.
abcd launch receipts --carry <sha>moves each gate's receipt from the commit its reviewer read to HEAD, but only when HEAD descends from that commit and no path the gate reads differs between the two, submodules included. Otherwise it leaves the receipt and names the changed paths, which are all its reviewer reads again.abcd launch receiptsalso refuses a receipt whose gate-read paths changed since the commit it names, reading each gate's list from the commit it judges.abcd reserve rel-<tag>now notes the freeze commit in the cutting copy's local tier and reports it. A renewal or take-over keeps the note its own copy holds. A copy with no note says so and takes none, because the reservation on origin carries no freeze field.abcd launch shipnames the freeze and the time since it. Its roll refuses a cut based on any other commit unless--refreeze <reason>says why. The same flag gets past a freeze that cannot be read, and the report carries the reason.--refreeze <reason>, which keeps the hold on, to list what that later base takes in withgit log <freeze>..<fix>and name each commit in the reason, and that releasing the reservation is no way past there, because the release re-arms every pull request it withdrew before a new freeze is taken.Checks
make preflightpassed on this head.Resolves: iss-2612022218233502
Resolves: iss-2611060603323399
Resolves: iss-2612022218224985
Refs: dcn-2612022305274369, dcn-2612022235231317, dcn-2612022235359298, dcn-2612030049218475, dcn-2612030049145636, dcn-2612030049215303
Assisted-by: Claude:claude-opus-5-5