Skip to content

Conversation

jif-oai
Copy link
Contributor

@jif-oai jif-oai commented Sep 11, 2025

Fix the default value of the experimental flag of unified_exec

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

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, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

Comment on lines 844 to +846
use_experimental_unified_exec_tool: cfg
.experimental_use_unified_exec_tool
.unwrap_or(true),
.unwrap_or(false),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Do not disable unified_exec by default

Changing the fallback from unwrap_or(true) to unwrap_or(false) means Config::load_from_base_config_with_overrides will now omit the unified_exec tool whenever the experimental flag is not explicitly set in the config file. Existing code and tests assume the flag defaults to true—for example core/tests/suite/prompt_caching.rs and the profile precedence tests construct configs without setting experimental_use_unified_exec_tool and expect use_experimental_unified_exec_tool to be true, validating that the unified_exec tool is present. After this change those paths will default to false, removing the tool and causing those tests (and any default configuration) to fail. Unless the goal is to change the external default and update all callers/tests accordingly, this line reintroduces a regression in default behavior.

Useful? React with 👍 / 👎.

@jif-oai jif-oai enabled auto-merge (squash) September 11, 2025 16:11
@jif-oai jif-oai merged commit 114ce9f into main Sep 11, 2025
19 checks passed
@jif-oai jif-oai deleted the jif/nit-unified-exec branch September 11, 2025 16:19
@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2025
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.

2 participants