Skip to content

feat: add configurable write_stdin timeout - #12228

Merged
jif-oai merged 5 commits into
mainfrom
jif/make-writestdin-timeout-parameter
Feb 19, 2026
Merged

jif-oai merged 5 commits into
mainfrom
jif/make-writestdin-timeout-parameter

Conversation

@jif-oai

@jif-oai jif-oai commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

Add max timeout as config for write_stdin. This is only used for empty write_stdin.

Also increased the default value from 30s to 5mins.

@jif-oai

jif-oai commented Feb 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

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

Copy link
Copy Markdown
Contributor

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 automated review suggestions for this pull request.

Reviewed commit: 05ac40c69e

ℹ️ 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
  • 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 address that feedback".

Comment thread codex-rs/core/src/config/mod.rs Resolved
Comment thread codex-rs/core/src/config/mod.rs Outdated

/// Maximum poll window for background terminal output (`write_stdin`), in milliseconds.
/// Default: `300000` (5 minutes).
pub background_terminal_timeout: u64,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We might want a different name. Right now it reads as the timeout for the entire terminal.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maximum_terminal_wait_time ?

@jif-oai
jif-oai merged commit 547f462 into main Feb 19, 2026
30 of 32 checks passed
@jif-oai
jif-oai deleted the jif/make-writestdin-timeout-parameter branch February 19, 2026 17:22
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 19, 2026
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