Fix cellular checkpoint migration expectation
Foundation / checks (client) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
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 (checks) (push) Canceled after 2m3s
Foundation / checks (postgres) (push) Canceled after 1m48s
Foundation / checks (ecs) (push) Canceled after 1m53s

This commit is contained in:
dingo
2026-10-11 06:55:22 -04:00
parent 8336cb41aa
commit 50b6e25c0c
2 changed files with 14 additions and 2 deletions
+6 -2
View File
@@ -475,8 +475,12 @@ void cellular_profile() {
migration->batch == BatchDigests{});
const auto migration_bytes = encode_manifest(*migration);
CHECK(migration_bytes && decode_manifest(*migration_bytes) == *migration);
CHECK(!cellular_profile_migration_manifest(*migration, filled<32>(0x18), filled<16>(0x19),
lease(), build, payload.size(), filled<32>(0x20)));
const auto direct_revision_migration = cellular_profile_migration_manifest(
*migration, filled<32>(0x18), filled<16>(0x19), lease(), build, payload.size(),
filled<32>(0x20));
CHECK(direct_revision_migration && supported(*direct_revision_migration) &&
direct_revision_migration->history_profile == cellular_revision_history_profile &&
direct_revision_migration->cellular_versions == cellular_v3_versions);
const auto after_migration =
successor_manifest(*migration, filled<32>(0x21), filled<16>(0x22), lease(), 2, build,
payload.size(), filled<32>(0x23), batch_for(1, 1));