core-agent-ide/codex-rs/exec/tests/suite
Dmitri Khokhlov e4257f432e
codex-exec: allow resume --last to read prompt #6717 (#6719)
### Description

- codex exec --json resume --last "<prompt>" bailed out because clap
treated the prompt as SESSION_ID. I removed the conflicts_with flag and
reinterpret that positional as a prompt when
--last is set, so the flow now keeps working in JSON mode.
(codex-rs/exec/src/cli.rs:84-104, codex-rs/exec/src/lib.rs:75-130)
- Added a regression test that exercises resume --last in JSON mode to
ensure the prompt is accepted and the rollout file is updated.
(codex-rs/exec/tests/suite/resume.rs:126-178)

### Testing

  - just fmt
  - cargo test -p codex-exec
  - just fix -p codex-exec
  - cargo test -p codex-exec

#6717

Signed-off-by: Dmitri Khokhlov <dkhokhlov@cribl.io>
2025-11-20 13:10:49 -08:00
..
add_dir.rs feat: Add support for --add-dir to exec and TypeScript SDK (#6565) 2025-11-13 13:47:10 -08:00
apply_patch.rs Add codex exec testing helpers (#4254) 2025-09-25 17:12:45 -07:00
auth_env.rs Use response helpers when mounting SSE test responses (#4783) 2025-10-05 21:58:16 +00:00
mod.rs feat: Add support for --add-dir to exec and TypeScript SDK (#6565) 2025-11-13 13:47:10 -08:00
originator.rs Set codex SDK TypeScript originator (#4894) 2025-10-07 14:06:41 -07:00
output_schema.rs Update defaults to gpt-5.1 (#6652) 2025-11-17 17:40:11 -08:00
resume.rs codex-exec: allow resume --last to read prompt #6717 (#6719) 2025-11-20 13:10:49 -08:00
sandbox.rs make tests pass cleanly in sandbox (#4067) 2025-09-25 13:11:14 -07:00
server_error_exit.rs tests: replace mount_sse_once_match with mount_sse_once for SSE mocking (#6640) 2025-11-13 18:04:05 -08:00