core-agent-ide/codex-rs/exec/tests
Celia Chen c2ec477d93
[core] add optional status_code to error events (#6865)
We want to better uncover error status code for clients. Add an optional
status_code to error events (thread error, error, stream error) so app
server could uncover the status code from the client side later.

in event log:
```
< {
<   "method": "codex/event/stream_error",
<   "params": {
<     "conversationId": "019a9a32-f576-7292-9711-8e57e8063536",
<     "id": "0",
<     "msg": {
<       "message": "Reconnecting... 5/5",
<       "status_code": 401,
<       "type": "stream_error"
<     }
<   }
< }
< {
<   "method": "codex/event/error",
<   "params": {
<     "conversationId": "019a9a32-f576-7292-9711-8e57e8063536",
<     "id": "0",
<     "msg": {
<       "message": "exceeded retry limit, last status: 401 Unauthorized, request id: 9a0cb03a485067f7-SJC",
<       "status_code": 401,
<       "type": "error"
<     }
<   }
< }
```
2025-11-19 19:51:21 +00:00
..
fixtures Use helpers instead of fixtures (#3888) 2025-09-19 06:46:25 -07:00
suite Update defaults to gpt-5.1 (#6652) 2025-11-17 17:40:11 -08:00
all.rs Add explicit codex exec events (#4177) 2025-09-25 17:47:09 +00:00
event_processor_with_json_output.rs [core] add optional status_code to error events (#6865) 2025-11-19 19:51:21 +00:00