From d1acd6b231231e36b80df43a19616c6660c7312c Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 5 Nov 2026 22:17:40 +0100 Subject: [PATCH] The retired state is declared and left unannounced for the copy alone; the integration test copies it into the state made after the start (issue 1966) Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i --- .../cmd/mesh-delivery-assigner/integration_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/mesh-delivery-assigner/cmd/mesh-delivery-assigner/integration_test.go b/modules/mesh-delivery-assigner/cmd/mesh-delivery-assigner/integration_test.go index 08351fcf..0362b1fc 100644 --- a/modules/mesh-delivery-assigner/cmd/mesh-delivery-assigner/integration_test.go +++ b/modules/mesh-delivery-assigner/cmd/mesh-delivery-assigner/integration_test.go @@ -219,6 +219,9 @@ func saysWhatItKeeps(t *testing.T, b *bed, done <-chan error) { t.Fatalf("the assigner said %+v, want the %d states its manifest declares", said, len(m.State)) } for _, s := range m.State { + if s.Name == retiredState { + continue // read by the copy alone (migrate.go), by no reader + } if !said.Readable(s.Name) { t.Errorf("the assigner said %+v: its state %s is not readable", said, s.Name) }