-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
9.15.0
breaks Cloudflare SDK usage in sentry-mcp
#16182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is still happening |
This was introduced with #16126 specifically the transport patch: sentry-javascript/packages/core/src/mcp-server.ts Lines 69 to 99 in 7c50cd4
this is the miniflare code: https://github.com/cloudflare/workers-sdk/blob/f901e14e842b57c90729d6f5c2b308f60323aaba/packages/miniflare/src/workers/core/proxy.worker.ts#L171-L181 and this is the agents code: https://github.com/cloudflare/agents/blob/dc0e8de4d4717c83fa3850853d125cfe047a9443/packages/agents/src/mcp/index.ts#L324 |
A PR closing this issue has just been released 🚀This issue was referenced by PR #16180, which was included in the 9.16.0 release. |
Created issue w/ cloudflare here: cloudflare/workers-sdk#9169 |
Fix was released with cloudflare/workers-sdk#9169 (comment) We need to bump |
Description
getsentry/sentry-mcp#136
AI summary:
Based on the code and error message, I can identify the issue. The error is occurring because there's a conflict between how Miniflare (the local development environment for Cloudflare Workers) handles private fields and how the Sentry SDK is trying to access them.
This suggests that the issue is related to how Miniflare v4 handles private fields in its proxy implementation, and how the Sentry SDK is trying to access these fields through its proxy wrapper.
Here are a few potential solutions:
I think we should try catch it.
The text was updated successfully, but these errors were encountered: