Clarify exec yield timing on Windows - #33150
Merged
copyberry[bot] merged 1 commit intoJul 14, 2026
Merged
Conversation
## Why The generic `yield_time_ms` description does not explain the Windows-specific initial wait behavior or when callers should choose a shorter value. ## What changed - Describe `yield_time_ms` on Windows as the maximum wait before a running command returns a session ID, while commands that finish sooner still return immediately. - Recommend the 10-second default for ordinary commands and shorter waits for intentionally long-lived or interactive processes. - Keep the existing parameter description on other platforms. ## Testing - Update the expected `exec_command` tool schema for both platform variants. GitOrigin-RevId: 32f90b3a56604fcf1734cc81ba7ab2f0bec41643
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/32f90b3a56604fcf1734cc81ba7ab2f0bec41643
branch
from
July 14, 2026 20:44
2bbe70d to
4da39db
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/32f90b3a56604fcf1734cc81ba7ab2f0bec41643
branch
July 14, 2026 20:45
alfonsofiorentino
temporarily deployed
to
issue-triage
July 14, 2026 20:48 — with
GitHub Actions
Inactive
alfonsofiorentino
temporarily deployed
to
issue-triage
July 14, 2026 20:48 — with
GitHub Actions
Inactive
alfonsofiorentino
temporarily deployed
to
issue-triage
July 14, 2026 20:48 — with
GitHub Actions
Inactive
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Clarify exec yield timing on Windows
Why
The generic
yield_time_msdescription does not explain the Windows-specificinitial wait behavior or when callers should choose a shorter value.
What changed
yield_time_mson Windows as the maximum wait before a runningcommand returns a session ID, while commands that finish sooner still return
immediately.
intentionally long-lived or interactive processes.
Testing
exec_commandtool schema for both platform variants.