Skip to content
Merged
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
17 changes: 13 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,19 @@ 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.
//
// THIS COMMENT SAT INSIDE THE MATCH BODY UNTIL 2026-08-23 AND REFUSED THE WHOLE FLOOR. DESIGN 4c
// admits standalone leading blocks attached to MODULE-SCOPE declarations and nothing else, so an
// annotation indented into a declaration body is a located parse refusal rather than a style note --
// and it refuses at PREPARATION, taking every witness in the corpus with it rather than failing the
// row it sits in. Worth recording where the check does and does not live: --required-cited-symbol
// parses the corpus and passed this file clean, because annotation grain is enforced in the floor's
// preparation and not in that census. A green parse is not evidence that an annotation is placed
// legally, which is exactly the class of "my local check passed" this lane has now been bitten by
// twice in one night.
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 +178,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