Replicate cellular snapshots to v7 clients
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 38s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (postgres) (push) Failing after 52s
Foundation / checks (tsan) (push) Failing after 31s
Foundation / checks (network) (push) Failing after 3m1s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (client) (push) Canceled after 4m19s

This commit is contained in:
dingo
2026-10-11 00:58:49 -04:00
parent 0fbba51204
commit ad6f0ff78a
5 changed files with 44 additions and 9 deletions
+19
View File
@@ -604,6 +604,25 @@ void cellular_v5_spawn_and_v7_action_share_region_sessions(const Files& f) {
const auto carried = h.server->carry(101);
CHECK(carried.size() == 1 && carried.front().account == account(0xB7) &&
carried.front().kind == ActionKind::cellular);
h.server->set_default_interest({0, 0, 0, 7});
h.source = [](const SessionInterest&) {
ReplicationSource source;
source.identity = world_id;
source.organism_revision = 101;
client::OrganismCell cell;
cell.id = 901;
cell.phenotype.structural_mass = 1;
cell.phenotype.total_mass = 1;
cell.phenotype.extent = 1;
source.organisms.push_back(cell);
return source;
};
h.tick = 101;
CHECK(h.until([&] { return action_client->view() != nullptr; }));
CHECK(action_client->view()->organisms.size() == 1 &&
action_client->view()->organisms.front().id == 901);
CHECK(action_client->set_interest({1, 0, 0, 2}));
}
// M10.4: intentions, actions and their distinct answers against a simulated host.