Format cellular publication fixture
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m58s
Foundation / checks (checks) (push) Failing after 4m0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 5m23s
Foundation / checks (postgres) (push) Canceled after 5m28s

This commit is contained in:
dingo
2026-10-12 05:04:50 -04:00
parent 85fcbcf0a5
commit 2ea9e8d997
2 changed files with 9 additions and 5 deletions
+6
View File
@@ -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.
+3 -5
View File
@@ -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 &&