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;
+10 -4
View File
@@ -6960,7 +6960,13 @@ CI run #296 confirmed the action-ledger repair, then PostgreSQL analysis rejecte
an unchecked `Options::primitive_frame` access in `apps/evo-world-clone/main.cpp`
while compiling the primitive-region provisioning path. The provision command now
uses a validated frame value for primitive and cellular openings. The default
Windows debug preset has PostgreSQL disabled and does not contain this target;
`clang-format` is also unavailable in the local environment, so PostgreSQL
analysis, format and integration checks remain delegated to CI. Run #297 must
confirm the fix and proceed through the server image and Harbor publication gates.
Windows debug preset has PostgreSQL disabled and does not contain this target, so
PostgreSQL analysis and integration checks remain delegated to CI. The Visual
Studio LLVM `clang-format` executable is available locally.
CI run #297 stopped the main checks job at clang-format on the primitive
provisioning call after the PostgreSQL frame validation change. The call now
follows the repository formatter output; local `clang-format --dry-run --Werror`
and `git diff --check` pass. The PostgreSQL matrix job continued independently,
but its result cannot unblock image publication. Run #298 must rerun the full
matrix and server image/Harbor gates.