Skip to content

fix(mcp): disable CDP timeout for extension connection#40265

Merged
yury-s merged 2 commits intomicrosoft:mainfrom
yury-s:fix-extension-cdp-timeout
Apr 17, 2026
Merged

fix(mcp): disable CDP timeout for extension connection#40265
yury-s merged 2 commits intomicrosoft:mainfrom
yury-s:fix-extension-cdp-timeout

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented Apr 17, 2026

Summary

  • The extension connection flow requires user interaction (approving the tab in the connect UI). The default 30s CDP timeout causes spurious Timeout 30000ms exceeded errors when the user doesn't approve in time.
  • Disable the CDP timeout (timeout: 0) for the extension flow since it inherently requires user interaction and should not have an arbitrary deadline.

The extension connection flow requires user interaction (approving the
tab in the connect UI). The default 30s CDP timeout is too short and
causes spurious failures when the user doesn't approve in time. Pass
cdpTimeout from config (defaulting to 0 = no timeout) to match the
interactive nature of this flow.
@github-actions
Copy link
Copy Markdown
Contributor

Test results for "MCP"

1 failed
❌ [webkit] › mcp/dashboard.spec.ts:77 › should activate session when show is called with -s @mcp-ubuntu-latest

6095 passed, 976 skipped


Merge workflow run.

@yury-s yury-s merged commit 32ef229 into microsoft:main Apr 17, 2026
9 of 10 checks passed
@yury-s yury-s deleted the fix-extension-cdp-timeout branch April 17, 2026 05:39
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.

2 participants