Assigner: bind the kept seat events, so a composition run's end is heard #221

Merged
mesh-tools merged 1 commits from fix/assigner-hears-kept-step-ends into main 2026-11-16 15:04:19 +00:00
Member

The build seats' step-ended is a kept seat event on its own stream (SEAT_node-build-go_step-ended), never on EVENTS. The assigner registered its handler on its event hub but never called hub.StartKept, so it never heard a composer run end: pipeline main.961.mesh-hand-acts's composition step has waited since its composer run mwjdmctjcb708c passed on shanks at 15:48:45 CET (the assigner still keeps that run's input). The pipeline runner, builder and indexer already call StartKept.

Design 47 G §354, A-240.

Quick fix (this): the assigner binds the kept streams after its hub starts. Thorough fix (after G): mesh-sdk's EventHub.Start binds the kept streams itself, so no module can forget; not now, because an sdk merge rebuilds every module on the one Go build seat.

Not compiled locally (the local workspace did not resolve the zero-version mesh packages); the call has the same signature the builder and runner use. Recovery mode: merged directly.

The build seats' step-ended is a kept seat event on its own stream (SEAT_node-build-go_step-ended), never on EVENTS. The assigner registered its handler on its event hub but never called `hub.StartKept`, so it never heard a composer run end: pipeline main.961.mesh-hand-acts's composition step has waited since its composer run mwjdmctjcb708c passed on shanks at 15:48:45 CET (the assigner still keeps that run's input). The pipeline runner, builder and indexer already call `StartKept`. Design 47 G §354, A-240. Quick fix (this): the assigner binds the kept streams after its hub starts. Thorough fix (after G): mesh-sdk's `EventHub.Start` binds the kept streams itself, so no module can forget; not now, because an sdk merge rebuilds every module on the one Go build seat. Not compiled locally (the local workspace did not resolve the zero-version mesh packages); the call has the same signature the builder and runner use. Recovery mode: merged directly.
mesh-tools added 1 commit 2026-11-16 15:04:16 +00:00
The build seats' step-ended is a kept seat event on its own stream, never on EVENTS. The assigner
registered its handler on the hub but never bound the kept streams, so every composition step
waited for ever after its composer run passed (pipeline main.961.mesh-hand-acts, 2026-11-16).
Design 47 G §354, A-240.
mesh-tools merged commit bf2962dc29 into main 2026-11-16 15:04:19 +00:00
mesh-tools deleted branch fix/assigner-hears-kept-step-ends 2026-11-16 15:04:19 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_962_f7b1a4f5/85576a2bf3bce0c4",
"sequence": 9247,
"bytes": 873,
"of-bytes": 262144,
"waits": "its difference is not known yet",
"record": {
"milestone": "main.962",
"heads": {
"novox/mesh-delivery@221": "bf2962dc29cc9df63764daffbbdfeda9d42fe72d"
},
"opened": "2026-11-16T15:06:58.192581435Z",
"form": 1,
"group": {
"group": "",
"members": [
"novox/mesh-delivery@221"
],
"pulls": [
{
"repository": "novox/mesh-delivery",
"number": 221,
"head": "bf2962dc29cc9df63764daffbbdfeda9d42fe72d",
"state": "merged",
"commit": "bf2962dc29cc9df63764daffbbdfeda9d42fe72d",
"base": "main"
}
]
},
"entries": {
"mesh-delivery-assigner|src2:fb702165776bba5b5dd71c0508a023e81383106021ae184e77729bc6516c372a|": {
"key": "mesh-delivery-assigner|src2:fb702165776bba5b5dd71c0508a023e81383106021ae184e77729bc6516c372a|",
"module": "mesh-delivery-assigner",
"fingerprint": "src2:fb702165776bba5b5dd71c0508a023e81383106021ae184e77729bc6516c372a"
}
},
"outcomes": {
"|||take-in": {
"key": "|||take-in",
"module": "",
"step": "take-in",
"outcome": "taken-in",
"at": "2026-11-16T15:06:58.191925244Z"
}
}
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_962_f7b1a4f5/85576a2bf3bce0c4", "sequence": 9247, "bytes": 873, "of-bytes": 262144, "waits": "its difference is not known yet", "record": { "milestone": "main.962", "heads": { "novox/mesh-delivery@221": "bf2962dc29cc9df63764daffbbdfeda9d42fe72d" }, "opened": "2026-11-16T15:06:58.192581435Z", "form": 1, "group": { "group": "", "members": [ "novox/mesh-delivery@221" ], "pulls": [ { "repository": "novox/mesh-delivery", "number": 221, "head": "bf2962dc29cc9df63764daffbbdfeda9d42fe72d", "state": "merged", "commit": "bf2962dc29cc9df63764daffbbdfeda9d42fe72d", "base": "main" } ] }, "entries": { "mesh-delivery-assigner|src2:fb702165776bba5b5dd71c0508a023e81383106021ae184e77729bc6516c372a|": { "key": "mesh-delivery-assigner|src2:fb702165776bba5b5dd71c0508a023e81383106021ae184e77729bc6516c372a|", "module": "mesh-delivery-assigner", "fingerprint": "src2:fb702165776bba5b5dd71c0508a023e81383106021ae184e77729bc6516c372a" } }, "outcomes": { "|||take-in": { "key": "|||take-in", "module": "", "step": "take-in", "outcome": "taken-in", "at": "2026-11-16T15:06:58.191925244Z" } } } } ] } <!-- mesh-act:view.record/main_962_f7b1a4f5/85576a2bf3bce0c4.novox/mesh-delivery#221@1794841625101039039.32abd7b9 -->
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#221