Validate cellular trace length shapes
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m57s
Foundation / checks (checks) (push) Failing after 3m54s
Foundation / checks (client) (push) Failing after 4m26s
Foundation / checks (tsan) (push) Failing after 33s
Foundation / checks (network) (push) Failing after 3m4s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 1m34s

This commit is contained in:
dingo
2026-10-11 02:54:13 -04:00
parent 127c8e795a
commit b8a1288ee9
3 changed files with 37 additions and 11 deletions
+5 -2
View File
@@ -434,9 +434,12 @@ void cellular_profile() {
short_cellular_trace.batch.trace_bytes =
cellular_batch_header_bytes + cellular_batch_tick_header_bytes - 1;
CHECK(!encode_manifest(short_cellular_trace));
auto legacy_cellular_trace = *successor;
legacy_cellular_trace.batch.trace_bytes = cellular_batch_header_bytes + sizeof(std::uint32_t);
CHECK(encode_manifest(legacy_cellular_trace));
auto large_cellular_trace = *successor;
large_cellular_trace.batch.trace_bytes = cellular_batch_header_bytes +
cellular_batch_tick_header_bytes +
large_cellular_trace.batch.trace_bytes =
cellular_batch_header_bytes + cellular_batch_tick_header_bytes +
max_cellular_tick_lives * cellular_batch_intent_bytes + 1;
CHECK(!encode_manifest(large_cellular_trace));
const auto clone = clone_manifest(*manifest, filled<32>(0xA3), {8, 3}, filled<16>(0x03),