Remote connection context_compaction error in main session
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.608.12217 • Released Jun 8, 2026
What subscription do you have?
Invalid value: 'context_compaction'. when context automatically compacted in remote connection
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
[ItemParam] [input[1]] [invalid_enum_value] Invalid value: 'context_compaction'. Supported values are: 'additional_tools', 'apply_patch_call', 'apply_patch_call_output', 'code_interpreter_call', 'compaction', 'compaction_trigger', 'computer_call', 'computer_call_output', 'custom_tool_call', 'custom_tool_call_output', 'file_search_call', 'function_call', 'function_call_output', 'image_generation_call', 'item_reference', 'local_shell_call', 'local_shell_call_output', 'mcp_approval_request', 'mcp_approval_response', 'mcp_call', 'mcp_list_tools', 'message', 'reasoning', 'shell_call', 'shell_call_output', 'tool_search_call', 'tool_search_output', and 'web_search_call'.
What steps can reproduce the bug?
I ran this error several times in the past two days when context automatically compacted in remote connection (I use codex to connect to ec2 instance).
example session id: 019eaeae-e78a-7573-8877-0275c516699c
What is the expected behavior?
context compaction should not terminate the session.
Additional information
This is not an issue if running project locally. This is not an issue for CLI on remote ec2 or running in side chat from the same session.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗