Enable durable cellular session actions
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 37s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (postgres) (push) Failing after 50s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (network) (push) Canceled after 2m38s
Foundation / checks (tsan) (push) Canceled after 22s
Foundation / checks (client) (push) Canceled after 3m18s

This commit is contained in:
dingo
2026-10-10 23:31:36 -04:00
parent 0ddba31d42
commit eeb663d696
7 changed files with 179 additions and 15 deletions
+4
View File
@@ -59,6 +59,10 @@ class RegionSessionClient {
// retries and reconnects). False unless established and sent.
[[nodiscard]] bool send_action(std::uint64_t action_id, network::ActionKind kind,
std::uint64_t tick);
// Protocol v7 only. Reuse the exact same fields and action id after reconnect.
[[nodiscard]] bool send_cellular_action(
std::uint64_t action_id, std::uint64_t tick, std::int16_t move_x, std::int16_t move_y,
std::optional<std::pair<std::uint32_t, std::uint32_t>> intake_target = {});
[[nodiscard]] bool query_action(std::uint64_t action_id);
// Primitive profile v5 only. The account and generation are always supplied by the
// authenticated session; callers choose only a stable request id.
+3
View File
@@ -102,6 +102,9 @@ struct RegionSessionsConfig {
query_primitive_life;
// M11.3 v6 cellular intentions. Opt-in until a cellular state owner consumes them.
bool accept_cellular_intentions{};
// M11.3 v7 durable cellular actions. Requires durable control and action ledgers;
// the caller must forward carried inputs to the profile-4 region host.
bool accept_cellular_actions{};
};
// The region host's authority, read once per poll.
struct HostFacts {