Apply MCP startup timeouts during client creation - #32781
Merged
copyberry[bot] merged 1 commit intoJul 13, 2026
Merged
Conversation
## What changed - Apply each server's `startup_timeout_sec` (or the default) while creating the MCP client, so the deadline also covers transport setup. - Launch local stdio servers on a blocking task so synchronous command resolution and process creation do not prevent the deadline from firing. - Recognize the new client-startup timeout error and show the existing `startup_timeout_sec` configuration hint. ## Testing - Extend the timeout error display test to cover the client-startup timeout. GitOrigin-RevId: 1967c62f943d55f6aa18792d4488e52c22f1e717
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/1967c62f943d55f6aa18792d4488e52c22f1e717
branch
from
July 13, 2026 12:02
840de38 to
8b2c84d
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/1967c62f943d55f6aa18792d4488e52c22f1e717
branch
July 13, 2026 12:03
liranbenishay-hub
temporarily deployed
to
issue-triage
July 13, 2026 12:07 — with
GitHub Actions
Inactive
liranbenishay-hub
temporarily deployed
to
issue-triage
July 13, 2026 12:07 — with
GitHub Actions
Inactive
liranbenishay-hub
temporarily deployed
to
issue-triage
July 13, 2026 12:07 — with
GitHub Actions
Inactive
Taratarra0099-jpg
temporarily deployed
to
issue-triage
July 13, 2026 12:10 — with
GitHub Actions
Inactive
Taratarra0099-jpg
temporarily deployed
to
issue-triage
July 13, 2026 12:10 — with
GitHub Actions
Inactive
Taratarra0099-jpg
temporarily deployed
to
issue-triage
July 13, 2026 12:10 — with
GitHub Actions
Inactive
Taratarra0099-jpg
temporarily deployed
to
issue-triage
July 13, 2026 12:11 — with
GitHub Actions
Inactive
oliverames
had a problem deploying
to
issue-triage
July 13, 2026 13:18 — with
GitHub Actions
Failure
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.
Apply MCP startup timeouts during client creation
What changed
startup_timeout_sec(or the default) while creating theMCP client, so the deadline also covers transport setup.
resolution and process creation do not prevent the deadline from firing.
startup_timeout_secconfiguration hint.Testing