Let cellular sessions use the DEV grant ceiling
Foundation / checks (ecs) (push) Successful in 2m18s
Foundation / checks (deploy) (push) Successful in 3m50s
Foundation / checks (tsan) (push) Successful in 9m44s
Foundation / checks (client) (push) Successful in 16m45s
Foundation / checks (network) (push) Successful in 19m6s
Foundation / checks (checks) (push) Successful in 42m3s
Foundation / checks (postgres) (push) Successful in 44m10s
Foundation / postgres-tools (push) Successful in 1m8s
Foundation / image (push) Successful in 3m20s
Foundation / server-image (push) Successful in 3m25s

The cellular profile refused --m10-max-grant-lifetime and the Deployment never
passed it, so playtest grants were capped at the 300 s default. The cellular
bridge now applies the DEV-only ceiling like lineage, and the Deployment passes
the overlay's ceiling (4 h in DEV) to both profiles. Recorded in ADR-0123.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-14 12:14:45 -04:00
co-authored by Claude Opus 5.5
parent e803a1e182
commit 1675bb688d
5 changed files with 22 additions and 7 deletions
+7
View File
@@ -64,6 +64,13 @@ class CellularBridge {
config.control.epoch = 1;
config.control.max_sessions = 512;
config.transport.limits.max_connections = 576;
if (options.max_grant_lifetime != 0) {
// As for lineage (M10.5c): a longer DEV ceiling lets a playtest outlive the 300 s
// default; never outside dev.
if (config.control.environment != network::DeploymentEnvironment::dev)
return fail("error m10-grant-lifetime");
config.control.max_grant_lifetime = options.max_grant_lifetime;
}
const auto life_routes = parse_life_owner_routes(options);
if (!life_routes || life_routes->empty())
return fail("error cellular-life-routes");
+2 -2
View File
@@ -328,8 +328,8 @@ std::optional<Options> parse(int argc, char** argv) {
if (o.profile == "cellular" &&
(!server_app::m10_available || !o.m10.complete() || o.primitive_session.any() ||
o.synthetic || !o.crash_point.empty() || o.session.any() || !o.m10.area.empty() ||
!o.m10.handoff_key.empty() || !o.m10.neighbours.empty() || o.m10.max_grant_lifetime != 0 ||
!o.m10.load_governor || o.host.flush_interval != 1000ms || o.drain != 10000ms))
!o.m10.handoff_key.empty() || !o.m10.neighbours.empty() || !o.m10.load_governor ||
o.host.flush_interval != 1000ms || o.drain != 10000ms))
return std::nullopt;
if (std::ranges::find(o.host.retained_builds, o.host.build) == o.host.retained_builds.end())
o.host.retained_builds.push_back(o.host.build);