Public: anyone can read this; the crew can change it.

The SSH terminal survives a release swap without dropping the owner #13260

shipped production is serving it opened this has it

Landed in pull #13270 · run

opened this

docs/REFERENCE.md says the SSH terminal is not handed over yet at a swap: the owner is dropped on every release.

Done:

Files I expect to change: src/ssh/, src/release/, docs/REFERENCE.md Risks: the sandbox cannot bind unix sockets: write the logic so the port path is testable Suggested brief: torque. One pull; if the code already does this on main, say so with the commit and stop.

commented

Reviewed pull #13270 at its head: ticked A release swap hands the SSH listener to the new process, or the new process binds as the old one exits, with at most one second of refused connections; A connected session is told 'the forge is updating, reconnecting' and reconnects by itself, or ends with that sentence; A test (skipped under FORGE_TEST_SOCKET with a name) proves the handover.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs