Every pipeline has a sequence and pipeline-ended carries it; the want's run is that sequence (design 47 H2 §813 (1), H-A-504) #341

Merged
mesh-tools merged 3 commits from fix/want-run-order into main 2026-11-22 22:44:15 +00:00
3 Commits
Author SHA1 Message Date
jschoubben b6702196b8 H-A-504 addendum assigner: a want's run is its pipeline's sequence
runOf took the pipeline key's last segment, an again run's number, so
node-tools 0.1.115 of main.320.again.1 (run "1") was refused on every
node under run "2" of main.265.again.2, an older pipeline. The assigner
now keeps the sequence pipeline-ended says in its end record and the want
rule writes it as the want's run; the compare-and-set and the
node-engine's compare stay as they are. A pipeline-ended without seq is
refused in the journal and keeps nothing; an end kept before this change,
without seq, writes no want and says so once, naming the runner's
end-again of its pipeline as the recovery.

Builds: design 47 H2 §813 (1), H-A-504 corrected, H-A-504 addendum, H-A-504 second addendum
2026-11-22 23:35:51 +01:00
jschoubben f6aff0182c H-A-504 addendum runner: every pipeline has a sequence, and its end says it
The runner took queue.next only for a pipeline that waited, so most
pipelines kept seq 0 and the assigner had no order across pipelines for a
want's run. queueStart now takes the next sequence for every pipeline it
writes, queued or placed at once, and pipeline-ended carries the record's
seq.

Builds: design 47 H2 §813 (1), H-A-504 corrected, H-A-504 addendum
2026-11-22 23:35:43 +01:00
jschoubben ed0b905767 H-A-504 addendum contracts: pipeline-ended carries the pipeline's sequence
The assigner had no sequence to write as a want's run: pipeline-ended said
no seq, so it took the key's last segment, an again run's number, and
refused node-tools 0.1.115 of main.320.again.1 under run "2" of an older
pipeline. pipeline-ended gains seq, the record's; the record's seq is now
said to be taken for every pipeline. The runner seat's form is 10; the
contract is regenerated, with a fixture of an again pipeline's end.

Builds: design 47 H2 §813 (1), H-A-504 corrected, H-A-504 addendum
2026-11-22 23:27:19 +01:00