mesh-delivery-pipeline: a predecessor a newer revision moved ties nothing, in every path that reopens a pipeline or reads its ties (design 47 H2 H-A-770; issue 1984)
#370
Merged
mesh-toolsmerged 5 commits from fix/47-H2-770-moved-predecessor-unties into main2026-11-26 02:09:35 +00:00
main.530's closed group held 21 modules (distribution and nats among them) behind its mesh-delivery-builder at a fingerprint the head no longer holds: start's reopen was refused whole (00:21) and the carry at revision 537 said "tied to [mesh-delivery-builder], which it does not move" (02:15).
H-A-770 (1): every path H-A-594 (3) puts under one rule (the carry at a take-in and at a pipeline's end, start, runner_unfinished_place, rerun, the rerun of a test run) takes out every mover a newer revision moved, other than its own, says it naming both fingerprints and revisions, and drops its stale key (H-A-594 (2) last sentence, H-A-761).
H-A-770 (2): the pipeline-failed finding's held-behind list reads the head.
H-A-770 (3): no entry at the head counts as another fingerprint.
H-A-770 (4): Unfinished.HeldBehind, with no caller, is removed.
H-A-770 (5), (6): a mover counts as moved only at a head newer than its pipeline's revision; while the view lags, no path drops a key (the carry keeps it, the place refuses naming both revisions, start starts at the head without dropping it).
Quick fix: none (runner_unfinished_drop keeps a module out until its fingerprint moves). Thorough fix chosen: met twice tonight. Issue 1984 note 54 holds what exists today and the acceptance criteria.
Tests: one row per path, each failing with only its change taken out; gofmt, go vet (both tags), go test ./..., integration of cmd/mesh-delivery-pipeline and internal/pipeline (104 s) pass. One integration test's H-A-608 step now names a revision older than the head (99 -> 1); what it checks is unchanged.
Reviewed-by: mesh-code-reviewer ac50a87d@shanks at 9e08d230e7
main.530's closed group held 21 modules (distribution and nats among them) behind its mesh-delivery-builder at a fingerprint the head no longer holds: `start`'s reopen was refused whole (00:21) and the carry at revision 537 said "tied to [mesh-delivery-builder], which it does not move" (02:15).
- H-A-770 (1): every path H-A-594 (3) puts under one rule (the carry at a take-in and at a pipeline's end, `start`, `runner_unfinished_place`, `rerun`, the rerun of a test run) takes out every mover a newer revision moved, other than its own, says it naming both fingerprints and revisions, and drops its stale key (H-A-594 (2) last sentence, H-A-761).
- H-A-770 (2): the pipeline-failed finding's held-behind list reads the head.
- H-A-770 (3): no entry at the head counts as another fingerprint.
- H-A-770 (4): `Unfinished.HeldBehind`, with no caller, is removed.
- H-A-770 (5), (6): a mover counts as moved only at a head newer than its pipeline's revision; while the view lags, no path drops a key (the carry keeps it, the place refuses naming both revisions, `start` starts at the head without dropping it).
Quick fix: none (runner_unfinished_drop keeps a module out until its fingerprint moves). Thorough fix chosen: met twice tonight. Issue 1984 note 54 holds what exists today and the acceptance criteria.
Tests: one row per path, each failing with only its change taken out; gofmt, go vet (both tags), go test ./..., integration of cmd/mesh-delivery-pipeline and internal/pipeline (104 s) pass. One integration test's H-A-608 step now names a revision older than the head (99 -> 1); what it checks is unchanged.
Reviewed-by: mesh-code-reviewer ac50a87d@shanks at 9e08d230e7bbf51d4e85d9c52b2e8346fb031443
main.530's mesh-delivery-builder failed at src2:0da7a2b0 and main.531 built it at
src2:f28847e6, yet start's reopen of main.530 asked its build again and was refused
whole, and the carry of revision 537 kept 21 movers tied to it. A mover of an ended
pipeline that did not pass and whose head entry holds another fingerprint now counts
as carried by the newer revision in every path that reads a closed group's ties or
reopens a failed pipeline's group: the carry at a take-in and at a pipeline's end
(read at the head's revision, the view's newest), start's reopen, runner_unfinished_place
and a rerun's reopen. It ties nothing, goes in no group, leaves a reopened pipeline's
movers, and is said naming both fingerprints and the revisions read, its unfinished key
dropped where it names another fingerprint than the head's; the group goes on.
Builds: design 47 H2 H-A-594 (2), (3), (4), H-A-759, H-A-761
H-A-594 (3) puts every path that reopens an ended pipeline under one rule: a rerun of a
step that reads a test run now takes the movers a newer revision moved, other than its
own, out of the pipeline's movers and says them, as rerun does, through one helper
leaveMovedOn. The finding pipeline-failed's held-behind list read the ties without the
head, so it could name a mover as held behind a predecessor a newer revision moved: it
now reads the head's revision as the carry does (H-A-594 (2)).
Builds: design 47 H2 H-A-594 (2), (3), (4), H-A-761
The finding pipeline-failed reads its held-behind list from pipeline.HeldBehind, which reads
the head; Unfinished.HeldBehind was left with no caller (principle 7).
Builds: design 47 H2 H-A-770 (4)
H-A-770 (5): while the runner's view of the head is at the revision of the pipeline a
mover's record names, or older, a head entry at another fingerprint counts for nothing:
movedOn drops and unties nothing, so a lagging view never drops a key, and the mover is
judged again when the view moves. movedOn, closedGroup, heldBack and HeldBehind now take
the head's revision with its entries.
Builds: design 47 H2 H-A-770 (5), H-A-594 (2)
H-A-770 (6): H-A-770 (5) holds for H-A-761's drop of a key for its own mover too. While the
head is not newer than the revision of the pipeline a key names, the carry at a take-in
keeps the key and says so, runner_unfinished_place refuses naming both revisions and drops
nothing, and start reopens nothing and starts at the head as it does today, keeping the
key. The integration test's aged revision moves from 99 to 1, older than the head, since
a key naming a newer revision is now judged again rather than dropped.
Builds: design 47 H2 H-A-770 (5), (6), H-A-761
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
main.530's closed group held 21 modules (distribution and nats among them) behind its mesh-delivery-builder at a fingerprint the head no longer holds:
start's reopen was refused whole (00:21) and the carry at revision 537 said "tied to [mesh-delivery-builder], which it does not move" (02:15).start,runner_unfinished_place,rerun, the rerun of a test run) takes out every mover a newer revision moved, other than its own, says it naming both fingerprints and revisions, and drops its stale key (H-A-594 (2) last sentence, H-A-761).Unfinished.HeldBehind, with no caller, is removed.startstarts at the head without dropping it).Quick fix: none (runner_unfinished_drop keeps a module out until its fingerprint moves). Thorough fix chosen: met twice tonight. Issue 1984 note 54 holds what exists today and the acceptance criteria.
Tests: one row per path, each failing with only its change taken out; gofmt, go vet (both tags), go test ./..., integration of cmd/mesh-delivery-pipeline and internal/pipeline (104 s) pass. One integration test's H-A-608 step now names a revision older than the head (99 -> 1); what it checks is unchanged.
Reviewed-by: mesh-code-reviewer ac50a87d@shanks at
9e08d230e7{
"records": [
{
"instance": "record/main_170_99228e18",
"sequence": 91343,
"bytes": 1268,
"of-bytes": 65536,
"record": {
"milestone": "main.170",
"branch": "main",
"source": 170,
"call": "29a40e6d66ef2b1f",
"heads": {
"novox/mesh-delivery@370": "5a855b9d8423c60affa904502edb14e5e0e9579c"
},
"opened": "2026-11-26T02:09:35.481693722Z",
"form": 3,
"trace": {
"pulls": [
"novox/mesh-delivery@370"
],
"commits": [
"5a855b9d8423c60affa904502edb14e5e0e9579c"
],
"source": "170",
"call": "29a40e6d66ef2b1f",
"by": "lead-47@shanks",
"account": "shanks.node-tools",
"at": "2026-11-26T02:09:35.471Z"
},
"ended": {
"at": "2026-11-26T02:15:41.272134482Z",
"why": "every present node runs its entries"
},
"movers": 3,
"merge-called": "2026-11-26T02:09:35.471Z",
"phases": {
"build": {
"end": "2026-11-26T02:11:00.321968979Z",
"start": "2026-11-26T02:10:26.364380602Z"
},
"composition": {
"end": "2026-11-26T02:12:39.049877154Z",
"start": "2026-11-26T02:11:36.468778464Z"
},
"ended": "2026-11-26T02:13:14.142485999Z",
"integration": {
"end": "2026-11-26T02:13:14.142485999Z",
"start": "2026-11-26T02:10:26.364380602Z"
},
"lint": {
"end": "2026-11-26T02:12:22.023798027Z",
"start": "2026-11-26T02:10:26.364380602Z"
},
"placed": "2026-11-26T02:10:26.364380602Z",
"taken": "2026-11-26T02:10:21.650072451Z",
"unit": {
"end": "2026-11-26T02:12:03.533125893Z",
"start": "2026-11-26T02:10:26.364380602Z"
},
"validate": {
"end": "2026-11-26T02:11:36.468778464Z",
"start": "2026-11-26T02:10:26.364380602Z"
}
}
}
}
]
}