feat(cellular): seed dev wildlife and tune budding playtests
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 4m27s
Foundation / postgres-tools (push) Successful in 30s
Foundation / server-image (push) Successful in 4m16s
Foundation / image (push) Successful in 4m54s

This commit is contained in:
dingo
2026-10-26 12:01:57 -04:00
parent 18a64a29cd
commit ff121c3ed1
32 changed files with 738 additions and 78 deletions
+12 -3
View File
@@ -403,11 +403,13 @@ std::expected<CommittedCheckpoint, CellularProfileMigrationFailure> migrate_cell
std::expected<CommittedCheckpoint, CellularProfileMigrationFailure> migrate_cellular_revamp_profile(
Postgres& db, const FilesystemObjectStore& objects, const LeaseGrant& lease,
const CommittedCheckpoint& predecessor, Uuid commit, const Sha256Digest& build,
const server::CellularRevampRules& rules, milliseconds timeout, const PublishHooks& hooks) {
const server::CellularRevampRules& rules, milliseconds timeout, const PublishHooks& hooks,
std::uint32_t count, std::uint64_t first) {
return migrate_rules_profile(
db, objects, lease, predecessor, commit, build, timeout, hooks,
[rules](std::span<const std::uint8_t> payload, const CheckpointManifest& previous) {
return cellular_revamp_upgrade_payload(payload, previous, rules);
[rules, count, first](std::span<const std::uint8_t> payload,
const CheckpointManifest& previous) {
return cellular_revamp_upgrade_payload(payload, previous, rules, count, first);
},
cellular_revamp_upgrade_manifest);
}
@@ -722,6 +724,13 @@ verify_cellular_no_tick_checkpoint(Postgres& db, const FilesystemObjectStore& ob
if (!target)
return fail(RecoveryError::payload);
auto upgraded = cellular_revamp_upgrade_payload(*bytes, *source, (*target)->revamp_rules());
if (upgraded && !std::ranges::equal(*upgraded, payload) && !(*target)->lives().empty()) {
// ADR-0180: the only additional opening input is the explicit fixture identity range.
upgraded = cellular_revamp_upgrade_payload(
*bytes, *source, (*target)->revamp_rules(),
static_cast<std::uint32_t>((*target)->lives().size()),
(*target)->lives().front().identity.life);
}
if (!upgraded || !std::ranges::equal(*upgraded, payload))
return fail(RecoveryError::history);
} else if (liquid) {