Repository navigation
fix(workflow): forward thread.webSearch into Codex -c web_search=live - #807
Merged
Merged
Conversation
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]>
This was referenced Sep 2, 2026
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]>
currentbits
pushed a commit
that referenced
this pull request
Sep 2, 2026
…ermission. #807 only forwarded webSearch. Dropping leftover reasoningEffort and permissionMode would reopen #793/#785. Search tests allow the #801 computer-use note on the last argv token. 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
thread.webSearchthroughstartWorkflowRun→spawnPhaseAgent→spawnAgentCodex→buildArgs.fa7c97cb) so this branch emits-c web_search=live(Codex 0.152.0 rejects--searchafterexec, Codex exec resume rejects --search; follow-up turns die (exit 2) #799) and retargeted leftoverelectron/test/workflow-search.test.jsto the same flag.electron/workflow.js. Does not reopen effort (Workflow phases drop effort for claude/codex/opencode/cursor #785) or phase resume (Kimi workflow phases cannot resume #782). Does not remelt fix(codex): tell the model Solenta has no Computer Use toggle #801 computer-use.Closes #792
Closes #814
Test plan
electron/test/workflow-search.test.js— 2/2 (spawnPhaseAgent + startWorkflowRun dump argv;!includes('--search'),includes('web_search=live'), previous token is-c)electron/test/codex-search.test.js— 16/16npm run typecheckclean#802 and leftover #810 can merge in either order with this PR.
Made with Cursor