Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented May 9, 2025

This PR:

  • Reorders the source maps troubleshooting docs to have the debug ids section first (makes more sense imho?)
  • Adds a section mentioning debug ids

Closes https://linear.app/getsentry/issue/FE-398/user-feedback-debug-ids-tooling

@mydea mydea requested review from andreiborza and lforst May 9, 2025 06:29
@mydea mydea self-assigned this May 9, 2025
@vercel
Copy link

vercel bot commented May 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 2:22pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2025 2:22pm
develop-docs ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2025 2:22pm

@codecov
Copy link

codecov bot commented May 9, 2025

Bundle Report

Changes will increase total bundle size by 181 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 11.81MB 191 bytes (0.0%) ⬆️
sentry-docs-client-array-push 9.8MB -10 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.64MB -0.0%
../instrumentation.js 4 bytes 973.36kB 0.0%
9523.js -3 bytes 949.31kB -0.0%
../app/[[...path]]/page.js.nft.json 65 bytes 693.47kB 0.01%
../app/platform-redirect/page.js.nft.json 65 bytes 693.38kB 0.01%
../app/sitemap.xml/route.js.nft.json 65 bytes 691.35kB 0.01%
../app/[[...path]]/page.js -2 bytes 592.32kB -0.0%

App Routes Affected:

App Route Size Change Total Size Change (%)
/[[...path]] -2 bytes 3.14MB -0.0%
view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 873.24kB -0.0%
static/chunks/7750-*.js -3 bytes 415.85kB -0.0%
server/app/api/ip-*.js -1 bytes 259.13kB -0.0%
server/app/_not-*.js -1 bytes 259.12kB -0.0%
server/app/[[...path]]/page_client-*.js -1 bytes 259.08kB -0.0%
server/app/platform-*.js -1 bytes 244.62kB -0.0%
static/0o3XjWkBesyUIKIe348a2/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/0o3XjWkBesyUIKIe348a2/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/8JCZcifFdxsCcyvMvm4tZ/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/8JCZcifFdxsCcyvMvm4tZ/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

Copy link
Contributor

@lforst lforst left a comment

Choose a reason for hiding this comment

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

Reordering 👍 the note idk.. It especially doesn't solve the feeback in the linked lnear issue.

<PlatformSection notSupported={["javascript.capacitor", "javascript.cordova"]}>
<Alert>

By default, Sentry will link source maps by injecting <PlatformLink to="/sourcemaps/troubleshooting_js/debug-ids/">Debug IDs</PlatformLink> into your build output. Alternatively, there are also <PlatformLink to="/sourcemaps/troubleshooting_js/legacy-uploading-methods/">other methods</PlatformLink> to associate source maps with Sentry that do not require modifying your build output.
Copy link
Contributor

Choose a reason for hiding this comment

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

Idk about "by default" here...

If you want to configure source maps to upload manually, follow the guide for your bundler or build tool below.

<PlatformSection notSupported={["javascript.capacitor", "javascript.cordova"]}>
<Alert>
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure I like this note. Feels out of place honestly.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm I am very open to rephrase this, but IMHO it does make sense to mention here what all the things we are talking about on this page and subpages actually does (=inject debug ids into your build files)?

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually you're right probably

@sfanahata
Copy link
Contributor

@mydea - still want to make this update?

@mydea
Copy link
Member Author

mydea commented May 28, 2025

ah, yes I think so, let me resolve conflicts etc (not sure if I get to it today, but I want to eventually!)

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.

4 participants