networkmanager: TestUplinkNamesIsCalledAtEachMoment waits for each call, no race with the bundle's start #756

Merged
mesh-tools merged 1 commits from fix/uplink-names-moment-test into main 2026-11-25 00:38:39 +00:00
Member

A blocking fault: pipeline main.517 (the sign-in-page group) failed networkmanager:tools on TestUplinkNamesIsCalledAtEachMoment, unit on shanks and integration on g14 ("called [{"names":[]} {"names":[]}]"). The test raced the bundle's start call: in a build step (in-memory TMPDIR, one CPU) it emptied the check address before the start call read the first one. The stood-in resolver now reports each call, and the test waits for it before acting; no sleep, clock or machine state. Old test 200/200 failures and new test 200/200 passes under the build step's conditions; no other test of the module has the kind. Only names_test.go changes. Builds design 08 sign-in-page §13, §25.

Quick or thorough: thorough for the module (the kind searched in every test that runs a part beside itself).

Reviewed-by: mesh-code-reviewer@g14 at cd17899328
Pushed-by: fix-1981@g14

A blocking fault: pipeline main.517 (the sign-in-page group) failed networkmanager:tools on TestUplinkNamesIsCalledAtEachMoment, unit on shanks and integration on g14 ("called [{\"names\":[]} {\"names\":[]}]"). The test raced the bundle's start call: in a build step (in-memory TMPDIR, one CPU) it emptied the check address before the start call read the first one. The stood-in resolver now reports each call, and the test waits for it before acting; no sleep, clock or machine state. Old test 200/200 failures and new test 200/200 passes under the build step's conditions; no other test of the module has the kind. Only names_test.go changes. Builds design 08 sign-in-page §13, §25. Quick or thorough: thorough for the module (the kind searched in every test that runs a part beside itself). Reviewed-by: mesh-code-reviewer@g14 at cd178993288f47b3cc7b62c8d3a1cc38e276f3d2 Pushed-by: fix-1981@g14
mesh-tools added 1 commit 2026-11-25 00:38:35 +00:00
The test changed check-address while the bundle, running beside it, had not yet read it
for its start's call. On a temporary directory in memory with one CPU, as a build step
runs, nothing yields before the test's write, so the start's call read the empty address
every time (pipeline main.517, asks mwvdrpjpbb0cf9 and mwvdrpjpb6c9b9); on a disk the
fsync yielded and it passed. The stood-in resolver now says each uplink-names call, and
the test changes the address only after the call before it.

Builds: design 08 sign-in-page §13, §25
mesh-tools merged commit 17e1bfb6d3 into main 2026-11-25 00:38:39 +00:00
mesh-tools deleted branch fix/uplink-names-moment-test 2026-11-25 00:38:39 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_163_e198b945",
"sequence": 86298,
"bytes": 1261,
"of-bytes": 65536,
"record": {
"milestone": "main.163",
"branch": "main",
"source": 163,
"call": "9ea1afd4ae2b1e55",
"heads": {
"novox/mesh-catalog@756": "17e1bfb6d3c61d8464095df8ee875447018bcf51"
},
"opened": "2026-11-25T00:38:39.948861208Z",
"form": 3,
"trace": {
"pulls": [
"novox/mesh-catalog@756"
],
"commits": [
"17e1bfb6d3c61d8464095df8ee875447018bcf51"
],
"source": "163",
"call": "9ea1afd4ae2b1e55",
"by": "fix-1981@g14",
"account": "g14.node-tools",
"at": "2026-11-25T00:38:39.941Z"
},
"ended": {
"at": "2026-11-25T13:28:52.925057123Z",
"why": "every present node runs its entries"
},
"movers": 1,
"merge-called": "2026-11-25T00:38:39.941Z",
"phases": {
"build": {
"end": "2026-11-25T13:24:55.183228158Z",
"start": "2026-11-25T13:24:44.369632537Z"
},
"composition": {
"end": "2026-11-25T13:25:35.773095056Z",
"start": "2026-11-25T13:25:09.314788697Z"
},
"ended": "2026-11-25T13:25:35.773095056Z",
"integration": {
"end": "2026-11-25T13:25:23.724079067Z",
"start": "2026-11-25T13:24:44.369632537Z"
},
"lint": {
"end": "2026-11-25T13:25:35.165779845Z",
"start": "2026-11-25T13:24:44.369632537Z"
},
"placed": "2026-11-25T13:24:44.369632537Z",
"taken": "2026-11-25T00:41:28.372763225Z",
"unit": {
"end": "2026-11-25T13:25:24.829037788Z",
"start": "2026-11-25T13:24:44.369632537Z"
},
"validate": {
"end": "2026-11-25T13:25:09.314788697Z",
"start": "2026-11-25T13:24:44.369632537Z"
}
}
},
"movers-per-outcome": {
"bypassed": 1,
"passed": 1,
"taken-in": 1,
"waiting": 1
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_163_e198b945", "sequence": 86298, "bytes": 1261, "of-bytes": 65536, "record": { "milestone": "main.163", "branch": "main", "source": 163, "call": "9ea1afd4ae2b1e55", "heads": { "novox/mesh-catalog@756": "17e1bfb6d3c61d8464095df8ee875447018bcf51" }, "opened": "2026-11-25T00:38:39.948861208Z", "form": 3, "trace": { "pulls": [ "novox/mesh-catalog@756" ], "commits": [ "17e1bfb6d3c61d8464095df8ee875447018bcf51" ], "source": "163", "call": "9ea1afd4ae2b1e55", "by": "fix-1981@g14", "account": "g14.node-tools", "at": "2026-11-25T00:38:39.941Z" }, "ended": { "at": "2026-11-25T13:28:52.925057123Z", "why": "every present node runs its entries" }, "movers": 1, "merge-called": "2026-11-25T00:38:39.941Z", "phases": { "build": { "end": "2026-11-25T13:24:55.183228158Z", "start": "2026-11-25T13:24:44.369632537Z" }, "composition": { "end": "2026-11-25T13:25:35.773095056Z", "start": "2026-11-25T13:25:09.314788697Z" }, "ended": "2026-11-25T13:25:35.773095056Z", "integration": { "end": "2026-11-25T13:25:23.724079067Z", "start": "2026-11-25T13:24:44.369632537Z" }, "lint": { "end": "2026-11-25T13:25:35.165779845Z", "start": "2026-11-25T13:24:44.369632537Z" }, "placed": "2026-11-25T13:24:44.369632537Z", "taken": "2026-11-25T00:41:28.372763225Z", "unit": { "end": "2026-11-25T13:25:24.829037788Z", "start": "2026-11-25T13:24:44.369632537Z" }, "validate": { "end": "2026-11-25T13:25:09.314788697Z", "start": "2026-11-25T13:24:44.369632537Z" } } }, "movers-per-outcome": { "bypassed": 1, "passed": 1, "taken-in": 1, "waiting": 1 } } ] } <!-- mesh-act:view.record/main_163_e198b945.novox/mesh-catalog#756@1795613332948057168.cb3a237e -->
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#756