Fund cellular publication fixture birth
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (checks) (push) Failing after 4m2s
Foundation / checks (tsan) (push) Successful in 8m49s
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 19m54s

This commit is contained in:
dingo
2026-10-12 04:45:02 -04:00
parent d7b42f2be9
commit 85fcbcf0a5
2 changed files with 11 additions and 1 deletions
+5
View File
@@ -7100,3 +7100,8 @@ that constructed a tick-0 cellular genesis from a primitive life born at tick 1.
now provisions an empty v1 genesis and publishes its first life through the
allocator-backed control and birth path, retaining the action publication and
restart assertions. PostgreSQL CI and Harbor image publication remain pending.
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.
+6 -1
View File
@@ -361,7 +361,12 @@ void run_cellular_publication_tests() {
constexpr RegionKey key{9756, 1};
auto primitive = PrimitiveLives::create({key.world, key.region, 1, 17, {}, {{0, 0}}});
auto endowment = evo::biology::primitive_endowment();
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}}});
CHECK(primitive);
auto habitat =
evo::biology::CellularHabitat::create({key.world, key.region, 1, 1'000, 1'000, {}});