Repository navigation
fix: let a drive's start pass runs no one has held for a day - #1978
Merged
Merged
Conversation
Assisted-by: Claude:claude-opus-5-5
Assisted-by: Claude:claude-opus-5-5
Assisted-by: Claude:claude-opus-5-5
Assisted-by: Claude:claude-opus-5-5
Assisted-by: Claude:claude-opus-5-5
Assisted-by: Claude:claude-opus-5-5
A drive's start declined to fast-forward a checkout behind origin while any run had a lane in progress, so runs killed weeks ago held it back for good, and the refusal said only to settle that. A run whose driver and agents are gone and whose state has not moved within a day, the longest lease a run's reservation takes, is now let go for the fast-forward on one line naming it and why, any reservation it still records released as a plain release; its worktree, branch and lane stay for the sweep. Each run that still holds the fast-forward is said with the act that frees it, and the hooks' refusal names the same in place of a bare settle that. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
Resolves: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
The fast-forward's let-go released, unfenced, any reservation this copy held on the run's issue, though a run idle a day has let its own hold lapse: a hand reservation or a run stepped again could be tombstoned. It now pushes nothing for a lapsed hold and says its hold had lapsed, leaves standing a hold claimed or renewed after the run last moved, and releases, fenced on the commit the view showed, only a hold of this copy's still inside its lease and older than the run's movement. A run is let go only once nothing else declines the fast-forward and the comparison of what the drive holds has passed, so a start declined for another reason lets nothing go. A control record that cannot be read holds the fast-forward. A let-go run is marked on its record, with its date kept, so a later start names it no more and counts such runs on one line, and the line names the discard that ends the run for good. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
The let-go line put each lane id from the run's state file into a command to paste; one edited by hand could carry shell words. Only an id that passes ValidLaneID is named in a discard command now, and any other lane is said plainly with no command. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
Assisted-by: Claude:claude-opus-5-5
The fast-forward a drive makes between lanes listed every lane in progress, so a run the start had just let go for its fast-forward declined every boundary for the rest of the drive, naming a lane of it in progress against the start's own line. Both paths now share one judgement (ffRunsFor): a run nothing holds is kept out of the lanes and let go just before the merge (letGoAllForFF), and one decline helper (sayFFDeclined) gives both the same say-once key, so a standing decline is said once across the start and the boundaries. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
A run let go for the fast-forward whose reservation had lapsed kept it on record, so the drive's own renewal at its first wait or agent call revived the hold on origin and dated the run now, and every later boundary held the run again. The let-go now leaves each hold that can still be the run's own and is not released, a lapsed one or one whose release failed, to lapse in this copy, as a lane set aside does, so no renewal revives it. The drain page says a drive, at its start or between lanes, lets such a run go, and the count line names an earlier drive rather than an earlier start. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
…ward The let-go left a lapsed hold's note as its only sign, but a drive's start reads that note as a hold to work again, so it reserved and stepped the run it had just let go; and the renewals missed a run whose hold another copy now has, or whose members include one released, and dated it as moved. The run's let-go mark is now the one sign: while it is the run's last entry, no start takes the run up or over, no take-up works a hold of it, and no renewal of a run revives, logs on or re-dates it. The lapse note stays only for the load-gate waiter's renewal of this copy's reservations, which reads no run. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
… more The let-go is now judged by whose the run is (dcn-2612031056281133). A run the drain lists is the drive's own work and is taken up again as its lane comes to hand; a run a stop's mark stands on is taken over by a drive's start once the stop is lifted, as the stop's rule says; only a run no drain lists and no mark stands on stays let go until a person steps it. The let-go line ends by saying which. The let-go mark is now saved before any hold is left to lapse, and a mark that cannot be saved is said on the line and leaves every hold as it was, so no run carries a lapse note without the mark. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
The let-go line counted a run as the drain's whatever its lane's outcome, but the drain hands out only lanes in progress, so a lane taken over or passed over was told the drive takes it up while it stays let go. Only a lane in progress or halted, and not passed over, now reads as the drive's; any other run, an intent's build carrying a stop's mark among them, is given the person's acts. The stop's wording reads true for a stop already lifted, and a failed save no longer claims a hold released above was left as it was. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
A halted lane was told the drive takes it up again while the person's stop still held it, and a stopped run whose lane was taken over was told a drive's start takes it over though the start skips it. The line now follows the drive's own paths: a lane taken over or passed over, or passed over by this drive, gets the person's acts whatever its mark; an issue's run with a stop's mark that the drive still hands out is taken over once no stop holds over it; only an unmarked lane in progress is the drive's to take up again. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
The passed-over check ran before the stop's, so a marked lane this drive passed over was told it waits on a person while the next start takes it over; an unmarked lane it passed over was told no drive takes it up while the next drive does; and under a drain state that cannot be read a marked run was promised a take-over the start does not make. The line now says this drive takes nothing up where the drain cannot be read, gives a marked issue's run the stop's wording whether or not this drive passed it over, and names the next drive for an unmarked lane passed over. One table test covers every input the line reads. Refs: iss-2612022203551074 Assisted-by: Claude:claude-opus-5-5
Assisted-by: Claude:claude-opus-5-5
An ended drain hands nothing out: the first move begins a new drain with no lanes. So a lane an outage-stopped drain still lists in progress was promised a take-up that no drive makes, and a taken-over or handed-back lane that carries a stop's mark was given the person wording, though the next start takes it over. ffWhoseNext now counts a lane as listed only while readDrain says the drain is live. The table test gains rows for an ended drain and a missing state, and drain.md says an ended drain's lanes count as unlisted. Refs: iss-2612022203551074 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.
Refs: iss-2612022203551074
Resolves: iss-2612022203551074
Assisted-by: abcd:dev
Assisted-by: Claude:claude-opus-5-5