Pass retained build span with pointer and count
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m54s
Foundation / checks (client) (push) Successful in 13m1s
Foundation / checks (network) (push) Failing after 11m59s
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 3m14s
Foundation / checks (tsan) (push) Canceled after 2m12s
Foundation / checks (checks) (push) Canceled after 16m18s

This commit is contained in:
dingo
2026-10-11 04:02:22 -04:00
parent 9275aad330
commit 6e4ce8ac3d
2 changed files with 12 additions and 5 deletions
+3 -2
View File
@@ -550,9 +550,10 @@ int provision(const Options& o) {
return 4;
}
if (primitive) {
const std::array retained{manifest->build};
const std::array<persistence::Sha256Digest, 1> retained{manifest->build};
auto recovered = persistence::recover_primitive_checkpoint(
*db, *store, o.source.key, std::span<const persistence::Sha256Digest>{retained},
*db, *store, o.source.key,
std::span<const persistence::Sha256Digest>{retained.data(), retained.size()},
timeout);
if (!recovered || recovered->state->snapshot() != primitive_opening->snapshot()) {
std::puts("provision refused existing opening mismatch");