Repository navigation
fix(mcp): separate OAuth login and handshake deadlines - #1624
Merged
Merged
Conversation
jhrozek
force-pushed
the
worktree-debug+mcp-dcr-login-timeout
branch
from
September 16, 2026 09:41
4aedf4b to
289cd8a
Compare
Keep the interactive browser callback governed by caller cancellation while bounding pre- and post-authorization MCP exchanges independently. Raise the direct resource header timeout and surface redacted transport and DCR grant failures so a generic SDK timeout does not hide the actionable cause. Co-authored-by: mecatl <[email protected]>
jhrozek
force-pushed
the
worktree-debug+mcp-dcr-login-timeout
branch
from
September 17, 2026 09:33
289cd8a to
f932e4d
Compare
jhrozek
added a commit
that referenced
this pull request
Sep 18, 2026
runMCPAdd's internal runMCPLogin call never passed stderr through, so any diagnostics logged during add's login/verification step were silently discarded via runMCPLogin's own io.Discard default — the exact same "no logs" gap #1624 fixed for mcp login directly, just not propagated to the newer add command that wraps it. Ref: #1613 Co-Authored-By: mecatl <[email protected]>
Merged
2 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Verification
go test -race ./internal/adapter/mcp ./cmd/mecatedtask docstask api:checkgo run ./cmd/mecademotask lintexceeded its 600-second timeout without a finding.task testhas unrelated environment-sensitive failures in mecatui credential/embedded-socket and credential-store suites; changed MCP/app/mecated packages passed.Fixes #1623