Assigner: bind the kept seat events, so a composition run's end is heard
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.
This commit is contained in:
@@ -789,6 +789,9 @@ func hearReadsChanged(ctx context.Context, js jetstream.JetStream, hub *process.
|
||||
return
|
||||
}
|
||||
w.Heard(process.EventsStream)
|
||||
// The build seats' step-ended is a kept seat event, on its own stream and never on EVENTS: bound here, or no composition
|
||||
// run's end is heard and every composition step waits for ever (design 47 G §354, A-240; mesh-sdk EventHub.StartKept).
|
||||
logf("the kept seat events heard: %d streams bound", hub.StartKept(ctx, js, account))
|
||||
if live != nil {
|
||||
live() // the seat list, unread while the seat was silent, is read now (seatlist.Part.EventsLive)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user