Skip to content

Prepare compaction helpers for background requests - #53606

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

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/29f3ca0ae8841f295058feb207e3a225af9a1487

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Prepare compaction helpers for background requests

What changed

  • Extract an HTTP Responses executor that can run without owning a turn's WebSocket state, with optional authentication-owner checks.
  • Add cancellation-aware compaction output collection that records background token usage against the rollout budget.
  • Support installing a compacted history prefix while preserving later history items and placing initial context around real user or agent messages.
  • Allow callers to supply a context window for history trimming and a captured window for compaction request metadata.

## What changed

- Extract an HTTP Responses executor that can run without owning a turn's WebSocket state, with optional authentication-owner checks.
- Add cancellation-aware compaction output collection that records background token usage against the rollout budget.
- Support installing a compacted history prefix while preserving later history items and placing initial context around real user or agent messages.
- Allow callers to supply a context window for history trimming and a captured window for compaction request metadata.

GitOrigin-RevId: 29f3ca0ae8841f295058feb207e3a225af9a1487
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/29f3ca0ae8841f295058feb207e3a225af9a1487 branch from 1c0ee3a to be5296d Compare October 13, 2026 08:13
@copyberry
copyberry Bot merged commit be5296d into main Oct 13, 2026
5 of 8 checks passed
@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:13:48.015161Z 1c0ee3a 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/29f3ca0ae8841f295058feb207e3a225af9a1487 branch October 13, 2026 08:13
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 13, 2026
@yiliang114
yiliang114 deployed to issue-triage October 13, 2026 08:21 — with Image GitHub Actions Active
@yiliang114
yiliang114 deployed to issue-triage October 13, 2026 08:21 — with Image GitHub Actions Active
@yiliang114
yiliang114 deployed to issue-triage October 13, 2026 08:21 — with Image GitHub Actions Active
@yiliang114
yiliang114 deployed to issue-triage October 13, 2026 08:22 — with Image GitHub Actions Active
@TANGGoogle
TANGGoogle deployed to issue-triage October 13, 2026 08:24 — with Image GitHub Actions Active
@TANGGoogle
TANGGoogle deployed to issue-triage October 13, 2026 08:24 — with Image GitHub Actions Active
@TANGGoogle
TANGGoogle deployed to issue-triage October 13, 2026 08:24 — with Image GitHub Actions Active
@AAASIA1006
AAASIA1006 deployed to issue-triage October 13, 2026 08:25 — with Image GitHub Actions Active
@AAASIA1006
AAASIA1006 deployed to issue-triage October 13, 2026 08:25 — with Image GitHub Actions Active
@AAASIA1006
AAASIA1006 deployed to issue-triage October 13, 2026 08:25 — with Image GitHub Actions Active
@TANGGoogle
TANGGoogle deployed to issue-triage October 13, 2026 08:25 — with Image GitHub Actions Active
@VladimerST
VladimerST deployed to issue-triage October 13, 2026 08:28 — with Image GitHub Actions Active
@VladimerST
VladimerST deployed to issue-triage October 13, 2026 08:28 — with Image GitHub Actions Active
@VladimerST
VladimerST deployed to issue-triage October 13, 2026 08:28 — with Image GitHub Actions Active
@954708775
954708775 deployed to issue-triage October 13, 2026 08:36 — with Image GitHub Actions Active
@954708775
954708775 deployed to issue-triage October 13, 2026 08:36 — with Image GitHub Actions Active
@954708775
954708775 deployed to issue-triage October 13, 2026 08:36 — with Image GitHub Actions Active
@avatasia
avatasia deployed to issue-triage October 13, 2026 08:36 — with Image GitHub Actions Active
@avatasia
avatasia deployed to issue-triage October 13, 2026 08:36 — with Image GitHub Actions Active
@avatasia
avatasia deployed to issue-triage October 13, 2026 08:36 — with Image GitHub Actions Active
@954708775
954708775 deployed to issue-triage October 13, 2026 08:38 — with Image GitHub Actions Active
@avatasia
avatasia deployed to issue-triage October 13, 2026 08:38 — with Image GitHub Actions Active

This branch was successfully deployed

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

8 participants