-
-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Read debug IDs from
debugId
field in sourcemaps (#2222)
This is accomplished by updating `symbolic` and `rust-sourcemap`. See getsentry/symbolic#874 and getsentry/rust-sourcemap#97. Closes #2220.
- Loading branch information
1 parent
03523ba
commit 262f625
Showing
6 changed files
with
97 additions
and
16 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
23 changes: 23 additions & 0 deletions
23
tests/integration/_cases/sourcemaps/sourcemaps-upload-debugid-alias.trycmd
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
``` | ||
$ sentry-cli sourcemaps upload tests/integration/_fixtures/upload_debugid_alias | ||
? success | ||
> Found 2 files | ||
> Analyzing 2 sources | ||
> Rewriting sources | ||
> Adding source map references | ||
> Bundled 2 files for upload | ||
> Bundle ID: [..]-[..]-[..]-[..]-[..] | ||
> Uploaded files to Sentry | ||
> File upload complete (processing pending on server) | ||
> Organization: wat-org | ||
> Project: wat-project | ||
> Release: None | ||
> Dist: None | ||
> Upload type: artifact bundle | ||
|
||
Source Map Upload Report | ||
Scripts | ||
~/server/chunks/1.js (sourcemap at 1.js.map, debug id 2297b93d-928d-421e-8910-127c786382da) | ||
Source Maps | ||
~/server/chunks/1.js.map (debug id 2297b93d-928d-421e-8910-127c786382da) | ||
|
2 changes: 2 additions & 0 deletions
2
tests/integration/_fixtures/upload_debugid_alias/server/chunks/1.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
tests/integration/_fixtures/upload_debugid_alias/server/chunks/1.js.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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