Skip to content

Fix sentry source maps not matching js files#118

Merged
aaccensi merged 3 commits intomasterfrom
sentry-sourcemaps-urlprefix
Mar 24, 2026
Merged

Fix sentry source maps not matching js files#118
aaccensi merged 3 commits intomasterfrom
sentry-sourcemaps-urlprefix

Conversation

@aaccensi
Copy link
Copy Markdown
Member

@aaccensi aaccensi commented Mar 17, 2026

Context

The source maps uploaded to Sentry do not seem to be link to their corresponding JS files properly

Implemented changes

Next.js has been update from 15 to 16 to fix an apparently know incompatibility issue

Related

We are trying to fix this issue in two places:

Checklist

  • I have tested these changes (nothing breaks locally but merging is necessary to test results)
  • I have updated documentation as needed
  • I have tagged the relevant people for review

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 17, 2026

Deploy Preview for beta-collections ready!

Name Link
🔨 Latest commit 57c2ded
🔍 Latest deploy log https://app.netlify.com/projects/beta-collections/deploys/69b97b6e0ac9280008a06298
😎 Deploy Preview https://deploy-preview-118--beta-collections.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@aaccensi aaccensi requested a review from noracato March 17, 2026 15:07
@aaccensi aaccensi marked this pull request as ready for review March 17, 2026 15:07
@aaccensi aaccensi removed the request for review from noracato March 17, 2026 15:11
@aaccensi aaccensi marked this pull request as draft March 17, 2026 15:11
@aaccensi aaccensi requested a review from noracato March 17, 2026 15:17
@aaccensi aaccensi marked this pull request as ready for review March 17, 2026 15:17
Comment thread next-env.d.ts
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";

// NOTE: This file should not be edited
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It says this file should not be edited, was this an automatic or manual addition by going to Next 16?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, it was automatically added.

@aaccensi aaccensi merged commit 8aea639 into master Mar 24, 2026
4 checks passed
@aaccensi aaccensi deleted the sentry-sourcemaps-urlprefix branch March 24, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants