Drop plan-moved and sent from the controller seat's events (issue 1943; the review's notes on 1945)

No plan is kept or sent in release 6 (ADR 0539), and the messenger now hears the delivery view's events instead.
This commit is contained in:
2026-10-24 20:20:48 +02:00
parent a523a8cbb0
commit e45bdc0891
2 changed files with 15 additions and 4 deletions
+1 -4
View File
@@ -110,10 +110,7 @@ var defaultSeats = append([]Seat{
"rolled-back",
// A pull request's merge check, judged (novox/hq to-be 45 §9).
"checked",
// A walk kept in a new state, for the delivery it walks (novox/hq ADR 0239).
"plan-moved",
// A tier sent to a machine, once the send is kept (novox/hq ADR 0406 §5, issue 974).
"sent",
// (A walk kept in a new state and a tier sent to a machine are gone with the plans, novox/hq ADR 0539.)
// A key of a record mirror written or removed (novox/hq ADR 0289, design 54 §3; design 57 F3).
"assignment-changed", "declared-config-changed", "predefined-changed",
// A builder's key not taken in because the artifact store does not hold an artifact it names (novox/hq
+14
View File
@@ -113,3 +113,17 @@ func TestTheControllerSaysABucketItDeleted(t *testing.T) {
t.Errorf("the controller's seat does not emit bucket-deleted: %v", seat.Emits)
}
}
// 1943 (the review's notes on 1945): the controller's seat no longer says a walk moved or a tier was sent: there is no
// plan (ADR 0539).
func TestTheControllerSaysNoPlanEvents(t *testing.T) {
seat, ok := SeatNamed(ControllerSeatName)
if !ok {
t.Fatal("no controller seat")
}
for _, gone := range []string{"plan-moved", "sent"} {
if SeatSays(seat.Emits, gone) {
t.Errorf("the controller's seat still emits %s", gone)
}
}
}