mesh-delivery-pipeline: a mover that goes on takes its commit from the head's entry; a step's end is matched by ask, module and fingerprint (design 47 H2 H-A-768, H-A-769; issue 1984) #368

Merged
mesh-tools merged 3 commits from fix/47-H2-768-mover-commit-from-head into main 2026-11-25 23:09:34 +00:00
Member

Design 47 H2's delivery, issue 1984. Builds the lead answers H-A-768 and H-A-769 (hq branch design/47-H2-answers-61 at 76de5183, 03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md).

The fault, met twice: the builder refused "the entry of at is of at " for mesh-build-node in main.531 and for distribution (and mesh-conditions, mesh-config, claude-code, mesh-provisioner, mesh-self-check) in main.530 reopened at 23:50 CET: the runner asked a carried, placed, reopened or rerun mover with its old mover record's commit while the entry at its fingerprint names the head's newer merge commit (the module unchanged).

This pull request (modules/mesh-delivery-pipeline):

  • A mover that goes on takes its commit and repository from the head's entry at its fingerprint before its asks are made (H-A-768): start's placement of an ended pipeline (EndCount > 0), the rerun, the reopen of a group, and the place's plan, so a group joining the head's waiting or running pipeline joins it at the head's commit (H-A-769 (1)). A running pipeline's kept mover keeps H-A-286's kept revision.
  • A step's end is matched by its ask, module and fingerprint; the commit is not compared with the mover record's, since a same fingerprint at another commit is the same build (H-A-769 (2), H-A-530), so an open step's end is taken after its mover adopted a newer commit.

Commits fa8a248c, 65c0f748, cc9d7cbe.

Quick and thorough fix: quick: drop the builder's commit check; thorough (taken): the runner asks with the commit of the entry it reads, in every path a mover goes on, and matches ends without the commit, so the builder's check of the ask against the entry stands.

Tests: each new row failed before its fix (TestAMoverReopenedIsAskedWithTheHeadsPins, TestAPlacedGroupJoinsTheHeadAtTheHeadsCommit, TestAStepEndAtTheAskedCommitIsTakenAfterTheMoverAdoptedANewOne); mesh-delivery-pipeline's unit suite, go vet with and without integration, and its integration package pass.

Reviewed-by: mesh-code-reviewer a9a790a3@shanks at cc9d7cbe06 (round 3 of 3; round 1: the place's join path and the step-end commit match; round 2: the place row proved less than its check — all fixed).

Pull request check: skipped until design 47 is delivered (the operator, 2026-11-22 21:05); the main pipeline builds and delivers every merge.

Design 47 H2's delivery, issue 1984. Builds the lead answers H-A-768 and H-A-769 (hq branch `design/47-H2-answers-61` at 76de5183, `03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md`). **The fault, met twice:** the builder refused "the entry of <module> at <fp> is of <module> at <commit>" for mesh-build-node in main.531 and for distribution (and mesh-conditions, mesh-config, claude-code, mesh-provisioner, mesh-self-check) in main.530 reopened at 23:50 CET: the runner asked a carried, placed, reopened or rerun mover with its old mover record's commit while the entry at its fingerprint names the head's newer merge commit (the module unchanged). **This pull request** (modules/mesh-delivery-pipeline): - A mover that goes on takes its commit and repository from the head's entry at its fingerprint before its asks are made (H-A-768): start's placement of an ended pipeline (EndCount > 0), the rerun, the reopen of a group, and the place's plan, so a group joining the head's waiting or running pipeline joins it at the head's commit (H-A-769 (1)). A running pipeline's kept mover keeps H-A-286's kept revision. - A step's end is matched by its ask, module and fingerprint; the commit is not compared with the mover record's, since a same fingerprint at another commit is the same build (H-A-769 (2), H-A-530), so an open step's end is taken after its mover adopted a newer commit. Commits fa8a248c, 65c0f748, cc9d7cbe. **Quick and thorough fix:** quick: drop the builder's commit check; thorough (taken): the runner asks with the commit of the entry it reads, in every path a mover goes on, and matches ends without the commit, so the builder's check of the ask against the entry stands. **Tests:** each new row failed before its fix (TestAMoverReopenedIsAskedWithTheHeadsPins, TestAPlacedGroupJoinsTheHeadAtTheHeadsCommit, TestAStepEndAtTheAskedCommitIsTakenAfterTheMoverAdoptedANewOne); mesh-delivery-pipeline's unit suite, `go vet` with and without `integration`, and its integration package pass. Reviewed-by: mesh-code-reviewer a9a790a3@shanks at cc9d7cbe06b6dc012822cbd09cb73c63b6b4fe87 (round 3 of 3; round 1: the place's join path and the step-end commit match; round 2: the place row proved less than its check — all fixed). **Pull request check:** skipped until design 47 is delivered (the operator, 2026-11-22 21:05); the main pipeline builds and delivers every merge.
mesh-tools added 3 commits 2026-11-25 23:09:26 +00:00
A carried, placed, reopened or rerun mover was asked with its old record's commit while the entry at its fingerprint names the head's newer merge commit, so the builder refused the ask.

Builds: design 47 H2 H-A-768, H-A-763 (3), H-A-764, H-A-761, H-A-286
Builds: design 47 H2 H-A-769 (1), (2), H-A-768, H-A-530
Builds: design 47 H2 H-A-769 (1), H-A-768
mesh-tools merged commit 3775523cb9 into main 2026-11-25 23:09:34 +00:00
mesh-tools deleted branch fix/47-H2-768-mover-commit-from-head 2026-11-25 23:09:34 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_168_d04d2ee1",
"sequence": 91194,
"bytes": 1266,
"of-bytes": 65536,
"record": {
"milestone": "main.168",
"branch": "main",
"source": 168,
"call": "19b31316c2987569",
"heads": {
"novox/mesh-delivery@368": "3775523cb97d64161c7bff8a858f7c2fa1881c38"
},
"opened": "2026-11-25T23:09:34.70466792Z",
"form": 3,
"trace": {
"pulls": [
"novox/mesh-delivery@368"
],
"commits": [
"3775523cb97d64161c7bff8a858f7c2fa1881c38"
],
"source": "168",
"call": "19b31316c2987569",
"by": "lead-47@shanks",
"account": "shanks.node-tools",
"at": "2026-11-25T23:09:34.693Z"
},
"ended": {
"at": "2026-11-25T23:19:49.168829619Z",
"why": "every present node runs its entries"
},
"movers": 2,
"merge-called": "2026-11-25T23:09:34.693Z",
"phases": {
"build": {
"end": "2026-11-25T23:11:06.560239964Z",
"start": "2026-11-25T23:10:40.631306673Z"
},
"composition": {
"end": "2026-11-25T23:11:44.678349447Z",
"start": "2026-11-25T23:11:23.255281143Z"
},
"ended": "2026-11-25T23:13:10.028321662Z",
"integration": {
"end": "2026-11-25T23:13:10.028321662Z",
"start": "2026-11-25T23:10:40.631306673Z"
},
"lint": {
"end": "2026-11-25T23:12:15.129237606Z",
"start": "2026-11-25T23:10:40.631306673Z"
},
"placed": "2026-11-25T23:10:40.631306673Z",
"taken": "2026-11-25T23:10:36.63920992Z",
"unit": {
"end": "2026-11-25T23:11:58.508731274Z",
"start": "2026-11-25T23:10:40.631306673Z"
},
"validate": {
"end": "2026-11-25T23:11:23.255281143Z",
"start": "2026-11-25T23:10:40.631306673Z"
}
}
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_168_d04d2ee1", "sequence": 91194, "bytes": 1266, "of-bytes": 65536, "record": { "milestone": "main.168", "branch": "main", "source": 168, "call": "19b31316c2987569", "heads": { "novox/mesh-delivery@368": "3775523cb97d64161c7bff8a858f7c2fa1881c38" }, "opened": "2026-11-25T23:09:34.70466792Z", "form": 3, "trace": { "pulls": [ "novox/mesh-delivery@368" ], "commits": [ "3775523cb97d64161c7bff8a858f7c2fa1881c38" ], "source": "168", "call": "19b31316c2987569", "by": "lead-47@shanks", "account": "shanks.node-tools", "at": "2026-11-25T23:09:34.693Z" }, "ended": { "at": "2026-11-25T23:19:49.168829619Z", "why": "every present node runs its entries" }, "movers": 2, "merge-called": "2026-11-25T23:09:34.693Z", "phases": { "build": { "end": "2026-11-25T23:11:06.560239964Z", "start": "2026-11-25T23:10:40.631306673Z" }, "composition": { "end": "2026-11-25T23:11:44.678349447Z", "start": "2026-11-25T23:11:23.255281143Z" }, "ended": "2026-11-25T23:13:10.028321662Z", "integration": { "end": "2026-11-25T23:13:10.028321662Z", "start": "2026-11-25T23:10:40.631306673Z" }, "lint": { "end": "2026-11-25T23:12:15.129237606Z", "start": "2026-11-25T23:10:40.631306673Z" }, "placed": "2026-11-25T23:10:40.631306673Z", "taken": "2026-11-25T23:10:36.63920992Z", "unit": { "end": "2026-11-25T23:11:58.508731274Z", "start": "2026-11-25T23:10:40.631306673Z" }, "validate": { "end": "2026-11-25T23:11:23.255281143Z", "start": "2026-11-25T23:10:40.631306673Z" } } } } ] } <!-- mesh-act:view.record/main_168_d04d2ee1.novox/mesh-delivery#368@1795648789199827448.1a2de36e -->
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-delivery#368