Skip to content

feat(mcp): raise the per-tool-call active-work deadline from 60 seconds to one hour - #19

Merged
fforres merged 1 commit into
skywardfrom
feat/mcp-active-work-timeout-1h
Oct 9, 2026
Merged

fforres merged 1 commit into
skywardfrom
feat/mcp-active-work-timeout-1h

Conversation

@fforres

@fforres fforres commented Oct 9, 2026

Copy link
Copy Markdown

Why

A single long upstream tool call was cut off at 60 seconds. One hour still bounds a hung upstream.

What

  • MCP_ACTIVE_WORK_TIMEOUT_MS in packages/plugins/mcp/src/sdk/invoke.ts: 60_000 to 3_600_000.
  • The elicitation pause and the SDK transport backstop are unchanged.
  • invoke.test.ts asserts the literal 3_600_000, proves the default deadline fires at exactly one hour, and still proves the deadline pauses during elicitation (fake timers).
  • e2e/selfhost/mcp-elicitation-deadline.test.ts: comment no longer claims the 65 s sleep crosses the production deadline.
  • Changeset for @executor-js/plugin-mcp.

@fforres
fforres merged commit ef8daec into skyward Oct 9, 2026
4 of 40 checks passed
@fforres
fforres deleted the feat/mcp-active-work-timeout-1h branch October 9, 2026 10:05
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.

1 participant