GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(bundler-plugins): Enable external source maps and delete them after upload in the esbuild plugin by timfish · Pull Request #25648 · getsentry/sentry-javascript

Conversation

@timfish

@timfish timfish commented Oct 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Part of the stack for #25609. esbuild writes its output before onEnd runs and has no hook to drop an output, so the plugin sets sourcemap: 'external' when the setting is unset and deletes the maps after a successful upload: every map in the metafile when the plugin turned them on, and exactly the maps the upload read from disk when the user enabled them, which uploadSourcemaps now reports. When the upload fails all maps stay, with an error log. With write: false the setting is left alone, because nothing reaches the disk.

The metafile lists outputs relative to absWorkingDir, while the upload globbed them from the process working directory, so builds with an absWorkingDir elsewhere uploaded nothing. The paths are now resolved against absWorkingDir first, and passed with forward slashes because glob reads backslashes as escapes. Integration fixtures cover ignore and assets on the staged path for esbuild.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@timfish
timfish added this pull request to stack #25649 October 22, 2026 10:47
@github-actions

github-actions Bot commented Oct 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: acecb9d (PR test merge using develop at 39b10d8)

Against: 39b10d8 (develop) · base run #65532

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 29.92 kB - -
@sentry/browser - with treeshaking flags 28.08 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.97 kB - -
@sentry/browser (incl. Tracing) 52.29 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.3 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.27 kB - -
@sentry/browser (incl. Tracing, Replay) 92.7 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 81.37 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 97.43 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 110.42 kB - -
@sentry/browser (incl. Feedback) 47.52 kB - -
@sentry/browser (incl. sendFeedback) 35.02 kB - -
@sentry/browser (incl. FeedbackAsync) 40.13 kB - -
@sentry/browser (incl. Metrics) 31.48 kB - -
@sentry/browser (incl. Logs) 31.77 kB - -
@sentry/browser (incl. Metrics & Logs) 32.45 kB - -
@sentry/react 31.78 kB - -
@sentry/react (incl. Tracing) 54.76 kB - -
@sentry/vue 38.33 kB - -
@sentry/vue (incl. Tracing) 55.33 kB - -
@sentry/svelte 29.95 kB - -
@sentry/remix (Remix 3 client bundle) 57.92 kB - -
CDN Bundle 31.72 kB - -
CDN Bundle (incl. Tracing) 52.89 kB - -
CDN Bundle (incl. Logs, Metrics) 34.52 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 55.39 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 76 kB - -
CDN Bundle (incl. Tracing, Replay) 91.17 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 93.72 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 97.3 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 99.89 kB - -
CDN Bundle - uncompressed 92.76 kB - -
CDN Bundle (incl. Tracing) - uncompressed 156.02 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 101.29 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 163.79 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 233.18 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 278.04 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 285.8 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 291.74 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 299.5 kB - -
@sentry/nextjs (client) 57.73 kB - -
@sentry/sveltekit (client) 52.82 kB - -
@sentry/core/server 44.29 kB - -
@sentry/core/browser 14.02 kB - -
@sentry/node 157.41 kB +0.02% +19 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 82.28 kB - -
@sentry/node - without tracing 97.17 kB +0.03% +23 B 🔺
@sentry/node - without channel injection 137.7 kB +0.02% +19 B 🔺
@sentry/aws-serverless 105.86 kB +0.02% +17 B 🔺
@sentry/cloudflare (withSentry) - minified 203.47 kB - -
@sentry/cloudflare (withSentry) 505.64 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 225.19 kB - -

View base workflow run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from 0d05fc7 to 73fee34 Compare October 22, 2026 10:57
@github-actions

github-actions Bot commented Oct 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Optional E2E tests

Some optional checks were not successful. They do not block the merge. 6 not successful, 40 successful. See the run.

Check Status
❌ CI: Optional E2E Tests / E2E node-eve (latest) Test (optional) Failing after 1m Details
❌ CI: Optional E2E Tests / E2E node-eve Test (optional) Failing after 2m Details
❌ CI: Optional E2E Tests / E2E node-flue (latest) Test (optional) Failing after 30s Details
❌ CI: Optional E2E Tests / E2E node-eve (orchestrion) Test (optional) Failing after 2m Details
❌ CI: Optional E2E Tests / E2E solidstart-2 Test (optional) Failing after 54s Details
❌ CI: Optional E2E Tests / E2E nextjs-16-cacheComponents (cloudflare) Test (optional) Failing after 10m Details
Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E gen-ai-libraries (cloudflare) Test (optional) Successful in 40s Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (tunnel-dev) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E astro-7 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (deno) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (latest) Test (optional) Successful in 47s Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v2 Test (optional) Successful in 38s Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries Test (optional) Successful in 50s Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext, bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-fastify-6 Test (optional) Successful in 35s Details
✅ CI: Optional E2E Tests / E2E astro-7-static Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (turbo) Test (optional) Successful in 3m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E debug-id-sourcemaps Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-14 (latest) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nextjs-16-tunnel (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions Test (optional) Successful in 31s Details
✅ CI: Optional E2E Tests / E2E node-mastra Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-fastify-6 (tracer provider) Test (optional) Successful in 36s Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-orpc Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-flue Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry-static Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-pi-durable Test (optional) Successful in 38s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (static / nuxt generate) Test (optional) Successful in 37s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps kept) Test (optional) Successful in 37s Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions (latest) Test (optional) Successful in 36s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-cloudflare Test (optional) Successful in 31s Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (cloudflare, latest) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (latest) Test (optional) Successful in 3m Details
✅ CI: Optional E2E Tests / E2E supabase-nextjs Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-pi-durable (latest) Test (optional) Successful in 43s Details
✅ CI: Optional E2E Tests / E2E node-mastra (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps Test (optional) Successful in 33s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-cloudflare Test (optional) Successful in 40s Details
✅ CI: Optional E2E Tests / E2E react-router-7-framework-instrumentation Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v1 Test (optional) Successful in 33s Details
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from 73fee34 to 4040760 Compare October 22, 2026 11:13
@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch 2 times, most recently from 3885821 to 62b848d Compare October 27, 2026 16:25
@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from 62b848d to f5d5367 Compare October 27, 2026 16:32
@timfish
timfish marked this pull request as ready for review October 27, 2026 18:02
cursor[bot]
cursor Bot reviewed Oct 27, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from f5d5367 to ba5d8ca Compare October 28, 2026 12:15
@timfish
timfish requested review from a team as code owners October 28, 2026 12:15
@timfish
timfish requested review from isaacs, logaretm, msonnb, mydea and nicohrubec and removed request for a team October 28, 2026 12:15
@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from ba5d8ca to 6f13518 Compare October 28, 2026 12:33
@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from 5c128dc to 8d8e755 Compare October 29, 2026 21:36
@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from 8d8e755 to 2b9c8fe Compare October 29, 2026 21:59
@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch 3 times, most recently from d661b73 to 2854a5a Compare October 30, 2026 12:46
@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from 2854a5a to d8075e3 Compare October 30, 2026 15:05
@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from d8075e3 to 35e806c Compare October 30, 2026 15:22
@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from 35e806c to 84a11f9 Compare October 30, 2026 15:57
cursor[bot]
cursor Bot reviewed Oct 30, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@timfish
timfish force-pushed the feat/bundler-plugins-delete-sourcemaps-esbuild branch from 84a11f9 to 6f443bc Compare October 30, 2026 16:17
stacked auto-merge was automatically disabled November 3, 2026 10:28

Pull Request is not mergeable

isaacs
isaacs approved these changes Nov 4, 2026
View reviewed changes

@isaacs isaacs left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

esbuild offers no way to drop an output before it is written, so turning on external maps and deleting them after a successful upload is the only practical approach. Keeping maps when the upload fails is the safe default for maps the user asked for. The absWorkingDir path fix is a real improvement on its own.

The weak point is that the delete step guesses what was uploaded instead of being told. It also follows "delete only what was uploaded" even for maps the plugin created itself . In esbuild, where only entry points carry debug IDs, that guess leaves maps behind for shared chunks, lazy chunks and CSS, and leaves all maps behind on rebuilds (made visible by an older bug).

Have the upload report what it sent, delete all plugin-created maps on the unset path, and clear the wrapped-path set per build. With those changes, the esbuild plugin matches what the changelog says.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Outdated
if (hasDebugId(code)) {
uploaded.push(`${artifact}.map`);
}
}

@isaacs isaacs Nov 4, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Suggestion: when the decision came from kind === 'unset', the user never asked for any maps. After a successful upload, delete every .map in the metafile outputs, not just the uploaded ones. For maps the user enabled (deleteSourcemapsAfterUpload: true), keep the current rule of deleting only uploaded maps. Shared and lazy chunks without debug IDs are a separate, older gap. Could track it as follow-up work, since those chunks can't be symbolicated either way.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Outdated
// afterwards instead of being dropped from the output like in other bundlers.
if (sourceMapDecision.deleteAfterUpload && initialOptions.write !== false) {
const { shouldUpload } = sentryBuildPluginManager.sourceMaps;
const sourceMaps = await getUploadedSourceMaps(buildArtifacts, shouldUpload);

@isaacs isaacs Nov 4, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

The delete list is calculated separately from what actually gets sent.

getUploadedSourceMaps rebuilds the upload's choices: isJsFile, a sibling .map in the metafile, shouldUpload, and hasDebugId. The upload makes its own choices with globFiles(assets ?? artifacts, { ignore }) and then prepareBundleForDebugIdUpload, which can skip a chunk (no map found by the resolveSourceMap hook, read error, and so on). upload() only returns one uploaded flag for the whole run. Wherever the two disagree, the plugin deletes a map that was never uploaded, and that copy is gone.

Suggestion: have upload() return the chunk paths it actually prepared and uploaded (it already has debugIdChunkFilePaths and the per-chunk results). Delete exactly the maps of those chunks. This removes getUploadedSourceMaps, hasDebugId and the extra file reads, and makes the deletion safe by construction.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts
if (uploaded) {
await Promise.all(sourceMaps.map(sourceMap => fs.promises.rm(sourceMap, { force: true })));
} else if (sourceMaps.length > 0) {
logger.error('The source maps were not uploaded, so they stay in the build output.');

@isaacs isaacs Nov 4, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

On rebuilds (context().rebuild(), watch mode) the default path leaves maps. Reproduced with esbuild.context() and two rebuild() calls:

  • First rebuild: entry maps uploaded and deleted, as intended.
  • Second rebuild: e1.js has no debug ID. The upload warns "No source maps found for any of the 4 matched build artifacts", and e1.js.map and e2.js.map stay in the output. The "source maps were not uploaded" error does not fire, because getUploadedSourceMaps finds no debug IDs and returns an empty list.

The debug ID loss is older than this PR. debugIdWrappedPaths is cleared in setup() (line 220), which runs once per context, not per build, so on a rebuild the onResolve hook skips every entry point as "already wrapped". I got the same "No source maps found" warning with an explicit sourcemap: 'external', so the upload regression is not new. What this PR adds is that the plugin now turns maps on for these builds and then leaves them on disk with no error.

Suggestion: clear debugIdWrappedPaths in an onStart hook instead of setup(). That fixes rebuild uploads and this PR's cleanup together. It is a one-line fix that could also go in its own fix(bundler-plugins) PR. A context().rebuild() test would catch this.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Outdated
});
}

const sourceMapDecision = sentryBuildPluginManager.sourceMaps.decide(

@isaacs isaacs Nov 4, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

With write: false, the plugin turns on maps it can never upload, and logs a false message.

The upload reads the metafile paths from disk. With write: false nothing is on disk, so nothing can be uploaded. The plugin still sets sourcemap: 'external', so callers that handle outputFiles themselves now get .map entries they never asked for. decide() also logs "Enabling hidden source maps. They are uploaded to Sentry and removed from the build output." at setup time, which is false here. This is the same problem #25645 fixed for Rollup's generate().

Suggestion: when initialOptions.write === false, skip the decision (or call decide(kind, { log: false }) and don't set sourcemap).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Outdated
if (options.sourcemaps?.disable !== 'disable-upload') {
await upload(buildArtifacts);
// The upload globs the paths, and glob reads backslashes as escapes.
const { uploaded } = await upload(buildArtifacts.map(artifact => artifact.split(path.sep).join('/')));

@isaacs isaacs Nov 4, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I'm not sure why Bugbot resolved this, I think they're still globs? Shouldn't they get escaped with eg glob.escape() to ensure there's no * or ? chars to mess things up? Eg, what'd happen with a path like widget[id].js or something?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cursor[bot]
cursor Bot reviewed Nov 4, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/bundler-plugins/src/esbuild/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Nov 4, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 4, 2026
esbuild plugin stops injecting debug IDs after the first rebuild of a context #26098
Closed
fix(bundler-plugins): Inject debug IDs into every esbuild rebuild #26099
Merged
cursor[bot]
cursor Bot reviewed Nov 6, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/bundler-plugins/src/core/debug-id-upload.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Nov 6, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Nov 10, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d85d983. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/bundler-plugins/src/esbuild/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@timfish
feat(bundler-plugins): Enable external source maps and delete them af…
dd49aca
…ter upload in the esbuild plugin

esbuild writes its output before `onEnd` runs and has no hook to drop
an output, so the maps are deleted from disk after a successful upload
instead. When the upload fails they stay, with an error log.
This was referenced Nov 10, 2026
publish: getsentry/[email protected] getsentry/publish#10343
Closed
publish: getsentry/[email protected] getsentry/publish#10451
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments
@isaacs isaacs isaacs approved these changes
@msonnb msonnb Awaiting requested review from msonnb msonnb was automatically assigned from getsentry/team-javascript-sdks-browser
@mydea mydea Awaiting requested review from mydea mydea was automatically assigned from getsentry/team-javascript-sdks-server
@nicohrubec nicohrubec Awaiting requested review from nicohrubec nicohrubec was automatically assigned from getsentry/team-javascript-sdks-framework

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@timfish @isaacs
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.