mirror of
https://github.com/openai/codex.git
synced 2026-11-24 15:21:20 +00:00
Retry transient exec-server startup failures (#38020)
## Why A retryable failure during the initial remote exec-server connection left the environment disconnected on subsequent readiness checks. ## What changed Route retryable startup errors through the existing reconnect path. This lets later `get()` and `wait_until_ready()` calls establish a replacement client, while concurrent callers share the same reconnect attempt. ## Testing Add a WebSocket test that fails the initial handshake, then verifies that later readiness and client requests share a successful replacement connection. GitOrigin-RevId: 82d425af0a73331884439b4350a7a1052d4ae865
This commit is contained in:
1 parent
279b93242c
commit
4c5fc230a9
3 files changed
+82
-4
No files matched your search
@@ -770,7 +770,7 @@ impl ExecServerClient {
|
||||
}
|
||||
}
|
||||
|
||||
fn is_retryable_recovery_error(error: &ExecServerError) -> bool {
|
||||
pub(super) fn is_retryable_recovery_error(error: &ExecServerError) -> bool {
|
||||
is_transport_closed_error(error)
|
||||
|| matches!(
|
||||
error,
|
||||
|
||||
Reference in new issue
Block a user