Diego Rodrigues de Sa e Souza
5e234d503d
fix(sse): bound Codex SSE peek read with per-read timeout ( #8020 ) ( #8043 )
...
peekCodexSseTransientError() ran before chatCore's normal
readiness/idle-timeout pipeline and read the first SSE chunk with a
bare reader.read() — no timeout wrapper. A 200 text/event-stream body
that never emitted a byte hung for ~15min (901399ms observed) before
the platform killed the connection and surfaced a generic 502.
Wrap the peek loop's read and the re-assembled passthrough body's
pull() in readStreamChunkWithTimeout, bounded PER READ (not a total
deadline) so a long-but-alive reasoning stream keeps resetting the
window on every chunk it emits. On timeout the reader is cancelled and
the request now fails fast with a 504 instead of hanging.
New small module open-sse/executors/codex/bodyTimeout.ts holds the
wrapping helpers to keep codex.ts within its frozen size baseline.
2026-07-21 21:41:58 -03:00
..
2026-07-20 22:52:48 -03:00
2026-07-20 10:07:55 -03:00
2026-07-13 09:12:40 -03:00
2026-07-13 09:12:40 -03:00
2026-07-21 21:41:58 -03:00
2026-07-04 13:00:30 -03:00
2026-07-04 13:00:30 -03:00
2026-07-19 14:37:18 -03:00
2026-07-04 13:00:30 -03:00
2026-07-04 13:00:30 -03:00
2026-07-04 13:00:30 -03:00
2026-07-04 13:00:30 -03:00
2026-07-13 09:12:40 -03:00
2026-07-04 13:00:30 -03:00
2026-07-21 13:16:47 -03:00
2026-07-21 13:16:58 -03:00
2026-06-29 08:40:06 -03:00
2026-07-18 21:19:20 -03:00
2026-06-05 14:20:05 -03:00
2026-07-18 11:33:57 -03:00
2026-07-17 11:32:25 -03:00
2026-06-27 09:07:12 -03:00
2026-07-21 12:19:01 -03:00
2026-06-17 02:43:21 -03:00
2026-06-29 08:40:06 -03:00
2026-07-17 06:12:15 -03:00
2026-06-17 19:26:32 -03:00
2026-07-04 13:00:30 -03:00
2026-06-29 08:40:06 -03:00
2026-05-15 12:51:07 -03:00
2026-07-21 11:50:14 -03:00
2026-07-13 09:12:40 -03:00
2026-07-04 13:00:30 -03:00
2026-07-13 09:12:40 -03:00
2026-06-27 09:07:12 -03:00
2026-07-21 21:41:58 -03:00
2026-07-13 09:12:40 -03:00
2026-07-21 08:39:37 -03:00
2026-07-21 08:39:37 -03:00
2026-07-21 08:39:37 -03:00
2026-06-29 08:40:06 -03:00
2026-07-13 09:12:40 -03:00
2026-07-13 09:12:40 -03:00
2026-07-04 13:00:30 -03:00
2026-07-13 09:12:40 -03:00
2026-07-21 12:19:01 -03:00
2026-05-11 21:49:32 -03:00
2026-07-07 13:14:06 -03:00
2026-07-18 15:17:57 -03:00
2026-07-17 11:32:25 -03:00
2026-07-17 11:31:54 -03:00
2026-07-04 13:00:30 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00
2026-07-19 14:51:06 -03:00
2026-07-19 21:22:37 -03:00
2026-07-17 10:40:09 -03:00
2026-07-07 13:14:06 -03:00
2026-07-04 13:00:30 -03:00
2026-07-19 14:46:37 -03:00
2026-07-20 19:28:21 -03:00
2026-07-04 13:00:30 -03:00
2026-07-18 03:16:58 -03:00
2026-07-21 21:40:31 -03:00
2026-07-04 13:00:30 -03:00
2026-07-21 21:40:31 -03:00
2026-06-29 08:40:06 -03:00
2026-05-24 18:05:58 -03:00
2026-05-07 00:01:54 +07:00
2026-07-18 21:19:42 -03:00
2026-07-18 21:19:42 -03:00
2026-07-13 09:12:40 -03:00
2026-06-27 09:07:12 -03:00
2026-07-13 09:12:40 -03:00
2026-07-17 12:09:12 -03:00
2026-07-14 21:13:45 -03:00
2026-07-18 21:19:42 -03:00
2026-07-21 21:40:59 -03:00
2026-05-26 23:51:47 -03:00
2026-04-24 07:00:21 -03:00
2026-07-20 17:53:18 -03:00
2026-07-18 15:14:37 -03:00
2026-07-21 13:16:47 -03:00
2026-06-29 08:40:06 -03:00
2026-06-25 13:17:40 -03:00
2026-07-21 13:16:58 -03:00
2026-03-22 20:29:06 -03:00
2026-07-20 18:48:16 -03:00
2026-07-20 18:48:16 -03:00
2026-07-02 10:47:13 -03:00
2026-05-24 18:05:58 -03:00
2026-07-18 15:13:13 -03:00
2026-07-07 13:14:06 -03:00
2026-07-13 09:12:40 -03:00
2026-07-13 09:12:40 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-06-16 01:00:40 -03:00
2026-06-16 01:00:40 -03:00
2026-05-26 23:51:47 -03:00
2026-07-18 21:18:53 -03:00
2026-07-14 15:40:09 -03:00
2026-07-13 09:12:40 -03:00
2026-07-19 14:46:37 -03:00
2026-06-27 09:07:12 -03:00