You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex CLI v0.120.0 fails to resume old sessions: Unknown parameter 'prompt_cache_retention' #17814
Resuming an older Codex session consistently fails with a remote compact error.
Environment
Codex CLI: 0.120.0
OS: macOS
Model: gpt-5.4
Session ID: 019d6fa0-db65-7f83-9531-35df54674d76
Exact repro
codex resume 019d6fa0-db65-7f83-9531-35df54674d76 "ping" --no-alt-screen
I also tried:
codex resume 019d6fa0-db65-7f83-9531-35df54674d76 "ping" --no-alt-screen --disable enable_request_compression
Actual result
Codex fails with:
Error running remote compact task: {
"error": {
"message": "Unknown parameter: 'prompt_cache_retention'.",
"type": "invalid_request_error",
"param": "prompt_cache_retention",
"code": "unknown_parameter"
}
}
Expected result
The session should resume normally, or compact successfully without sending unsupported parameters.
Notes
- I could reproduce this directly from the CLI.
- The failure appears tied to remote compaction of a large old session.
- I did not find prompt_cache_retention in my local editable Codex config.
Activity
github-actions commentedon Apr 14, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Higor-Matos commentedon Apr 14, 2026
FALLBACK: #17809 (comment)
etraut-openai commentedon Apr 14, 2026
We rolled back the change that caused this regression, so this should be addressed now. Apologies for the inconvenience.
JulioGalindo commentedon Apr 14, 2026
Thanks for the quick turnaround! It’s working perfectly now.