A16 hub-start-alone: the journal line after Start and its integration test await

Builds: design 47 H2b §836 (the assigner's call)
This commit is contained in:
2026-11-27 02:57:56 +01:00
parent 6f21579887
commit 45c9d20baf
2 changed files with 2 additions and 1 deletions
@@ -897,7 +897,7 @@ func TestWantsAreWrittenAndNoDifferenceIs(t *testing.T) {
t.Error("the state engine-reads holds a key of shanks, whose engine said nothing")
}
// H-A-270 (3): registration-changed has one handler, the catalog half's follower, so the start's hub refuses no overlap.
b.journal.await(t, 0, "the kept seat events heard", "the hub started", time.Second)
b.journal.await(t, 0, "the hub started: the events and the kept seat events", "the hub started", time.Second)
b.journal.mu.Lock()
overlap := strings.Contains(b.journal.text.String(), "a message has one taker")
b.journal.mu.Unlock()
@@ -855,6 +855,7 @@ func hearReadsChanged(ctx context.Context, js jetstream.JetStream, hub *process.
}
w.Heard(process.EventsStream)
// Start binds the kept seat events too, the build seats' step-ended among them (design 47 H2b §836; mesh-sdk EventHub.Start).
logf("the hub started: the events and the kept seat events are bound by Start")
if live != nil {
live() // the seat list, unread while the seat was silent, is read now (seatlist.Part.EventsLive)
}