Skip to content

core: enable remote compaction v2 by default - #27573

Merged
jif-oai merged 3 commits into
mainfrom
jif/compaction-v2-land
Jun 11, 2026
Merged

core: enable remote compaction v2 by default#27573
jif-oai merged 3 commits into
mainfrom
jif/compaction-v2-land

Conversation

@jif-oai

@jif-oai jif-oai commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Why

Remote compaction v2 is ready to become the default for providers that already support remote compaction. Leaving it behind an under-development opt-in keeps eligible sessions on the legacy remote-compaction path.

This does not broaden provider eligibility: OpenAI and Azure move to v2, while Bedrock and OSS providers retain their existing local-compaction behavior.

What changed

  • Mark remote_compaction_v2 stable and enable it by default.
  • Make tests that intentionally cover legacy remote compaction explicitly disable v2.
  • Update parity coverage so v2 exercises the production default and only legacy mode opts out.

Verification

  • just test -p codex-core auto_compact_runs_after_resume_when_token_usage_is_over_limit auto_compact_counts_encrypted_reasoning_before_last_user auto_compact_runs_when_reasoning_header_clears_between_turns responses_lite_compact_request_uses_lite_transport_contract

@jif-oai
jif-oai requested a review from a team as a code owner June 11, 2026 09:27
@jif-oai

jif-oai commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@jif-oai jif-oai changed the title chore: compaction v2 default core: enable remote compaction v2 by default Jun 11, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jif-oai
jif-oai enabled auto-merge (squash) June 11, 2026 10:05
@jif-oai
jif-oai merged commit 273a4aa into main Jun 11, 2026
31 checks passed
@jif-oai
jif-oai deleted the jif/compaction-v2-land branch June 11, 2026 10:07
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants