Skip to content

fix: keep a landing's report only once origin's URLs read unchanged - #1985

Merged
REPPL merged 8 commits into
mainfrom
docscut-1203
Dec 3, 2026
Merged

REPPL merged 8 commits into
mainfrom
docscut-1203

Conversation

@REPPL

@REPPL REPPL commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

What

Before the next release cut, a docs-currency review of the drain and land pages found six passages that no longer said what the code does. This change corrects them, fixes the landing behaviour one of them described, and fixes a test that failed every records-only preflight.

  • A landing keeps its report only once origin's URLs read unchanged. The gate kept the preflight receipt as the landing's report before land read origin's URLs again, so a preflight that rewrote them left a report for a head land then refused to push. The report is now kept after that read. The land page says a refused landing keeps none, and that the store keeps a repository's newest 200 reports. Resolves iss-2612030838336459.
  • When a skip list clears. The drain's messages, its help, the drain page and the brief's drain chapter now say the list clears as the drain ends. A drive carries it into the next drain it begins and clears it as the drive ends, unless that drain is still in progress: then the list clears as that drain ends. A new test ends a drive at its bound with a lane in progress and finds the list still on the drain.
  • How a drive ends. The drive's help, its --drive flag and the drain page named three endings and read as complete. They now name every one the code has, with and without an end time. The last empty wait before the end time ends the drive there, rather than waiting fifteen minutes and beginning a drain. A test pins each ending's words in the help. The CLI reference is regenerated from the help. Resolves iss-2612030838386015.
  • The pre-push receipt tests no longer read the outer run's clock. make preflight exports the clock its receipt reads, and the records-only route runs these tests straight under it. Their fixtures' receipts gained time lines, and the tests' line counts failed. Each case now drops an inherited clock where its environment is built, and a new test builds one under an inherited clock. Resolves iss-2612030911418988.

Checks

  • make preflight passed on this head.
  • Each new test was watched fail before its change and pass after it, through the load gate, except the drive-ends-mid-drain test, which pins behaviour this change keeps and passes on both.
  • abcd lint docs exits 0.
  • Two review rounds, each with a correctness review and a security review; the second checked the points the first raised.

Resolves: iss-2612030838336459
Resolves: iss-2612030838386015
Resolves: iss-2612030911418988

Assisted-by: Claude:claude-opus-5-5
Assisted-by: Claude:claude-fable-5-2

REPPL added 8 commits December 3, 2026 09:04
The gate kept the receipt it counted as the landing's report before
land read origin's URLs again, so a preflight that rewrote them (a push
URL, a pushInsteadOf) left a report for a head land then refused to
push. The gate now returns the receipt, and land keeps it after the
URLs are read again unchanged. The land page says a refused landing
keeps none and that the store keeps a repository's newest 200 reports.

Resolves: iss-2612030838336459
Assisted-by: Claude:claude-opus-5-5
The move that holds an issue back said the skip list clears when this
drain ends, and the pass-over said the hold lasts until --unskip or the
drain ends. A drive that goes on past a drain's end (at a cap of its
own, or empty under its end time) keeps the list for its next drain, so
under a drive both were false. Both now say the list clears as the
drain ends or, where a drive carries it into its next drain, as the
drive ends.

Assisted-by: Claude:claude-opus-5-5
The drain page and the drain help said the skip list clears when the
drain ends, and when the drive ends. A drive that goes on past a
drain's end keeps the list for its next drain, and at its end clears
only an ended drain's list; a drain still in progress keeps its list
until it ends. The page also said a bounded drive ends only at its
bound, its cap or a stop, and would have ended with nothing eligible:
it waits on an empty ledger, and ends on a check that no longer holds,
on a refusal it cannot go past, and with only lanes it passed over left.
A look that finds nothing publishes the pending hand-backs it carries,
and the last wait before the end time says the drive ends then. The
CLI reference is regenerated from the help.

Resolves: iss-2612030838386015
Assisted-by: Claude:claude-opus-5-5
make preflight exports ABCD_PREFLIGHT_CLOCK to every step, and the
records-only rule runs this package's named tests straight under it,
not through check-tests or precheck-audits, which both strip it. The
pre-push cases took their environment from gittest.Env, so a case's
mint read that run's clock and wrote its time lines into the fixture's
receipt, and TestPreflightReceiptNamesItsScope's line counts failed.
Each case's environment now drops an inherited clock where it is
built; mintTimed still names its own. A new test builds a case under
an inherited clock and checks the receipt holds no time.

Resolves: iss-2612030911418988
Assisted-by: Claude:claude-opus-5-5
The pass-over and the --skip reply said a list a drive carries clears
as the drive ends. A drive that ends while the drain it began is still
in progress (at its bound, on a stop, a refusal or passed lanes) leaves
that drain its list, which clears only as that drain ends
(clearKeptSkips passes over a live drain). Both now say so, as do the
comments that repeated the claim. A new test drives a list from an
empty look into the next drain, ends the drive at its bound with that
drain's lane in progress, and finds the list still on the drain. The
drift record's resolution now says what this round fixed.

Refs: iss-2612030838386015
Assisted-by: Claude:claude-opus-5-5
…clears

The drain page attached the fifteen-minute wait and the next drain to
the last wait before the end time too, and the drive help said a
drain that finds nothing waits fifteen minutes and begins a drain. In
that last wait the drive waits only until its end time and ends there.
The page, the help and the brief's drain chapter now say so, and the
waiting state's until reads the end time in that wait. The brief and
the page also said the drive clears its carried skip list as it ends;
they now say it does so where the drain holding it has ended, and a
drain still in progress keeps it until it ends. The CLI reference is
regenerated from the help.

Assisted-by: Claude:claude-opus-5-5
The drive help said it ends at its own cap, on a stop, or at its end
time, and the --drive flag and the drain page gave the same short
list, which read as whole. A drive also ends on a move refused in a
way it cannot go past, when a check made before a stage does not hold,
and when the only lanes left in progress are ones it passed over; one
with no end time also ends on an empty ledger, on the eight-hour waits,
and on a drain's stop on an outage or on origin. The help and the page
now name them, and the flag points to the help. A test pins each
ending's words in the help. The CLI reference is regenerated.

Refs: iss-2612030838386015
Assisted-by: Claude:claude-opus-5-5
The drive's help and the drain page said a drive ends when the only
lanes left in progress are ones it passed over. Where one of those is a
lane it set aside, the drive waits and tries that lane again once an
hour instead (awaitSetAside), ending at its bound or, with none, after
eight idle hours. The help, the page's endings list and its bound
passage say so, and the help test holds the whole sentence.

The test that a drive ending mid-drain leaves the carried skip list on
that drain compared skipTargets, which sorts, with the list in the
order it was given, so it failed whatever the code did. It compares
with the sorted list.

Refs: iss-2612030838386015
Assisted-by: Claude:claude-opus-5-5
@REPPL
REPPL enabled auto-merge December 3, 2026 17:27
@REPPL
REPPL added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit c780912 Dec 3, 2026
16 checks passed
@REPPL
REPPL deleted the docscut-1203 branch December 3, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant