[codex] Remove auto-compaction opt-out - #29815
Merged
Merged
Conversation
rhan-oai
force-pushed
the
rhan/auto-compact-limit-cleanup
branch
from
June 24, 2026 06:40
d179481 to
177221a
Compare
rhan-oai
marked this pull request as ready for review
June 24, 2026 07:13
pakrym-oai
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
auto_compactionfeature flag and generated config schema entriesnew_contextwhenever token-budget tooling is enabledMotivation
Roll back the internal auto-compaction escape hatch added in #28260. Automatic compaction should no longer be suppressible with
--disable auto_compaction; existing manual/compactbehavior remains unchanged.Testing
just write-config-schemajust test -p codex-features— 53 passedjust test -p codex-core 'suite::compact::'— 36 passedjust test -p codex-core suite::token_budget::new_context_tool_starts_new_window_before_follow_up— 1 passedjust fix -p codex-core -p codex-featuresjust fmtjust test -p codex-core— 2,778 passed, 59 failed, 16 skipped; failures were outside the changed compaction paths and were dominated by missing first-party test binaries and shell-snapshot timeouts