Repository navigation
Conversation
9889adf to
086382a
Compare
086382a to
771da4f
Compare
771da4f to
80e9810
Compare
d074737 to
e644847
Compare
e644847 to
72dda5e
Compare
72dda5e to
7a9dbb1
Compare
7a9dbb1 to
1201a01
Compare
4f7a5eb to
9ae74c4
Compare
2f34ba3 to
ee135b9
Compare
ee135b9 to
24592db
Compare
|
Closing because current main ( The route and extracted The current client/route tests retain all introduced oracles: bounded ID non-reuse, offline and reconnecting refusal on the same address, unchanged payload, stale callbacks, protocol-failure recovery, non-increasing generation rejection, ready-before-await fencing, and generation-before-ID recycling. Main additionally runs bounded automatic transport recovery. The earlier manual-reconnect intermediate stage has no independent work left to merge. |
Summary
Causal evidence
On parent a089829521, the deterministic oracle could not distinguish stream-ID exhaustion, transport loss destroyed the local listener with
ECONNREFUSED, a second CONNECT opened no replacement transport, and generation 8 could be replayed after becoming ready and closing before the awaiting continuation resumed. The initial candidate also reproduced a dead-client wedge: invalid current-generation input closed the tunnel client without retiring its owning transport, soreconnect()treated it as live.The reviewed candidate keeps the exact listener address across generation 7 → 8, rejects CONNECT before and during replacement, fences every observed generation synchronously, ignores late callbacks by exact transport identity, reports tunnel closure upward exactly once, and rolls an injected one-ID budget from
[generation 7, stream 1]to[generation 8, stream 1].Compatibility and activation
This is an inert STA-4150 layer stacked on #14504. Reconnect retains the existing
network.browserTunnelv1 lease/execution-host payload and capability pair; it adds no exchanged field or opcode. Production still advertises neither capability and registers neither browser-host method, so old clients, unavailable preferred placement, and current server/offscreen browsing are unchanged. It does not depend on or duplicate merged Stage 0 PR #14402.Still blocked before activation: Node stream-internal aggregate accounting; strict cross-route fairness and slow-link soak proof; relay/SSH/WSL execution-host adapters; browserless/headless behavior; SOCKS process trust/isolation; real old/new peer journeys; Electron partition proxy/no-fallback and exact WebContents lifecycle proof; Linux and physical Windows evidence.
Validation
origin/main41ba29d; exact range-diff after rebaseLinear: https://linear.app/stably/issue/STA-4150/refactor-remote-browser-to-client-hosted-electron-webviews