Skip to content

Refactor session window access and async compaction test setup - #61263

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7ad852dbd65689e814f62cad645330ac5dac80f4
Nov 13, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7ad852dbd65689e814f62cad645330ac5dac80f4

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Refactor session window access and async compaction test setup

What changed

  • Read response window metadata through current_window_from_state with an explicit session state lock, releasing it before assembling response metadata.
  • Name the token budget feature check used when restoring a forked child window.
  • Pass an explicit TestEnv into the async compaction test helper and build with build_with_environment.

## What changed

- Read response window metadata through `current_window_from_state` with an explicit session state lock, releasing it before assembling response metadata.
- Name the token budget feature check used when restoring a forked child window.
- Pass an explicit `TestEnv` into the async compaction test helper and build with `build_with_environment`.

GitOrigin-RevId: 7ad852dbd65689e814f62cad645330ac5dac80f4
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/7ad852dbd65689e814f62cad645330ac5dac80f4 branch from 38c33a9 to 72be450 Compare November 13, 2026 05:16
@copyberry
copyberry Bot merged commit 72be450 into main Nov 13, 2026
8 of 23 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

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

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-13T05:16:26.214759Z 38c33a9 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/7ad852dbd65689e814f62cad645330ac5dac80f4 branch November 13, 2026 05:16
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 13, 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.

1 participant