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
This commit is contained in:
2026-11-05 22:17:40 +01:00
parent 0eafb2fe95
commit d1acd6b231
@@ -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)
}