Represent cellular profile migration manifests
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (checks) (push) Failing after 11m27s
Foundation / checks (network) (push) Failing after 9m31s
Foundation / checks (client) (push) Successful in 13m14s
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 1m57s
Foundation / checks (tsan) (push) Canceled after 1m49s

This commit is contained in:
dingo
2026-10-11 04:59:25 -04:00
parent d652291126
commit beffec40d7
5 changed files with 90 additions and 4 deletions
@@ -140,6 +140,14 @@ successor_manifest(const CheckpointManifest& predecessor, const Sha256Digest& pr
Uuid commit, const LeaseGrant& lease, std::uint64_t end_tick,
const Sha256Digest& build, std::uint64_t payload_bytes,
const Sha256Digest& payload_sha256, const BatchDigests& batch);
// The only supported cellular profile transition: a leased, no-tick v1-to-v2
// representation migration. SQL publication must independently verify the pair.
[[nodiscard]] std::expected<CheckpointManifest, CheckpointError>
cellular_profile_migration_manifest(const CheckpointManifest& predecessor,
const Sha256Digest& predecessor_digest, Uuid commit,
const LeaseGrant& lease, const Sha256Digest& build,
std::uint64_t payload_bytes,
const Sha256Digest& payload_sha256);
// Fully restores payload bytes (envelope checksum, bounds and replay audit), then
// requires manifest identity, end tick, tick quantum, envelope format 2 and a