Repository navigation
fix(codex): emit -c web_search=live instead of --search - #802
Merged
Merged
Conversation
Codex 0.152.0 rejects --search after exec and exec resume, which kills follow-up turns with web search on. Co-authored-by: Cursor <[email protected]>
This was referenced Sep 1, 2026
currentbits
pushed a commit
that referenced
this pull request
Sep 2, 2026
Leftover #810 tests still expected --search; Codex 0.152.0 rejects that after exec. Match providers.js / #802 so both PRs can land. Closes #811. Co-authored-by: Cursor <[email protected]>
5 of 11 tasks
Owner
Author
5 tasks
currentbits
added a commit
that referenced
this pull request
Sep 2, 2026
…#807) * fix(workflow): forward thread.webSearch into Codex --search (#792) Workflow phases already had the thread; Codex buildArgs already emits --search. The spawn path dropped webSearch, so a toggle-on thread never searched. Thread the flag the same four hops as a regular run. Co-authored-by: Cursor <[email protected]> * fix(codex): emit -c web_search=live instead of --search (#799) Codex 0.152.0 rejects --search after exec and exec resume, which kills follow-up turns with web search on. Co-authored-by: Cursor <[email protected]> * fix(workflow): assert -c web_search=live in focused Codex search tests Focused #807 tests still expected --search; Codex 0.152.0 rejects that after exec. Match providers.js / #802 so #802, #810, and #807 can land. Closes #814. Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Willem <[email protected]> Co-authored-by: Cursor <[email protected]>
currentbits
added a commit
that referenced
this pull request
Sep 2, 2026
* Merge worktree coder/fork-fork-i-got-this-feedback-i-got-this-a6b98b: Fork: Fork: I got this feedback I got this feedback look at * Merge worktree coder/fork-i-got-this-feedback-i-got-this-feed-bdd3fd: Fork: I got this feedback I got this feedback look at it and * Merge worktree coder/fork-i-got-this-feedback-i-got-this-feed-5ea377: Fork: I got this feedback I got this feedback look at it and * Merge worktree coder/i-got-this-feedback-i-got-this-feedback--654948: I got this feedback I got this feedback look at it and see w * Merge worktree coder/fork-fork-fork-fork-we-have-an-issue-wih-858622: Fork: Fork: Fork: Fork: We have an issue wiht codex * Merge worktree coder/fork-fork-fork-we-have-an-issue-wiht-cod-f08421: Fork: Fork: Fork: We have an issue wiht codex * Merge worktree coder/fork-fork-we-have-an-issue-wiht-codex-28bf1d: Fork: Fork: We have an issue wiht codex * Merge worktree coder/fork-we-have-an-issue-wiht-codex-e3f421: Fork: We have an issue wiht codex * Merge worktree coder/new-thread-c7b784: We have an issue wiht codex * Merge worktree coder/fork-fork-fork-we-have-an-issue-wiht-cod-7df392: Fork: Fork: Fork: We have an issue wiht codex * Merge worktree coder/fork-fork-we-have-an-issue-wiht-codex-920928: Fork: Fork: We have an issue wiht codex * fix: drop leftover #187 normalizeBaseBranch that duplicated origin/main Cherry-picking the worktrees squash onto origin/main (already has #187) inserted a second normalizeBaseBranch in services.js. Co-authored-by: Cursor <[email protected]> * fix(codex): emit -c web_search=live instead of --search (#799) Codex 0.152.0 rejects --search after exec and exec resume, which kills follow-up turns with web search on. Co-authored-by: Cursor <[email protected]> * fix(workflow): assert -c web_search=live in leftover Codex search tests Leftover #810 tests still expected --search; Codex 0.152.0 rejects that after exec. Match providers.js / #802 so both PRs can land. Closes #811. Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Willem <[email protected]> Co-authored-by: Willem <[email protected]> Co-authored-by: Cursor <[email protected]>
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--searchafterexecand onexec resume(unexpected argument '--search'), which kills follow-up turns with web search on (#799).buildArgsnow emits-c web_search=liveinstead. That form parses on both fresh exec and resume (verified on 0.152.0).electron/test/codex-search.test.jsnow require the-cpair, forbid--searchafter exec, and keep the prompt last.workflow-search.test.jsis not onorigin/main(it lived only on a fork).Test plan
electron/test/codex-search.test.js— 16/16electron/test/providers.test.js,providers-set.test.js,sandbox.test.js— 42/42unexpected argument '--search'Closes #799
Made with Cursor