Skip to content

Support environment updates in app-server settings APIs - #60655

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/bfebeda57c676be94427aeb0c567c0b94fd9c387
Nov 10, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Support environment updates in app-server settings APIs

What changed

Add experimental environments fields to turn/settings/update and thread/settings/update. Turn updates apply to later steps of the running turn; thread updates apply to future turns. Omission or null preserves the selection, while [] clears it. Providing cwd in a thread update without an environment list selects the defaults for that directory.

Include the ordered environment selection in thread/settings/updated. Wait for Core to accept thread settings updates before returning success, and return rejections as request errors.

Testing

Add integration coverage for attaching, replacing, preserving, and clearing environments; rejected updates; and the distinction between later steps and future turns.

## What changed

Add experimental `environments` fields to `turn/settings/update` and `thread/settings/update`. Turn updates apply to later steps of the running turn; thread updates apply to future turns. Omission or `null` preserves the selection, while `[]` clears it. Providing `cwd` in a thread update without an environment list selects the defaults for that directory.

Include the ordered environment selection in `thread/settings/updated`. Wait for Core to accept thread settings updates before returning success, and return rejections as request errors.

## Testing

Add integration coverage for attaching, replacing, preserving, and clearing environments; rejected updates; and the distinction between later steps and future turns.

GitOrigin-RevId: bfebeda57c676be94427aeb0c567c0b94fd9c387
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/bfebeda57c676be94427aeb0c567c0b94fd9c387 branch from 5c2d826 to c9bbed2 Compare November 10, 2026 20:35
@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-10T20:35:53.108594Z 5c2d826 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 merged commit c9bbed2 into main Nov 10, 2026
8 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/bfebeda57c676be94427aeb0c567c0b94fd9c387 branch November 10, 2026 20:35
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 10, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — c9bbed2d Deployed Nov 10, 2026 by luvidal via Identify potential duplicates (open issues fallback) #62659
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.

7 participants