Fix run 252 static and session checks
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m52s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (client) (push) Canceled after 11m14s
Foundation / checks (network) (push) Canceled after 9m19s
Foundation / checks (checks) (push) Canceled after 11m19s

This commit is contained in:
dingo
2026-10-11 04:40:44 -04:00
parent 8d0a6f0fa4
commit 3548f2eacf
4 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ 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}}}};
const auto bytes = encode_session(SessionMessage{perception});
CHECK(!bytes.empty() && bytes.size() == session_header_bytes + 18 + 2 * 48);
CHECK(!bytes.empty() && bytes.size() == session_header_bytes + 18 + std::size_t{2} * 48);
std::uint16_t version{};
const auto decoded = decode_session(bytes, &version);
CHECK(decoded && version == session_protocol_v8);