Repository navigation
fix: keep a landing's report only once origin's URLs read unchanged - #1985
Merged
Merged
Conversation
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
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
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.
landread origin's URLs again, so a preflight that rewrote them left a report for a headlandthen 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.--driveflag 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.make preflightexports 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 preflightpassed on this head.abcd lint docsexits 0.Resolves: iss-2612030838336459
Resolves: iss-2612030838386015
Resolves: iss-2612030911418988
Assisted-by: Claude:claude-opus-5-5
Assisted-by: Claude:claude-fable-5-2