Random compaction bug blocking session completely.
Open
Nobody has claimed this yet.
bug
CLI
connectivity
context
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
What version of Codex CLI is running?
codex-cli 0.128.0
What subscription do you have?
Pro
Which model were you using?
gpt-5.5 medium
What platform is your computer?
CachyOS
What terminal emulator and version are you using (if applicable)?
bash - Konsole
Codex doctor report
■ Error running remote compact task: unexpected status 404 Not Found: {"detail":"Not Found"}, url: https://chatgpt.com/backend-api/codex/responses/compact, cf-ray: a2a1db60588c37cd-BKK, request id: 6a8baa3a-
11cd-45f7-a784-86a9de43e263
[tkb@TANELORN-CACHYOS SideraV7]$ codex doctor --json
error: unexpected argument '--json' found
tip: to pass '--json' as a value, use '-- --json'
Usage: codex [OPTIONS] [PROMPT]
codex [OPTIONS] <COMMAND> [ARGS]
For more information, try '--help'.
[tkb@TANELORN-CACHYOS SideraV7]$
What issue are you seeing?
During compaction hit a status 404 error in codex.
What steps can reproduce the bug?
Uploaded thread: 019fe013-cc73-7780-a17f-7cc61998d68e
What is the expected behavior?
No error, keep working.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing compaction with the uploaded thread 019fe013-cc73-7780-a17f-7cc61998d68e and trace the request to the reported /backend-api/codex/responses/compact endpoint. Done means compaction no longer returns the 404 and the session continues working.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100