Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dag/test/claim/build_cache_endpoint_observe_test.dag
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ test fn witness_managed_unit_owner_is_already_converged() -> Bool {
}
}

// THE CLAIM IS "PAST THE COMMITTED WIDTH", WHICH IS WHAT RETIRED MEANS, rather than an index
// equality that has to be re-typed every time the fleet's width moves. Asserting the property
// the decoder actually decides makes this row survive a width change instead of being broken
// by one.
test fn witness_retired_runner_slot_owner_refuses() -> Bool {
match observe_placement_full(
path_kind: gunbc.build_cache_endpoint_observe.PathKindSocket,
Expand All @@ -165,10 +169,6 @@ test fn witness_retired_runner_slot_owner_refuses() -> Bool {
) {
ServerRunnerOwned { slot: s, lifecycle: lc } =>
match lc {
// THE CLAIM IS "PAST THE COMMITTED WIDTH", WHICH IS WHAT RETIRED MEANS, rather than an index
// equality that has to be re-typed every time the fleet's width moves. Asserting the property
// the decoder actually decides makes this row survive a width change instead of being broken
// by one.
RetiredRunnerSlot => s.slot_index > gunbc_runner_slots_per_host(host: "srv1")
DesiredRunnerSlot => false
}
Expand Down
Loading