Repository navigation
Conversation
e89bf6a to
dc85d15
Compare
dc85d15 to
4d40036
Compare
4b52893 to
ec6690b
Compare
4d40036 to
2b289c6
Compare
ec6690b to
e9aa426
Compare
2b289c6 to
e93ede0
Compare
e93ede0 to
ad2334b
Compare
|
Closing because this browser authority/admission stage is already implemented on current main ( Main retains the exact admission policy in the extracted runtime-rpc state/request-admission/long-poll modules: browser hosts use 50% of the total long-poll budget, half of that per paired device, and asks plus browser hosts use at most 75%, leaving ordinary waits capacity. Device/class/global counters release on the paired path. The admission-recovery helper differs only by its moved import: initial Validation: current composition, executor-fencing and command-admission suites passed 37 tests; browser-host runtime admission passed 4 tests. Tests ran with |
Summary
runtime_busyadmission pressure with deterministic client-specific jitter inside the existing initial attach timeout and negotiated reconnect graceCausal evidence
Before this stage, one paired device's four hosts filled the global browser-host cap and prevented a second device from attaching. Initial and reconnect
runtime_busyresponses were terminal. Raising only the host cap reproduced a second failure: asks plus hosts could consume every long-poll slot and starve ordinary waits.The focused oracle proves per-device admission, fifth-host rejection, exact device/global/class counter release, second-device survival, wait reservation, initial retry success/expiry/close cleanup, and reconnect authority preservation.
Compatibility
No exchanged field, opcode, capability, payload, placement, publication, or server-hosted browser behavior changes.
runtime_busyresponseThe remaining fairness cost is explicit: the global budget guarantees two saturated four-host devices, not an arbitrary number of devices. Later devices retry until capacity returns.
Validation
Current
origin/main@5b7f44278ahas one unrelated type-aware warning atconfig/scripts/pr-test-loc-summary.test.mjs:88, introduced by #14738; this branch does not modify that file.Linear: STA-4150
Stacked on #14694. Draft only; do not merge or mark ready.