mesh-delivery-gate: judge a refused follow-ends by what it wrote, not by the history's last line #760

Merged
mesh-tools merged 1 commits from fix/47-H2-gate-test-map-order into main 2026-11-26 19:01:56 +00:00
Member

Small fix (hq playbook 08) under issue 1984 (notes 62, 63).

The subtest of TestTheRecordsToolsReadThemAndEndOneByHand that checks a refused FollowEnds wrote nothing read the history's last line, which the setup's loop over a Go map may already have made <moverX> end: it failed about 1 run in 6 at both test levels and failed main.539's integration step on 2026-11-26. The check now takes the history's length before the refused call and fails only when it grew, naming what was written. Test only; no test added or removed; no design line built (the behaviour checked, H-A-634 (7), is unchanged).

Quick fix vs thorough fix: quick (this one check) chosen; the thorough fix, a check refusing assertions that depend on map order, has no second instance in the gate's tests and no clear home.

Integration test run at the reviewed head: the subtest with -tags integration, 0 of 300 runs failed (untagged 0 of 300); before the fix 34-41 of 300 failed; a write before the hand-act log's answer fails the new check 50 of 50.

Reviewed-by: mesh-code-reviewer for lead-47@shanks at 1be74c87cf

Small fix (hq playbook 08) under issue 1984 (notes 62, 63). The subtest of `TestTheRecordsToolsReadThemAndEndOneByHand` that checks a refused `FollowEnds` wrote nothing read the history's last line, which the setup's loop over a Go map may already have made `<moverX> end`: it failed about 1 run in 6 at both test levels and failed main.539's integration step on 2026-11-26. The check now takes the history's length before the refused call and fails only when it grew, naming what was written. Test only; no test added or removed; no design line built (the behaviour checked, H-A-634 (7), is unchanged). Quick fix vs thorough fix: quick (this one check) chosen; the thorough fix, a check refusing assertions that depend on map order, has no second instance in the gate's tests and no clear home. Integration test run at the reviewed head: the subtest with `-tags integration`, 0 of 300 runs failed (untagged 0 of 300); before the fix 34-41 of 300 failed; a write before the hand-act log's answer fails the new check 50 of 50. Reviewed-by: mesh-code-reviewer for lead-47@shanks at 1be74c87cf5396d6f0a4b1c05bbfec94749fcdc4
mesh-tools added 1 commit 2026-11-26 19:01:51 +00:00
The subtest of gate_records_follow_ends read the ledger history's last line to see that nothing
was written when the hand-act log refused. The setup ends three entries in a loop over a map, so
in about one run in six that last line already read "<moverX> end" and the check failed though
nothing new was written: main.539's integration step of mesh-delivery-gate failed this way. The
check now holds that the history does not grow across the refused call, whatever order the setup
used. No test is added or removed (the gate is over its test budget).

Builds: no design line; a test-only fix under issue 1984 (H2's delivery). The behaviour the subtest
holds, H-A-634 (7), is unchanged.
mesh-tools merged commit ae8f070916 into main 2026-11-26 19:01:56 +00:00
mesh-tools deleted branch fix/47-H2-gate-test-map-order 2026-11-26 19:01:56 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_172_5990d9ed",
"sequence": 91422,
"bytes": 486,
"of-bytes": 65536,
"waits": "its difference is not known yet",
"record": {
"milestone": "main.172",
"branch": "main",
"source": 172,
"call": "a88eba5e83c3fbb2",
"heads": {
"novox/mesh-catalog@760": "ae8f070916f363a916cd25ead061a337a2ae26b2"
},
"opened": "2026-11-26T19:01:56.697407418Z",
"form": 3,
"trace": {
"pulls": [
"novox/mesh-catalog@760"
],
"commits": [
"ae8f070916f363a916cd25ead061a337a2ae26b2"
],
"source": "172",
"call": "a88eba5e83c3fbb2",
"by": "lead-47@shanks",
"account": "shanks.node-tools",
"at": "2026-11-26T19:01:56.686Z"
},
"movers": 6,
"merge-called": "2026-11-26T19:01:56.686Z"
},
"movers-per-outcome": {
"bypassed": 6,
"passed": 6,
"taken-in": 1,
"waiting": 6
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_172_5990d9ed", "sequence": 91422, "bytes": 486, "of-bytes": 65536, "waits": "its difference is not known yet", "record": { "milestone": "main.172", "branch": "main", "source": 172, "call": "a88eba5e83c3fbb2", "heads": { "novox/mesh-catalog@760": "ae8f070916f363a916cd25ead061a337a2ae26b2" }, "opened": "2026-11-26T19:01:56.697407418Z", "form": 3, "trace": { "pulls": [ "novox/mesh-catalog@760" ], "commits": [ "ae8f070916f363a916cd25ead061a337a2ae26b2" ], "source": "172", "call": "a88eba5e83c3fbb2", "by": "lead-47@shanks", "account": "shanks.node-tools", "at": "2026-11-26T19:01:56.686Z" }, "movers": 6, "merge-called": "2026-11-26T19:01:56.686Z" }, "movers-per-outcome": { "bypassed": 6, "passed": 6, "taken-in": 1, "waiting": 6 } } ] } <!-- mesh-act:view.record/main_172_5990d9ed.novox/mesh-catalog#760@1795720122208949953.899e5be4 -->
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-catalog#760