Fold three tests into existing ones, drive the marker test by channels, keep the last view through set(nil) and drop it once the node is held

Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
2026-11-05 23:09:00 +01:00
parent c55672ce5e
commit 015304f4a3
6 changed files with 66 additions and 16 deletions
@@ -21,7 +21,7 @@ import (
// Issue 1965 (shanks 2026-11-05 22:27: the verb compose gave no answer in 30 s while a pass waited on the bus): an ask
// that comes while a pass runs is answered at once, says one more pass is queued and what the running one waits on, and
// the queued pass is made when the running one ends.
func TestComposeAnsweredWhileAPassRuns(t *testing.T) {
func composeAnsweredWhileAPassRuns(t *testing.T) {
b := newFakeBus()
ctx, cancel := context.WithCancel(context.Background())
defer cancel()