Register R201: a plan sent the control node a controller older than the one running there (hq issue 201)
mesh/merge-gate head a96226f22819 merged into trunk 5c1c6f56c9d9 — pass: the change touches no module of the mesh's graph
mesh/repo-check head a96226f22819 merged into trunk 5c1c6f56c9d9 — pass: its merge-check.sh passed, each part in its toolchain: merge-check.sh (typescript)…
mesh/delivery delivered

Proved: fails on mesh-controller 84deb53^1, passes on 84deb53 (the fix, #273).
The replay is mesh-controller #275's TestReplay201ThePlansSend, since the
fix's own TestReplay201 reads what the fix added.
This commit is contained in:
jochen
2026-10-12 21:18:59 +02:00
parent 5c1c6f56c9
commit a96226f228
+16
View File
@@ -414,6 +414,22 @@ var Register = []Replay{
"RecentPlans takes its limit as a parameter",
Package: "./internal/inventory", Test: "TestAPlanIdHoldingAQuoteIsReadAsAPlainId",
Files: []string{"internal/inventory/plan_id_test.go"}},
// A plan sent the control node a controller older than the one running there (2026-10-02): two merges a minute
// apart made two plans; the controller's plan rolled the newer controller, which widened its seat's row, and the
// node-engine's plan then sent the build before it, whose binary refused the row. The fix's own TestReplay201
// reads what the fix added, so the replay is a test of its own in the controller, written with only what it had
// before — the inventory's build, gate, assignment and send records, keepingRecorded, planFor, declarationFor —
// laid over the commit before. Needs a store: MESH_TEST_POSTGRES. Fix is the merge of its pull request
// (mesh-controller #273); Home is the commit that added the replay (mesh-controller #275), reachable once that
// pull request merges.
{ID: "R201", Issue: 201, Kind: InRepository, Repository: "mesh-controller", Fix: "84deb530ee5afe2ffdf4d2cc65cdc355b12f8ccb",
What: "a plan sent the control node a controller older than the one running there, whose seat row the newer " +
"one had widened: the older binary refused the row and the mesh went quiet",
Asserts: "a send that is no person's push carries the controller at the build its machine was last sent, not " +
"an older record; a person's push carries the record",
Package: "./cmd/mesh-controller", Test: "TestReplay201ThePlansSend",
Files: []string{"cmd/mesh-controller/replay201_test.go"},
Home: "mesh-controller", HomeRef: "45a1783ba9a43fd466a518ee85673c701223b517"},
}
// Find is the replay of that id, or of that issue.