-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Note
The pull request "Framework-agnostic Tunnel Handler" was created by @nikolovlazar but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.
Overview
Right now only the Next.js SDK has a built-in tunnel handler on the backend side, but this PR aims to extract the tunnel handling logic in plain JavaScript in @sentry/core, and provide framework-specific adapters.
Framework-specific adapters checklist
- Next.js
- Remix
- SvelteKit
- Nuxt
- Astro
- Solid Start
- TanStack Start React
- Nest.js
- ...?
Questions for the team
- Is
@sentry/corea good home for the framework-agnostic tunnel handler function? - What framework-specific adapters am I missing in the checklist? (cloudflare, aws, google cloud services, vercel edge, bun, deno)
- How do we standardize this across all SDKs, not just JavaScript?
TODOs
- Finalize framework adapters list
- E2E tests
Update
After talking to the team, we decided to scope this PR only to the core util function, and handle framework adapters in other PRs. For that reason, I've deleted the initial TanStack Start adapter.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels