Skip to content

Fix config reads with relative working directories - #61663

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/82eb835f2eac4e53414b01fc9286c2aac71babf2
Nov 15, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Fix config reads with relative working directories

Build config/read responses from the latest loaded configuration's layer
stack so requests with a relative cwd, such as ., succeed and reflect
external configuration edits. Reuse that configuration for feature overrides
and preserve precedence for layer read and decoding errors over full-config
validation errors.

Add a regression test that reads with cwd: "." before and after an external
model configuration edit and checks that both values are returned.

Build `config/read` responses from the latest loaded configuration's layer
stack so requests with a relative `cwd`, such as `.`, succeed and reflect
external configuration edits. Reuse that configuration for feature overrides
and preserve precedence for layer read and decoding errors over full-config
validation errors.

Add a regression test that reads with `cwd: "."` before and after an external
model configuration edit and checks that both values are returned.

GitOrigin-RevId: 82eb835f2eac4e53414b01fc9286c2aac71babf2
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/82eb835f2eac4e53414b01fc9286c2aac71babf2 branch from f61c698 to 5cb38e7 Compare November 15, 2026 15:26
@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-15T15:26:19.002608Z f61c698 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 5cb38e7 into main Nov 15, 2026
10 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/82eb835f2eac4e53414b01fc9286c2aac71babf2 branch November 15, 2026 15:26
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 15, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 5cb38e79 Deployed Nov 15, 2026 by AgentGTS via Identify potential duplicates (open issues fallback) #63669
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.