Repository navigation
Conversation
Contributor
size-limit report 📦Compared: 0db46b5 (PR test merge using develop at 84df128) Against: 84df128 (develop) · base run #67645 ✅ Baseline matches: this diff contains only this PR's changes.
|
Contributor
Optional E2E testsAll optional checks were successful. 5 successful. See the run. Successful checks
|
timfish
force-pushed
the
feat/solidstart-delete-sourcemaps-after-upload
branch
2 times, most recently
from
November 13, 2026 11:34
d4cd675 to
814a202
Compare
Base automatically changed from
feat/bundler-plugins-delete-without-upload
to
develop
November 13, 2026 13:49
timfish
force-pushed
the
feat/solidstart-delete-sourcemaps-after-upload
branch
from
November 13, 2026 13:53
814a202 to
96468c2
Compare
timfish
marked this pull request as ready for review
November 13, 2026 17:36
javascript-sdk-gitflow
Bot
requested review from
chargome,
nicohrubec and
s1gr1d
November 13, 2026 17:37
timfish
marked this pull request as draft
November 16, 2026 16:47
…ad of a glob The SDK enables hidden source maps when the app sets none and now passes `deleteSourcemapsAfterUpload: true` and `sdkEnabledSourceMaps` to the bundler plugin for those builds, on SolidStart 1 and 2. This replaces the default `.*/**/*.map` and `./**/*.map` globs. Maps now also go away when no upload runs, and when a user's `assets` or `ignore` leaves chunks out. The SDK only answers for the top-level `build.sourcemap`. Nitro gives its `nitro` and `ssr` environments their own setting, and `@sentry/nitro` uploads and deletes those maps after the build, so they stay with it. The enable plugin moves before the Sentry plugin, because the bundler plugin decides in its own `config` hook. Maps the user enabled keep today's behaviour. With `disable: 'disable-upload'`, SolidStart 1 still removes the maps the SDK turned on, and SolidStart 2 keeps them. A user's own `deleteSourcemapsAfterUpload` passes through to every environment, and a user's own `filesToDeleteAfterUpload` runs as well.
timfish
force-pushed
the
feat/solidstart-delete-sourcemaps-after-upload
branch
from
November 17, 2026 22:14
96468c2 to
d03f6ca
Compare
…etry An unset option sent the text "undefined" as its tag value. The telemetry snapshots of the integration tests now hold the three new tags.
…te-sourcemaps-after-upload
timfish
changed the base branch from
develop
to
feat/nitro-sourcemap-options
November 18, 2026 13:18
sourcemaps.upload, injectDebugIds and delete
…te-sourcemaps-after-upload
…l variants The app is optional, so the test matrix only accepts its variants in `optionalVariants`.
… HEAD # Conflicts: # packages/core/src/index.ts # packages/nitro/src/sourceMaps.ts # packages/nitro/test/sourceMapUpload.test.ts
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stacked on #26584, which applies the new options to the server maps of SolidStart 2.
The SDK no longer deletes the maps it turned on with globs. It passes
deleteSourcemapsAfterUploadandsdkEnabledSourceMapsto the bundler plugin, which removes the maps the SDK turned on, also when no upload runs.The SDK also passes
sourcemaps.upload,injectDebugIdsanddeleteto the plugin. Withbuild.sourcemapunset, Sentry turns on hidden maps only when it uploads them or whendelete: falsekeeps them.Fixes:
.output/public. The glob./**/*.mapskipped dot folders..*/**/*.map)../**/*.mapfrom the working directory, which could also delete maps innode_modules.Other behaviour changes:
build.sourcemapunset: maps that an output turns on with its ownrollupOptions.output.sourcemaporrolldownOptions.output.sourcemapare now removed.Still open, until the old options are removed in v12:
disable: trueleaves out the whole Sentry plugin, so release injection, release creation andbundleSizeOptimizationsstop too.upload: falseandinjectDebugIds: falsekeep the plugin.disable: 'disable-upload'deletes the maps the SDK turned on, so nothing is left for a manual upload.upload: falsewithdelete: falsekeeps them.E2E:
solidstartandsolidstart-2get "no upload", "manual upload" and "delete all" variants. Thesolidstart-2client map assertion is now strict.