From 4756e957cefdf3f4e8c309f5a0243d98eacac26f Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Fri, 23 Oct 2026 09:41:37 -0400 Subject: [PATCH] docs: the shutdown comments say what happens, without the task number Co-Authored-By: Claude Opus 5.5 --- cmd/minstrel/main.go | 2 +- internal/eventbus/eventbus_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/minstrel/main.go b/cmd/minstrel/main.go index 252772a4..96fddca7 100644 --- a/cmd/minstrel/main.go +++ b/cmd/minstrel/main.go @@ -484,7 +484,7 @@ func run() error { // Shutdown waits for in-flight requests but never cancels them, and an // SSE stream only ends when its client leaves. Closing the bus ends // every stream as shutdown begins, so the drain waits only on real work - // such as an audio stream; clients reconnect to the next instance (#5293). + // such as an audio stream; clients reconnect to the next instance. httpServer.RegisterOnShutdown(bus.Close) errCh := make(chan error, 1) diff --git a/internal/eventbus/eventbus_test.go b/internal/eventbus/eventbus_test.go index a5e267d3..ea8d4ef7 100644 --- a/internal/eventbus/eventbus_test.go +++ b/internal/eventbus/eventbus_test.go @@ -150,7 +150,7 @@ func TestPublish_ConcurrentWritersAndSubscribers(t *testing.T) { } // Close is what lets the server shut down with SSE clients connected: each -// stream returns when its channel closes (#5293). +// stream returns when its channel closes. func TestClose_EndsEverySubscription(t *testing.T) { t.Parallel() b := New()