app-server: Add an ability to watch events in the test client (#13080)

Add a `watch` subcommand to `codex-app-server-test-client` binary to
help in manual testing of events flow.
This commit is contained in:
Ruslan Nigmatullin
2026-02-27 17:19:53 -08:00
committed by GitHub
parent ec6f6aacbf
commit 70ed6cbc71
2 changed files with 28 additions and 0 deletions

View File

@@ -18,6 +18,15 @@ cargo run -p codex-app-server-test-client -- \
cargo run -p codex-app-server-test-client -- model-list
```
## Watching Raw Inbound Traffic
Initialize a connection, then print every inbound JSON-RPC message until you stop it with
`Ctrl+C`:
```bash
cargo run -p codex-app-server-test-client -- watch
```
## Testing Thread Rejoin Behavior
Build and start an app server using commands above. The app-server log is written to `/tmp/codex-app-server-test-client/app-server.log`