Format clone provisioning calls
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (client) (push) Successful in 13m28s
Foundation / checks (network) (push) Successful in 15m18s
Foundation / checks (tsan) (push) Successful in 8m35s
Foundation / checks (checks) (push) Successful in 36m35s
Foundation / checks (postgres) (push) Failing after 23m27s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

This commit is contained in:
dingo
2026-10-11 15:38:42 -04:00
parent 9ebbf844d0
commit 1ca3083bcc
2 changed files with 17 additions and 13 deletions
+7 -9
View File
@@ -532,9 +532,9 @@ int provision(const Options& o) {
auto existing = persistence::load_region_checkpoint(*db, o.source.key, timeout);
if (existing) {
if (cellular) {
auto same_genesis = persistence::provision_cellular_region(
*db, *store, o.source.key, primitive_frame, *cellular_opening, commit, build,
timeout);
auto same_genesis =
persistence::provision_cellular_region(*db, *store, o.source.key, primitive_frame,
*cellular_opening, commit, build, timeout);
if (same_genesis)
return report("already-provisioned", same_genesis->head);
std::puts("provision refused existing cellular region; use its original --commit to "
@@ -570,9 +570,8 @@ int provision(const Options& o) {
return 3;
}
if (cellular) {
auto made =
persistence::provision_cellular_region(*db, *store, o.source.key, primitive_frame,
*cellular_opening, commit, build, timeout);
auto made = persistence::provision_cellular_region(
*db, *store, o.source.key, primitive_frame, *cellular_opening, commit, build, timeout);
if (!made) {
std::printf("cellular provision refused %u\n",
static_cast<unsigned>(made.error().kind));
@@ -581,9 +580,8 @@ int provision(const Options& o) {
return report("provisioned", made->head);
}
if (primitive) {
auto made =
persistence::provision_primitive_region(*db, *store, o.source.key, primitive_frame,
*primitive_opening, commit, build, timeout);
auto made = persistence::provision_primitive_region(
*db, *store, o.source.key, primitive_frame, *primitive_opening, commit, build, timeout);
if (!made) {
std::printf("provision refused %u\n", static_cast<unsigned>(made.error().kind));
return 4;