A build is superseded only by a newer revision's entry (design 47 H2, H-A-555, H-A-557, H-A-561..H-A-563) #355

Merged
mesh-tools merged 7 commits from fix/supersede-newer into main 2026-11-23 11:51:25 +00:00
7 Commits
Author SHA1 Message Date
jschoubben 71648fbe9e mesh-delivery-pipeline: the pipeline's own revision moves the mover out; a revision wait is said (H-A-563)
Only a superseded end naming a revision older than the pipeline's is
asked again; one naming the pipeline's own revision (the builder's
kept-revision path) moves the mover out as H-A-508 has it, so no re-ask
can loop. A build that starts waiting on the revision view says
wait-held, on: revision view, and wait-ended when the view's move ends
it, as the operator's wait does.

Builds: design 47 H2 H-A-563
2026-11-23 12:50:08 +01:00
jschoubben fb3f186aed mesh-delivery-pipeline: judge a superseded build by the revision its end names (H-A-561, H-A-562)
A build ended superseded is judged by the module graph revision its end
names of the entry that superseded it, never by the order entries were
heard in: none (a builder before H-A-561) moves the mover out as before;
one not newer than the pipeline's own is asked again at once; one newer
the runner's view does not hold yet keeps the step waiting on the
revision view, its revision in the pipeline's value, and each move of
the view judges such steps again, moving the mover out once it holds
the revision; one newer and held moves the mover out at once. No re-ask
can loop: the builder names the revision it judged by.

Builds: design 47 H2 H-A-555, H-A-561, H-A-562
2026-11-23 12:44:19 +01:00
jschoubben f9e2bbe193 mesh-delivery-builder: a superseded end names the superseding entry's revision (H-A-561)
A build step ended superseded names the module graph revision of the
entry that superseded it: the revision the picture heard that entry at,
or the ask's own revision where the catalog's kept revision names the
newer fingerprint. The runner then judges the end by that revision, not
by the order the entries were heard in.

Builds: design 47 H2 H-A-561
2026-11-23 12:39:18 +01:00
jschoubben 68a629d380 Seats mesh-builds and mesh-pipeline-runner: a superseded end names its revision, a held step keeps it (H-A-561, H-A-562)
The seat mesh-builds' step-ended gains revision: for a step ended
superseded, the module graph revision of the entry that superseded it,
so the runner judges it without the order entries are heard in (form 3).
The seat mesh-pipeline-runner's step gains revision: for a step waiting
on the revision view, the revision it waits for, kept in the pipeline's
value (form 12). Regenerated, with a fixture of each.

Builds: design 47 H2 H-A-561, H-A-562
2026-11-23 12:37:57 +01:00
jschoubben e247ccc794 mesh-delivery-builder: an older revision's entry stays behind the newest heard (H-A-557, review r1)
An entry heard of an older module graph revision than the one the
picture holds for its branch neither replaces it as the newest nor
withdraws its build; it is said in the journal. The test hears revision
453's entry with its build running, then 452's, then 454's.

Builds: design 47 H2 H-A-557
2026-11-23 12:35:19 +01:00
jschoubben 1df7a964fc mesh-delivery-pipeline: a mover leaves only for a newer revision's entry (H-A-555, H-A-557)
main.453 ended every build step superseded and moved its movers out for
the newer revision's pipeline, though the superseding entry was of source
140, older than its own: no pipeline delivered them. The runner now reads
its own view of the branch's catalog half when a build ends superseded:
the mover leaves only when that revision is newer than the pipeline's and
names another fingerprint of it. Otherwise the end is passed over, said in
the journal, and the build is asked again at once under a new ask, as a
declined step is; the builder's revision wait holds it.

Builds: design 47 H2 H-A-555, H-A-557
2026-11-23 12:30:19 +01:00
jschoubben 9c64253b1f mesh-delivery-builder: a build is superseded only by an entry of a newer revision (H-A-557)
The builder's picture lags a step ask whose revision it reads by number:
main.453 asked fp f1b929cd at revision 453 (source 141) while the picture
still held source 140's ee67bdfc as the last entry heard, and supersededBy
judged the newer ask superseded by the older entry. The builder now keeps
the revision beside each entry it heard and supersedes a fingerprint only
by an entry of a newer module graph revision than its own; an older or
equal one is passed over and said once. An older entry heard never
withdraws a newer build either.

Builds: design 47 H2 H-A-557, H-A-555
2026-11-23 12:26:28 +01:00