Skip to content

chore: remove Sentry#1386

Merged
franky47 merged 2 commits intonextfrom
chore/remove-sentry
Apr 20, 2026
Merged

chore: remove Sentry#1386
franky47 merged 2 commits intonextfrom
chore/remove-sentry

Conversation

@franky47
Copy link
Copy Markdown
Member

It had been disabled for a while (didn't work well with Turbopack), trimming down to reduce dependencies & supply chain attack vectors (in response to the Vercel hack of 2026-04-19).

@franky47 franky47 added the documentation Improvements or additions to documentation label Apr 20, 2026
@franky47 franky47 added this to the 🪵 Backlog milestone Apr 20, 2026
@franky47 franky47 added the documentation Improvements or additions to documentation label Apr 20, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nuqs Ready Ready Preview, Comment Apr 20, 2026 3:15am

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes Sentry from the packages/docs Next.js app to reduce dependency surface area and eliminate inactive instrumentation/config that was previously gated behind env flags.

Changes:

  • Removes @sentry/nextjs usage from runtime (instrumentation hooks, global error capture, trace metadata, and ad-hoc exception reporting).
  • Simplifies next.config.mjs by dropping withSentryConfig and related build/source-map/debug-id settings.
  • Updates package.json, turbo.json, and pnpm-lock.yaml to fully remove Sentry and its transitive dependency tree.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pnpm-lock.yaml Removes Sentry packages and a large set of transitive deps from the lockfile.
packages/docs/turbo.json Drops Sentry-related env vars from Turbo task environment passthrough.
packages/docs/src/instrumentation.ts Deletes server/edge instrumentation registration tied to Sentry.
packages/docs/src/instrumentation-client.ts Deletes client-side Sentry initialization.
packages/docs/src/app/playground/(demos)/_components/source-on-github.tsx Removes Sentry exception capture; retains console logging + null fallback.
packages/docs/src/app/layout.tsx Removes Sentry trace metadata injection from Metadata.
packages/docs/src/app/global-error.tsx Removes Sentry error capture side-effect; keeps status code rendering.
packages/docs/sentry.server.config.ts Deletes Sentry server config.
packages/docs/sentry.edge.config.ts Deletes Sentry edge config.
packages/docs/package.json Removes @sentry/nextjs and related dev deps.
packages/docs/next.config.mjs Removes Sentry build wrapper/config and exports plain Fumadocs MDX config.
packages/docs/.gitignore Removes .sentryclirc ignore entry.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@franky47 franky47 enabled auto-merge (squash) April 20, 2026 03:13
@franky47 franky47 merged commit 09d82ef into next Apr 20, 2026
31 checks passed
@franky47 franky47 deleted the chore/remove-sentry branch April 20, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants