Join: mesh-knowledge's progress bus test counts the page's first view

At the joined SDK the bundle is served in the test, so ServePage's first view asks the
tracker's list and milestones and mesh-delivery's groups once beside progress (checked:
with the page's start skipped the counts are the old 3, 1, 3).

Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
2026-11-04 15:42:35 +01:00
parent aef8b9c7cb
commit 8eb4465590
@@ -75,7 +75,9 @@ func TestProgressOverTheBus(t *testing.T) {
}
seats.mu.Lock()
defer seats.mu.Unlock()
if seats.asked["seat:issue-tracker.list"] != 3 || seats.asked["seat:mesh-delivery.groups"] != 1 || seats.asked[MilestonesVerb] != 3 {
// Each one more than progress asks: the bundle's overview page takes its first view once it is served (ServePage's
// Start, the tracker's list and milestones and mesh-delivery's groups), whether or not it listens.
if seats.asked["seat:issue-tracker.list"] != 4 || seats.asked["seat:mesh-delivery.groups"] != 2 || seats.asked[MilestonesVerb] != 4 {
t.Fatalf("asked %v", seats.asked)
}
}