Format bounded perception fixture
Foundation / checks (client) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (checks) (push) Failing after 11m30s
Foundation / checks (postgres) (push) Failing after 12m28s
Foundation / checks (ecs) (push) Failing after 12m36s
Foundation / checks (tsan) (push) Successful in 8m34s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

This commit is contained in:
dingo
2026-10-11 05:48:56 -04:00
parent e1b1349734
commit 15ad04f22d
+5 -3
View File
@@ -117,9 +117,11 @@ void v7_reliable_action_is_stable_and_strict() {
}
void v8_perception_is_bounded_and_canonical() {
const CellularPerception perception{
19, 42, {{1'000, 2'000, 3, {4, 5, 6, 7}}, {1'000, 3'000, 8, {9, 10, 11, 12}}},
std::nullopt};
CellularPerception perception{19, 42, {}, std::nullopt};
perception.patches = {
{1'000, 2'000, 3, {4, 5, 6, 7}},
{1'000, 3'000, 8, {9, 10, 11, 12}},
};
const auto bytes = encode_session(SessionMessage{perception});
CHECK(!bytes.empty() && bytes.size() == session_header_bytes + 18 + std::size_t{2} * 48);
std::uint16_t version{};