From 2ea9e8d9973b7ca6f860178a4a294144feb66aee Mon Sep 17 00:00:00 2001 From: dingo Date: Mon, 12 Oct 2026 05:04:50 -0400 Subject: [PATCH] Format cellular publication fixture --- docs/engineering/VALIDATION.md | 6 ++++++ tests/cellular_publication_tests.cpp | 8 +++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/engineering/VALIDATION.md b/docs/engineering/VALIDATION.md index 9dea50e..f699f8c 100644 --- a/docs/engineering/VALIDATION.md +++ b/docs/engineering/VALIDATION.md @@ -7105,3 +7105,9 @@ CI run #329 verified the test compiles but rejected replay because the newly empty nursery had no energy reserve to fund its first birth. The fixture now keeps the canonical primitive endowment while starting with no cells. PostgreSQL CI and Harbor image publication must rerun. + +CI run #330 passed all 68 regular tests, then failed the formatting gate on two +lines in `tests/cellular_publication_tests.cpp`. That gate failure prevented the +PostgreSQL, server-image, and Harbor publish jobs from running. The fixture lines +are now formatted to match clang-format; CI must rerun the PostgreSQL gate and +publish path before a playtest image is available. diff --git a/tests/cellular_publication_tests.cpp b/tests/cellular_publication_tests.cpp index cfc083b..c48caad 100644 --- a/tests/cellular_publication_tests.cpp +++ b/tests/cellular_publication_tests.cpp @@ -365,8 +365,7 @@ void run_cellular_publication_tests() { CHECK(endowment); auto funding = endowment->body; funding.energy.value = endowment->reserve.energy.value + endowment->construction.value; - auto primitive = - PrimitiveLives::create({key.world, key.region, 1, 17, funding, {{0, 0}}}); + auto primitive = PrimitiveLives::create({key.world, key.region, 1, 17, funding, {{0, 0}}}); CHECK(primitive); auto habitat = evo::biology::CellularHabitat::create({key.world, key.region, 1, 1'000, 1'000, {}}); @@ -410,9 +409,8 @@ void run_cellular_publication_tests() { CHECK(authority); auto runtime = connect_as(env("EVO_PG_RUNTIME_USER")); const auto account = filled<16>(0x43); - const auto control = - claim_account_control(*runtime, key, checked_value(authority), account, 1, 1, 20'000ms, - 5s); + const auto control = claim_account_control(*runtime, key, checked_value(authority), account, + 1, 1, 20'000ms, 5s); CHECK(control); const auto requested = host->create_primitive_life(account, control->generation, 7); CHECK(requested.result == evo::network::PrimitiveLifeResult::pending &&