Design 47 H1: every ask the runner makes is bounded; a shared validate ask is never read as one mover's; a moved mover leaves a waiting pipeline (H-A-235)
#309
Merged
mesh-toolsmerged 8 commits from fix/47-H1-runner-asks-bounded into main2026-11-21 11:02:23 +00:00
A pipeline held the runner's one slot nine hours on a validate ask lost at its holder's restart; every validate rerun was refused and a passed validate's end was dropped because the shared validate ask was matched by one mover; a pipeline waited nine hours and built a stale mover. Every ask now has a bound (ask-unanswered-bound 10m, two bounds for seats with an ask-taken; ask-silent-bound 45m for mesh-builds and mesh-wants), open asks are put again when the seat's holder starts, bounds survive a restart, a validate's rerun and end cover every mover's step, and a moved mover leaves a waiting pipeline too. Design lines: H-A-235, H-A-236, H-A-238, H-A-241, H-A-243, H-A-244 (1), H-A-252, H-A-223, H-A-51. Owed: the two seats' asks as a work queue and their ask-taken. Reviewed-by: mesh-code-reviewer@shanks at beaf856a30be2765579cdc659a2e8509523a83e2 (rebased clean onto e5f54c5c as 6b6e4c81f0dcd394a0ce02131999e3103db16628; go test ./... in modules/mesh-delivery-pipeline passes)
A pipeline held the runner's one slot nine hours on a validate ask lost at its holder's restart; every validate rerun was refused and a passed validate's end was dropped because the shared validate ask was matched by one mover; a pipeline waited nine hours and built a stale mover. Every ask now has a bound (ask-unanswered-bound 10m, two bounds for seats with an ask-taken; ask-silent-bound 45m for mesh-builds and mesh-wants), open asks are put again when the seat's holder starts, bounds survive a restart, a validate's rerun and end cover every mover's step, and a moved mover leaves a waiting pipeline too. Design lines: H-A-235, H-A-236, H-A-238, H-A-241, H-A-243, H-A-244 (1), H-A-252, H-A-223, H-A-51. Owed: the two seats' asks as a work queue and their ask-taken. Reviewed-by: mesh-code-reviewer@shanks at beaf856a30be2765579cdc659a2e8509523a83e2 (rebased clean onto e5f54c5c as 6b6e4c81f0dcd394a0ce02131999e3103db16628; go test ./... in modules/mesh-delivery-pipeline passes)
The rerun verb looked a step's ask up by the mover's id, but the validate
ask is one per pipeline and names no mover, so every validate rerun, and
a composition rerun, was refused "placed no ask now".
Builds: design 47 H H-A-236
An ask whose holder lost it (the seat mesh-wants' holder restarted) held
its pipeline's turn for nine hours. Every ask but a test run's now arms
a key of the state bounds before it is put; its expiry asks once more,
said in the journal, and the second ends the step could not run with
the finding call-unanswered, so the pipeline ends and its turn frees.
Builds: design 47 H H-A-235, H-A-238 (1)-(5)
mesh-builds and mesh-wants say nothing before a step's end, so asking
them again at the short bound would double a running build. Their ask
has one bound, ask-silent-bound, and is put again when the node-engine
says the holder running, since the holder takes asks on a plain
subscription and loses those put while it is down. An ask asked again
on a build seat carries a second id derived in the accepted form.
Builds: design 47 H H-A-235, H-A-238, H-A-241, H-A-243
Only a newer pipeline that waited took movers out of older waiting ones;
one placed at once left them, so main.84 was placed nine hours later
with a mover a newer revision had moved and built a stale fingerprint.
Builds: design 47 H H-A-223, H-A-244 (1)
The pipeline's one validate ask names no mover, but its end names the
mover whose body the holder took; the runner compared that mover with
the first step carrying the ask and dropped a passed validate, so the
pipeline held its slot (main.88).
Builds: design 47 H H-A-236, H-A-252
The rerun put only the named mover's validate under the new ask; the
others stayed failed under the old one, so the pipeline failed again
and a second rerun made a second validate ask, breaking the pipeline's
one validate ask. The compositions its failed validate ended not asked
now wait again, asked once validate passes as at the placing.
Builds: design 47 H H-A-51, H-A-236
The bounds were watched for updates only, so an expiry marker written
while the runner was down was never heard and that ask had no bound.
At the start each ask key's last entry is read; an expiry marker is
taken then. A running heard before the seat-holders view is read is
heard again after a delay instead of at once.
Builds: design 47 H H-A-238 (5), H-A-243 (1)
The start read the second bound with a get, which says not found both
for a key never armed and for one the holder's ask-taken deleted, so
every later start asked an answered step once more. The first read
keeps each key's last entry; a first bound's expiry is taken only when
its second bound left no entry at all, and with both passed only the
second is taken, ending the step without asking it again.
Builds: design 47 H H-A-238 (5)
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.
A pipeline held the runner's one slot nine hours on a validate ask lost at its holder's restart; every validate rerun was refused and a passed validate's end was dropped because the shared validate ask was matched by one mover; a pipeline waited nine hours and built a stale mover. Every ask now has a bound (ask-unanswered-bound 10m, two bounds for seats with an ask-taken; ask-silent-bound 45m for mesh-builds and mesh-wants), open asks are put again when the seat's holder starts, bounds survive a restart, a validate's rerun and end cover every mover's step, and a moved mover leaves a waiting pipeline too. Design lines: H-A-235, H-A-236, H-A-238, H-A-241, H-A-243, H-A-244 (1), H-A-252, H-A-223, H-A-51. Owed: the two seats' asks as a work queue and their ask-taken. Reviewed-by: mesh-code-reviewer@shanks at beaf856a30be2765579cdc659a2e8509523a83e2 (rebased clean onto
e5f54c5cas 6b6e4c81f0dcd394a0ce02131999e3103db16628; go test ./... in modules/mesh-delivery-pipeline passes){
"records": [
{
"instance": "record/main_68_b6ca7bcb",
"sequence": 30997,
"bytes": 4741,
"of-bytes": 262144,
"waits": "its difference is not known yet",
"record": {
"milestone": "main.68",
"branch": "main",
"source": 68,
"call": "286d7a74aa7f6742",
"heads": {
"novox/mesh-delivery@309": "b0082ec04fcbadcaf8699cce4a0ec54f6512f739"
},
"opened": "2026-11-21T11:02:30.73488978Z",
"form": 1,
"trace": {
"pulls": [
"novox/mesh-delivery@309"
],
"commits": [
"b0082ec04fcbadcaf8699cce4a0ec54f6512f739"
],
"source": "68",
"call": "286d7a74aa7f6742",
"by": "lead-47@shanks",
"account": "shanks.node-tools",
"at": "2026-11-21T11:02:25.273Z"
},
"entries": {
"mesh-delivery-pipeline|src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d|": {
"key": "mesh-delivery-pipeline|src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d|",
"module": "mesh-delivery-pipeline",
"fingerprint": "src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d"
}
},
"outcomes": {
"mesh-delivery-pipeline|src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d||take-in": {
"key": "mesh-delivery-pipeline|src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d||take-in",
"module": "mesh-delivery-pipeline",
"fingerprint": "src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d",
"step": "take-in",
"outcome": "taken-in",
"at": "2026-11-21T11:03:22.451381944Z"
},
"|||pipeline": {
"key": "|||pipeline",
"module": "",
"step": "pipeline",
"outcome": "held",
"why": "pipelines-at-once",
"at": "2026-11-21T11:04:52.436644261Z"
}
},
"acts": {
"note.record/main_68_b6ca7bcb.novox/mesh-delivery#309@1795259002480295857.80bbbedf": {
"id": "note.record/main_68_b6ca7bcb.novox/mesh-delivery#309@1795259002480295857.80bbbedf",
"act": "note",
"repository": "novox/mesh-delivery",
"number": 309,
"head": "b0082ec04fcbadcaf8699cce4a0ec54f6512f739",
"outcome": "",
"at": "2026-11-21T11:03:22.480399447Z",
"owed": {
"act": "note",
"commit": "b0082ec04fcbadcaf8699cce4a0ec54f6512f739",
"head": "b0082ec04fcbadcaf8699cce4a0ec54f6512f739",
"id": "note.record/main_68_b6ca7bcb.novox/mesh-delivery#309@1795259002480295857.80bbbedf",
"line": "2026-11-21T11:03:22Z record record/main_68_b6ca7bcb: mesh-delivery-pipeline take-in taken-in (the take-in step's event)",
"number": 309,
"repository": "novox/mesh-delivery",
"said": "2026-11-21T11:03:22.480399447Z"
}
},
"view.record/main_68_b6ca7bcb.novox/mesh-delivery#309@1795259002480295857.a581ce2b": {
"id": "view.record/main_68_b6ca7bcb.novox/mesh-delivery#309@1795259002480295857.a581ce2b",
"act": "view",
"repository": "novox/mesh-delivery",
"number": 309,
"head": "b0082ec04fcbadcaf8699cce4a0ec54f6512f739",
"outcome": "",
"at": "2026-11-21T11:03:22.488614412Z",
"owed": {
"act": "view",
"head": "b0082ec04fcbadcaf8699cce4a0ec54f6512f739",
"id": "view.record/main_68_b6ca7bcb.novox/mesh-delivery#309@1795259002480295857.a581ce2b",
"number": 309,
"repository": "novox/mesh-delivery",
"said": "2026-11-21T11:03:22.488614412Z",
"text": "{\n "records": [\n {\n "instance": "record/main_68_b6ca7bcb",\n "sequence": 30966,\n "bytes": 1188,\n "of-bytes": 262144,\n "waits": "its difference is not known yet",\n "record": {\n "milestone": "main.68",\n "branch": "main",\n "source": 68,\n "call": "286d7a74aa7f6742",\n "heads": {\n "novox/mesh-delivery@309": "b0082ec04fcbadcaf8699cce4a0ec54f6512f739"\n },\n "opened": "2026-11-21T11:02:30.73488978Z",\n "form": 1,\n "trace": {\n "pulls": [\n "novox/mesh-delivery@309"\n ],\n "commits": [\n "b0082ec04fcbadcaf8699cce4a0ec54f6512f739"\n ],\n "source": "68",\n "call": "286d7a74aa7f6742",\n "by": "lead-47@shanks",\n "account": "shanks.node-tools",\n "at": "2026-11-21T11:02:25.273Z"\n },\n "entries": {\n "mesh-delivery-pipeline|src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d|": {\n "key": "mesh-delivery-pipeline|src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d|",\n "module": "mesh-delivery-pipeline",\n "fingerprint": "src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d"\n }\n },\n "outcomes": {\n "mesh-delivery-pipeline|src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d||take-in": {\n "key": "mesh-delivery-pipeline|src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d||take-in",\n "module": "mesh-delivery-pipeline",\n "fingerprint": "src2:c73b78500f51b70f27c5ad66fd32ae6fd25a858be5cad7d3e921af95a73e731d",\n "step": "take-in",\n "outcome": "taken-in",\n "at": "2026-11-21T11:03:22.451381944Z"\n }\n }\n }\n }\n ]\n}"
}
}
}
}
}
]
}