Finish birth refusal integration and stabilize client panel checks
Foundation / checks (checks) (push) Successful in 42m5s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m24s
Foundation / checks (network) (push) Successful in 18m43s
Foundation / checks (postgres) (push) Successful in 44m0s
Foundation / checks (tsan) (push) Successful in 10m8s
Foundation / checks (client) (push) Successful in 15m13s
Foundation / postgres-tools (push) Successful in 31s
Foundation / server-image (push) Successful in 3m18s
Foundation / image (push) Successful in 3m23s

This commit is contained in:
dingo
2026-10-15 13:02:43 -04:00
parent 40426777a0
commit bda1631ded
8 changed files with 108 additions and 44 deletions
+7
View File
@@ -503,6 +503,12 @@ void crossing_regions(const Files& f) {
CHECK(db1.claims == region1_claims && db2.claims == region2_claims + 1);
}
void cellular_birth_without_view(const Files& files) {
struct EmptyLedger final : ActionLedger {
std::expected<std::optional<ActionOutcome>, ActionLedgerError>
find(const AccountId&, std::uint64_t) override {
return std::nullopt;
}
} ledger;
test::WorldDb world;
test::RegionDb control{world, region};
const auto owner = account(0xD1);
@@ -510,6 +516,7 @@ void cellular_birth_without_view(const Files& files) {
auto answer = PrimitiveLifeResult::pending;
Region r{files, [&](server::RegionSessionsConfig& config) {
config.ledger = &control;
config.actions = &ledger;
config.accept_cellular_actions = true;
config.create_primitive_life = [&](const AccountId& a, std::uint64_t generation,
std::uint64_t id) {