Skip to content

fix(workflow): forward thread.webSearch into Codex -c web_search=live - #807

Merged
currentbits merged 3 commits into
mainfrom
coder/workflow-codex-websearch-792
Sep 2, 2026
Merged

currentbits merged 3 commits into
mainfrom
coder/workflow-codex-websearch-792

Conversation

@currentbits

@currentbits currentbits commented Sep 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

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/16
  • npm run typecheck clean
  • Turn Search on for a Codex thread, run a workflow: phase argv / live search should work
  • Confirm a Claude/Grok workflow phase still has no search flag

#802 and leftover #810 can merge in either order with this PR.

Made with Cursor

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]>
Willem and others added 2 commits September 2, 2026 08:52
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]>
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]>
@currentbits currentbits changed the title fix(workflow): forward thread.webSearch into Codex --search fix(workflow): forward thread.webSearch into Codex -c web_search=live Sep 2, 2026
@currentbits
currentbits merged commit ac1cdef into main Sep 2, 2026
3 of 6 checks passed
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]>
@currentbits
currentbits deleted the coder/workflow-codex-websearch-792 branch October 3, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align focused #807 workflow Codex search tests with -c web_search=live Workflow Codex phases drop thread.webSearch / --search

1 participant