Repository navigation
docs(nextjs): Document the tunnel route handler and tunnel credentials - #20075
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
The plan checks page loads of the edited tunnel docs, client errors on those pages, and JavaScript docs 404s. An issue escalates when client errors rise or JavaScript 404s rise. Monitoring in Services: Mention PlanWhat changedReaders of the Next.js build-options page now see tunnel handler mode for SDK 10.77.1 and 11.9.0. Those pages tell apps behind a login to use handler mode and to omit credentials in rewrite mode. sentry-docs must deploy before this copy is live. The Vercel production project sentry-docs maps to that service in the deploy report workflow. This merge dropped the React getting-started tunnel edit. RiskA render fault in the shared troubleshooting MDX can break every JavaScript troubleshooting page. A combined AvailableSince version string can fail to render on the build-options page. A new middleware Expandable or new code samples can throw in the browser. A bad new link can send readers to a 404. Intended effectConnected telemetry cannot show that the new copy is live. No metric increments when handler mode or Page loads of the edited paths only show that the pages still open. They do not prove the new copy. Regression watchWatch client errors on the edited tunnel pages, JavaScript 404s, and page-load volume on those paths. Pageload failure rate on the unhashed JavaScript troubleshooting URL is the availability signal. The shared troubleshooting MDX is the widest blast radius. Client errors on these URLs were zero in both windows. Treat any new title on these URLs as a regression. Pageload failure rate on the
If client errors rise, inspect Expandable, AvailableSince, code tabs, and MDX render on the Next.js build-options and JavaScript troubleshooting pages. Not observableLive HTML of the edited pages. Sentry does not store page body text. The executor cannot confirm handler mode, the 10.77.1 and 11.9.0 notes, Get Slack DMs about this change: cursor.com/automations/rollouts |
d44dbbe to
4781fde
Compare
|
Please update the IS YOUR CHANGE URGENT? section of the PR description:
This information helps the Docs team prioritize your review. |
# Conflicts: # docs/platforms/javascript/guides/nextjs/index.mdx # docs/platforms/javascript/guides/nextjs/manual-setup/index.mdx # docs/platforms/javascript/guides/react/index.mdx
DESCRIBE YOUR PR
Documents the tunnel changes in SDK 11.9.0.
tunnelRoute: add handler mode (app/sentry-tunnel/route.ts). In this mode, a route handler in the app forwards only the request body to Sentry. Rewrite mode now sends withcredentials: "omit". Apps behind Vercel Deployment Protection or another login should use handler mode.handleTunnelRequest, and add a new "Credentials on Tunnel Requests" entry.options.mdx, the getting-started includes, the Next.js setup pages, and TanStack Start.Related SDK PRs, all going to be released in 11.9.0:
credentials: 'omit'sentry-javascript#25509Backport PRs for 10.77.1:
credentials: 'omit'sentry-javascript#25561IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace
YYYY-MM-DDwith the due date. You can update this information later by editing the PR description.SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: