Skip to content

Next.js managed tunnel on the tunnel route handler #25466

Open

Description

@logaretm

Next.js already has tunnelRoute. The plan is to land the opt-in route handler from #25456 first, then core (#25460), then rebuild the managed tunnel on top of that handler with createSentryTunnelRoute({ allowedDsns }) in place of our tunnelRoute.allowedDsns.

The generated route file stays user editable, and isTunnelRequest is exported so middleware can let tunnel requests through.

PR: #25424

Activity

  1. self-assigned this
    on Oct 16, 2026
  2. linear-code commented on Oct 16, 2026

    @linear-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions