Skip to content

Conversation

mattzcarey
Copy link
Collaborator

@mattzcarey mattzcarey commented Oct 14, 2025

DO shuts down during the flow and loses mcpConnections map and the callback url array. Shows in this error..

Best server to test this with is https://observability.mcp.cloudflare.com/mcp

Screenshot 2025-10-14 at 18 02 44

Copy link

changeset-bot bot commented Oct 14, 2025

🦋 Changeset detected

Latest commit: e75e399

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Oct 14, 2025

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/agents@566

commit: e75e399

Copy link
Collaborator

@threepointone threepointone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this feels directionally correct to me. soft approval, but plesae test the hell out of it befpre landing

}
);
} catch (error) {
console.error(`Failed to restore connection for ${serverId}:`, error);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm should it be a silent error? what can we do better here?

Copy link
Collaborator Author

@mattzcarey mattzcarey Oct 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done better

@whoiskatrin whoiskatrin self-requested a review October 15, 2025 12:07
@mattzcarey mattzcarey merged commit 7f4616c into main Oct 15, 2025
3 checks passed
@mattzcarey mattzcarey deleted the fix/do-shutting-down branch October 15, 2025 13:07
@mattzcarey mattzcarey changed the title fix: Oauth2 client flow fix: oauth2 client flow Oct 15, 2025
@threepointone threepointone mentioned this pull request Oct 15, 2025
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.

3 participants