Skip to content

Add infrastructure for speculative remote V2 compaction - #53614

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/0e5e6ab7dac4d98a836733668a775ac48b5a59f1
Oct 13, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/0e5e6ab7dac4d98a836733668a775ac48b5a59f1

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Add infrastructure for speculative remote V2 compaction

What changed

  • Capture history, prompt metadata, routing state, authentication ownership, and context-window identity for background compaction requests.
  • Send background requests over HTTP while preserving foreground routing, and retain the latest candidate in session memory.
  • Add feature and threshold eligibility checks and deduplicate attempts by history version, model, compaction hash, and authentication ownership.
  • Cancel and drain background tasks during session shutdown, preserving completed usage accounting.

The background launch helper is not yet connected to the turn loop.

## What changed

- Capture history, prompt metadata, routing state, authentication ownership, and context-window identity for background compaction requests.
- Send background requests over HTTP while preserving foreground routing, and retain the latest candidate in session memory.
- Add feature and threshold eligibility checks and deduplicate attempts by history version, model, compaction hash, and authentication ownership.
- Cancel and drain background tasks during session shutdown, preserving completed usage accounting.

The background launch helper is not yet connected to the turn loop.

GitOrigin-RevId: 0e5e6ab7dac4d98a836733668a775ac48b5a59f1
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/0e5e6ab7dac4d98a836733668a775ac48b5a59f1 branch from c48e530 to 1a69ad3 Compare October 13, 2026 08:44
@copyberry
copyberry Bot merged commit 1a69ad3 into main Oct 13, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-13T08:44:36.020719Z c48e530 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/0e5e6ab7dac4d98a836733668a775ac48b5a59f1 branch October 13, 2026 08:44
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 13, 2026
@SuiyuanK
SuiyuanK deployed to issue-triage October 13, 2026 08:44 — with Image GitHub Actions Active
@SuiyuanK
SuiyuanK deployed to issue-triage October 13, 2026 08:44 — with Image GitHub Actions Active
@SuiyuanK
SuiyuanK deployed to issue-triage October 13, 2026 08:44 — with Image GitHub Actions Active
@SuiyuanK
SuiyuanK deployed to issue-triage October 13, 2026 08:46 — with Image GitHub Actions Active
@ollyde
ollyde deployed to issue-triage October 13, 2026 09:03 — with Image GitHub Actions Active
@ollyde
ollyde deployed to issue-triage October 13, 2026 09:03 — with Image GitHub Actions Active
@ollyde
ollyde deployed to issue-triage October 13, 2026 09:03 — with Image GitHub Actions Active
@ollyde
ollyde deployed to issue-triage October 13, 2026 09:04 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 1a69ad32 Deployed Oct 13, 2026 by ollyde via Identify potential duplicates (open issues fallback) #55026
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.

3 participants