Repository navigation
Conversation
69c7f09 to
9d76da4
Compare
c7fa7d6 to
f341731
Compare
92d11cc to
a35d50b
Compare
f341731 to
65a2ee2
Compare
a35d50b to
a4b8825
Compare
65a2ee2 to
a172987
Compare
|
Closing because the reconnect-grace stage is already implemented on main ( I read the complete production patch, body and available discussion, compared the added regression intent, and traced the extracted current modules. Main retains negotiated 15-second same-client grace, paired-device/client authority checks, ordered capability matching, immediate tunnel fencing and blocked admission while disconnected, ready-before-replay ordering, and connection-token guards against stale cleanup. Dispatcher/page executor state and the local SOCKS listener survive an exact reconnect; explicit revocation, mismatched authority/protocols and grace expiry still terminate it. File-channel support is now deliberately renegotiated independently, without fencing hosted pages. The result settler and jitter/backoff implementation are byte-identical to this branch. Exact command tuples reuse active settlement admission, while the dispatcher caches completed mutations; replay therefore neither executes a completed mutation twice nor double-charges the result budget. Route recovery still has eight-worker admission, a shared deadline, abortable retry delays and exact listener-address checks; current code extracts the retry loop and route-set command gate, and adds independent tunnel recovery and safer route retirement. Validation: 8 focused current suites, 127 tests passed, covering host and route reconnect, repeated loss/stale callbacks, mutation replay, full result capacity, timeout/timer cleanup, registry admission and authenticated RPC ordering. The protocol/inventory suites were also checked in the #14648 comparison. No live Electron/network/platform matrix was rerun; this closure concerns the implemented stage, not a claim that the old activation checklist was independently completed. Relevant |
Summary
readywithout rerunning completed mutations or double-charging result-settlement capacityThis is the next production-inert stage for STA-4150, stacked on #14648. It does not advertise client-host capabilities, select client placement, migrate server/offscreen pages, or change normal browser creation.
Compatibility
leaseReconnectProtocolVersionis optional and valid only beside the complete page-inventory negotiation. Old peers strip/omit it and keep immediate teardown plus existing server-hosted behavior. A reconnect requires an exact echo; missing, unsolicited, malformed, foreign-device, authority, capability, explicit-revocation, and grace-expiry paths fail closed. No stream opcode, minimum version, mobile framing, persistence schema, or server/offscreen placement semantics change.The implementation remains platform-neutral and keeps native, SSH, WSL, folder-workspace, git-worktree, headed, headless, and browserless activation proof as explicit later gates.
Evidence
electron-vite build --mode e2eRemaining before activation
Per-stream late teardown must not collapse the full tunnel, browser-host long-poll admission must remain fair across devices, fenced leases must retire placement capacity, main must own an unbypassable webview navigation grant, reconciliation actions must execute against runtime intent, and live Electron/network plus headed/headless/browserless and physical platform/provider matrices must pass.