Commit Graph

5 Commits

Author SHA1 Message Date
Fedor Korotkov 70409ac446 fix: harden execute ssh session startup and cancellation handling
- retry SSH handshake by re-establishing tunnel until request context cancellation
- treat request context cancellation in execute session loop as normal termination
- clean up ineffassign in execute stdin handling (linter)
- addresses comments 2782294067 and 2782294070

🤖 Generated with [Codex](https://chatgpt.com/codex)

Co-Authored-By: Codex <codex@openai.com>
2026-02-09 13:22:37 +01:00
Fedor Korotkov 86248be003 fix: keep execute tunnel context alive through session
- keep rendezvous context rooted in request context instead of timeout context
- limit timeout context to notify + initial rendezvous wait only
- add regression test for proxy context lifecycle (comment 2782213336)

🤖 Generated with [Codex](https://chatgpt.com/codex)

Co-Authored-By: Codex <codex@openai.com>
2026-02-09 13:02:36 +01:00
Fedor Korotkov e17a80bb95 fix: decouple execute tunnel timeout from VM wait
- stop passing VM wait context into SSH tunnel notify request
- use a dedicated execute tunnel timeout context for notify and rendezvous wait
- preserves wait=0 behavior for already-running VMs without deadline-edge 503s

🤖 Generated with [Codex](https://chatgpt.com/codex)

Co-Authored-By: Codex <codex@openai.com>
2026-02-09 12:39:39 +01:00
Fedor Korotkov 9c55014cc8 Refactor executeVM logic and introduce helper functions for request parsing, WebSocket handling, and session execution. Add related tests. 2026-02-08 20:41:05 +01:00
Fedor Korotkov dc0f5b45d0 Rename exec endpoints to execute 2026-02-08 20:13:18 +01:00