mesh-build-go: an asked version brings the requirements and sums of its go.mod into the modfile #694

Merged
mesh-tools merged 1 commits from fix/build-go-asked-versions-every-dir into main 2026-11-16 20:10:03 +00:00
Member

okioki failed at source revision 966 (2026-11-16 19:57): it was built at the asked mesh-sdk 57f03e9f, but its go.mod and go.sum did not gain that version's requirements (nats.go, klauspost/compress, x/crypto, ...), so the shut-off step refused. takeVersion now adds the requirements and sums of every taken version's go.mod to the modfile, for every dir; the shut-off judge reads the temporary modfile the steps build with.

Kind: a mesh package version is taken into a build without its graph. The indexer side (entries with no packages) is a separate mesh-delivery branch.

Tests: a new row in TestAnAskedVersionIsWrittenIntoTheModfileWhateverGoModNames and judge_modfile_test.go (3 rows). Recovery mode: merged directly; placed by hand on shanks as pack26 (build-go).

okioki failed at source revision 966 (2026-11-16 19:57): it was built at the asked mesh-sdk 57f03e9f, but its go.mod and go.sum did not gain that version's requirements (nats.go, klauspost/compress, x/crypto, ...), so the shut-off step refused. takeVersion now adds the requirements and sums of every taken version's go.mod to the modfile, for every dir; the shut-off judge reads the temporary modfile the steps build with. Kind: a mesh package version is taken into a build without its graph. The indexer side (entries with no packages) is a separate mesh-delivery branch. Tests: a new row in TestAnAskedVersionIsWrittenIntoTheModfileWhateverGoModNames and judge_modfile_test.go (3 rows). Recovery mode: merged directly; placed by hand on shanks as pack26 (build-go).
mesh-tools added 1 commit 2026-11-16 20:09:58 +00:00
Kind: a version written into a workspace's modfile without what that version's graph needs, judged against files the build does not use.

Builds: design 47 G (ADR 0573 §2, §4, as written in versions.go: asked versions hold whatever go.mod names)
mesh-tools merged commit e87c6cd3b6 into main 2026-11-16 20:10:03 +00:00
mesh-tools deleted branch fix/build-go-asked-versions-every-dir 2026-11-16 20:10:03 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_970_7fb35e5d/87140a003fa9c82d",
"sequence": 9406,
"bytes": 2831,
"of-bytes": 262144,
"waits": "its difference is not known yet",
"record": {
"milestone": "main.970",
"heads": {
"novox/mesh-catalog@694": "e87c6cd3b6bff7de3e9ace97948af989e4da8aa7"
},
"opened": "2026-11-16T20:43:54.494326657Z",
"form": 1,
"group": {
"group": "",
"members": [
"novox/mesh-catalog@694",
"novox/mesh-delivery@232",
"novox/mesh-host@231",
"novox/mesh-tools@73"
],
"pulls": [
{
"repository": "novox/mesh-catalog",
"number": 694,
"head": "e87c6cd3b6bff7de3e9ace97948af989e4da8aa7",
"state": "merged",
"commit": "e87c6cd3b6bff7de3e9ace97948af989e4da8aa7"
}
]
},
"entries": {
"mesh-build-go|src2:9e7b7ccdb71ecd1150ecd44d80b3bcfa42be43b21b92bbd31523cb5933335043|": {
"key": "mesh-build-go|src2:9e7b7ccdb71ecd1150ecd44d80b3bcfa42be43b21b92bbd31523cb5933335043|",
"module": "mesh-build-go",
"fingerprint": "src2:9e7b7ccdb71ecd1150ecd44d80b3bcfa42be43b21b92bbd31523cb5933335043"
},
"mesh-delivery-assigner|src2:5b2ec30c52c6c8ab8aaee19e0d215b4c539cdd162822ffe11cd3819208e09561|": {
"key": "mesh-delivery-assigner|src2:5b2ec30c52c6c8ab8aaee19e0d215b4c539cdd162822ffe11cd3819208e09561|",
"module": "mesh-delivery-assigner",
"fingerprint": "src2:5b2ec30c52c6c8ab8aaee19e0d215b4c539cdd162822ffe11cd3819208e09561"
},
"mesh-delivery-pipeline|src2:baa4d89cf2851bf146e90272c245609e12e6d498f4d230936acb68b32d881ea5|": {
"key": "mesh-delivery-pipeline|src2:baa4d89cf2851bf146e90272c245609e12e6d498f4d230936acb68b32d881ea5|",
"module": "mesh-delivery-pipeline",
"fingerprint": "src2:baa4d89cf2851bf146e90272c245609e12e6d498f4d230936acb68b32d881ea5"
},
"mesh-delivery-teller|src2:73b0e0091096ce92b438fd0fd81c6db8ce62057f93b650af88cad4766d22338b|": {
"key": "mesh-delivery-teller|src2:73b0e0091096ce92b438fd0fd81c6db8ce62057f93b650af88cad4766d22338b|",
"module": "mesh-delivery-teller",
"fingerprint": "src2:73b0e0091096ce92b438fd0fd81c6db8ce62057f93b650af88cad4766d22338b"
},
"mesh-host|src2:86640fb59ef947e2ac9077693c6554ab02a5e7cadb086ceb28d45166116c1308|": {
"key": "mesh-host|src2:86640fb59ef947e2ac9077693c6554ab02a5e7cadb086ceb28d45166116c1308|",
"module": "mesh-host",
"fingerprint": "src2:86640fb59ef947e2ac9077693c6554ab02a5e7cadb086ceb28d45166116c1308"
},
"node-tools|src2:57c38bad9a3e9539e5142ae5cb68ea8219742b40c83baa1065d63f51585fb579|": {
"key": "node-tools|src2:57c38bad9a3e9539e5142ae5cb68ea8219742b40c83baa1065d63f51585fb579|",
"module": "node-tools",
"fingerprint": "src2:57c38bad9a3e9539e5142ae5cb68ea8219742b40c83baa1065d63f51585fb579"
}
},
"outcomes": {
"|||take-in": {
"key": "|||take-in",
"module": "",
"step": "take-in",
"outcome": "taken-in",
"why": "lead-47@shanks for the operator (G recovery, 'as long as G is not delivered, you continue'): 8 merges since 20:00 (teller #228/#229, indexer #230, pipeline runner #231, composition #232, build-go #694, mesh-host #231, node-tools probe #73) wait on a revision validation that restarts with each merge and queues behind 139 pipelines' steps; node-tools must get a pipeline to be released with mesh-sdk #197",
"at": "2026-11-16T20:43:54.491947614Z"
}
}
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_970_7fb35e5d/87140a003fa9c82d", "sequence": 9406, "bytes": 2831, "of-bytes": 262144, "waits": "its difference is not known yet", "record": { "milestone": "main.970", "heads": { "novox/mesh-catalog@694": "e87c6cd3b6bff7de3e9ace97948af989e4da8aa7" }, "opened": "2026-11-16T20:43:54.494326657Z", "form": 1, "group": { "group": "", "members": [ "novox/mesh-catalog@694", "novox/mesh-delivery@232", "novox/mesh-host@231", "novox/mesh-tools@73" ], "pulls": [ { "repository": "novox/mesh-catalog", "number": 694, "head": "e87c6cd3b6bff7de3e9ace97948af989e4da8aa7", "state": "merged", "commit": "e87c6cd3b6bff7de3e9ace97948af989e4da8aa7" } ] }, "entries": { "mesh-build-go|src2:9e7b7ccdb71ecd1150ecd44d80b3bcfa42be43b21b92bbd31523cb5933335043|": { "key": "mesh-build-go|src2:9e7b7ccdb71ecd1150ecd44d80b3bcfa42be43b21b92bbd31523cb5933335043|", "module": "mesh-build-go", "fingerprint": "src2:9e7b7ccdb71ecd1150ecd44d80b3bcfa42be43b21b92bbd31523cb5933335043" }, "mesh-delivery-assigner|src2:5b2ec30c52c6c8ab8aaee19e0d215b4c539cdd162822ffe11cd3819208e09561|": { "key": "mesh-delivery-assigner|src2:5b2ec30c52c6c8ab8aaee19e0d215b4c539cdd162822ffe11cd3819208e09561|", "module": "mesh-delivery-assigner", "fingerprint": "src2:5b2ec30c52c6c8ab8aaee19e0d215b4c539cdd162822ffe11cd3819208e09561" }, "mesh-delivery-pipeline|src2:baa4d89cf2851bf146e90272c245609e12e6d498f4d230936acb68b32d881ea5|": { "key": "mesh-delivery-pipeline|src2:baa4d89cf2851bf146e90272c245609e12e6d498f4d230936acb68b32d881ea5|", "module": "mesh-delivery-pipeline", "fingerprint": "src2:baa4d89cf2851bf146e90272c245609e12e6d498f4d230936acb68b32d881ea5" }, "mesh-delivery-teller|src2:73b0e0091096ce92b438fd0fd81c6db8ce62057f93b650af88cad4766d22338b|": { "key": "mesh-delivery-teller|src2:73b0e0091096ce92b438fd0fd81c6db8ce62057f93b650af88cad4766d22338b|", "module": "mesh-delivery-teller", "fingerprint": "src2:73b0e0091096ce92b438fd0fd81c6db8ce62057f93b650af88cad4766d22338b" }, "mesh-host|src2:86640fb59ef947e2ac9077693c6554ab02a5e7cadb086ceb28d45166116c1308|": { "key": "mesh-host|src2:86640fb59ef947e2ac9077693c6554ab02a5e7cadb086ceb28d45166116c1308|", "module": "mesh-host", "fingerprint": "src2:86640fb59ef947e2ac9077693c6554ab02a5e7cadb086ceb28d45166116c1308" }, "node-tools|src2:57c38bad9a3e9539e5142ae5cb68ea8219742b40c83baa1065d63f51585fb579|": { "key": "node-tools|src2:57c38bad9a3e9539e5142ae5cb68ea8219742b40c83baa1065d63f51585fb579|", "module": "node-tools", "fingerprint": "src2:57c38bad9a3e9539e5142ae5cb68ea8219742b40c83baa1065d63f51585fb579" } }, "outcomes": { "|||take-in": { "key": "|||take-in", "module": "", "step": "take-in", "outcome": "taken-in", "why": "lead-47@shanks for the operator (G recovery, 'as long as G is not delivered, you continue'): 8 merges since 20:00 (teller #228/#229, indexer #230, pipeline runner #231, composition #232, build-go #694, mesh-host #231, node-tools probe #73) wait on a revision validation that restarts with each merge and queues behind 139 pipelines' steps; node-tools must get a pipeline to be released with mesh-sdk #197", "at": "2026-11-16T20:43:54.491947614Z" } } } } ] } <!-- mesh-act:view.record/main_970_7fb35e5d/87140a003fa9c82d.novox/mesh-catalog#694@1794861849009261981.9aad02ce -->
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#694