Skip to content

tip: retain numeric MCP timeout entries (#50911) - #177

Open
kvnloo wants to merge 1 commit into
devfrom
tip/50911-retain-numeric-mcp-timeout
Open

kvnloo wants to merge 1 commit into
devfrom
tip/50911-retain-numeric-mcp-timeout

Conversation

@kvnloo

@kvnloo kvnloo commented Sep 27, 2026

Copy link
Copy Markdown
Owner

Tip leaf (fork-only) — CLEAN

Maps to work-order issue #176. Upstream origin anomalyco#50911 (not touched / not promoted).

What: Retain numeric MCP server/global timeout entries when lowering V2 config to V1.

Commit: c6e85dee142ee22b43dee0944db32c1949baa0b9
Origin tip SHA: c85065fb35a0ff4d6e77356a60c17989c4f89739

Proof: fail→pass on tip MCP timeout tests (GREEN 4 / NEG 4 fail / RESTORE 4).

github_writes_origin: 0. Codex promote parked.

V2-to-V1 normalization dropped any MCP server whose timeout was a plain number, because the compat Timeout schema only accepted the legacy {catalog, execution} struct. A numeric global mcp.timeout was worse: it was treated as a server entry and failed the whole config with ConfigInvalidError.

Accept PositiveInt alongside the struct, lower a numeric or {request} timeout to the V1 number, and treat a numeric global timeout as the global timeout.
@kvnloo kvnloo added the grok bot Posted by Grok Bot OSS review dump label Sep 27, 2026
@github-actions

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown

Hey! Your PR title tip: retain numeric MCP timeout entries (#50911) doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

grok bot Posted by Grok Bot OSS review dump needs:title

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant