Allow cellular spawn and actions together
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 39s
Foundation / checks (ecs) (push) Successful in 1m58s
Foundation / checks (tsan) (push) Canceled after 0s
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 5s
Foundation / checks (client) (push) Canceled after 2m19s
Foundation / checks (network) (push) Canceled after 1m43s

This commit is contained in:
dingo
2026-10-11 00:52:51 -04:00
parent 704ce0f2c8
commit 9c84c8f5b4
5 changed files with 65 additions and 3 deletions
+2 -3
View File
@@ -562,7 +562,7 @@ struct RegionSessions::Impl {
const bool primitive_v5 = static_cast<bool>(config.create_primitive_life);
const bool cellular_v6 = config.accept_cellular_intentions;
const bool cellular_v7 = config.accept_cellular_actions;
if ((primitive_v5 && wire_version != network::session_protocol_v5) ||
if ((primitive_v5 && wire_version < network::session_protocol_v5) ||
(wire_version == network::session_protocol_v5 && !primitive_v5) ||
(wire_version == network::session_protocol_v6 && !cellular_v6) ||
(wire_version == network::session_protocol_v7 && !cellular_v7) ||
@@ -649,8 +649,7 @@ RegionSessions::create(RegionSessionsConfig config) {
(!config.create_primitive_life || !config.query_primitive_life || !config.ledger)) ||
(config.accept_cellular_intentions && config.create_primitive_life) ||
(config.accept_cellular_actions &&
(!config.actions || !config.ledger || config.create_primitive_life ||
config.accept_cellular_intentions)) ||
(!config.actions || !config.ledger || config.accept_cellular_intentions)) ||
config.transport.limits.max_connections < config.control.max_sessions ||
config.hello_deadline.count() <= 0 || config.close_flush.count() <= 0 ||
config.renew_interval.count() <= 0 || config.safety_margin.count() <= 0 ||