M10.9: raise the evo-server session cap to 2000 and close 10.9 for now
Foundation / checks (deploy) (push) Successful in 3m26s
Foundation / checks (ecs) (push) Successful in 1m55s
Foundation / checks (client) (push) Successful in 12m32s
Foundation / checks (network) (push) Successful in 13m34s
Foundation / checks (tsan) (push) Successful in 7m42s
Foundation / checks (checks) (push) Successful in 32m43s
Foundation / checks (postgres) (push) Successful in 46m18s
Foundation / postgres-tools (push) Successful in 17s
Foundation / image (push) Successful in 2m28s
Foundation / server-image (push) Successful in 4m5s
Foundation / checks (deploy) (push) Successful in 3m26s
Foundation / checks (ecs) (push) Successful in 1m55s
Foundation / checks (client) (push) Successful in 12m32s
Foundation / checks (network) (push) Successful in 13m34s
Foundation / checks (tsan) (push) Successful in 7m42s
Foundation / checks (checks) (push) Successful in 32m43s
Foundation / checks (postgres) (push) Successful in 46m18s
Foundation / postgres-tools (push) Successful in 17s
Foundation / image (push) Successful in 2m28s
Foundation / server-image (push) Successful in 4m5s
Maintainer decision (2026-10-09): the region session cap becomes a safety bound of 2000 (plus 64 connections of headroom); the load governor is the working limit. Library bounds go from 1024 to 4096 in SessionControl, IntentAdmission and ReplicationServer (defaults stay 32). Drills stop for now: saturation and native-client observation move to a later 2k drill, whose prerequisites ADR-0097 lists (single-thread CPU, region login rate, 256 MiB pod limit, linear lookups). Declared: >= 32 sessions within every budget on the reference worker. Budgets v2, STATUS, ROADMAP, VALIDATION. Refresh the dev session window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -213,6 +213,12 @@ void control_rules() {
|
||||
CHECK(SessionControl::create(bad));
|
||||
bad.max_grant_lifetime = 14401;
|
||||
CHECK(refused(SessionControl::create(bad), ControlError::invalid_config));
|
||||
bad = config(); // ADR-0097: evo-server's 2000-session cap fits; the bound is 4096.
|
||||
bad.max_sessions = 2000;
|
||||
bad.max_accounts = 8192;
|
||||
CHECK(SessionControl::create(bad));
|
||||
bad.max_sessions = 4097; // Refused by the session bound alone.
|
||||
CHECK(refused(SessionControl::create(bad), ControlError::invalid_config));
|
||||
}
|
||||
// Scope and time.
|
||||
{
|
||||
@@ -575,6 +581,13 @@ void intent_admission() {
|
||||
limits.max_unresolved = 6;
|
||||
limits.max_finals = 4;
|
||||
CHECK(refused(IntentAdmission::create(IntentLimits{0}), IntentConfigError::invalid));
|
||||
{
|
||||
IntentLimits wide;
|
||||
wide.max_sessions = 2000;
|
||||
CHECK(IntentAdmission::create(wide));
|
||||
wide.max_sessions = 4097;
|
||||
CHECK(refused(IntentAdmission::create(wide), IntentConfigError::invalid));
|
||||
}
|
||||
auto a = *IntentAdmission::create(limits);
|
||||
const auto alice = account(1), bob = account(2);
|
||||
CHECK(a.open(1, alice) && a.open(2, bob) && !a.open(1, alice) && !a.open(0, alice));
|
||||
|
||||
Reference in New Issue
Block a user