Skip to content

Commit b3b6e0d

Browse files
[wip] inject debugId, not debug_id
Upgrade to the relevant version of Rust Sourcemap and fix all the tests that fail after the change, so they assert the new behavior.
1 parent 2a930a0 commit b3b6e0d

File tree

35 files changed

+40
-38
lines changed

35 files changed

+40
-38
lines changed

Cargo.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ secrecy = "0.8.0"
7979
lru = "0.16.0"
8080
backon = { version = "1.5.2", features = ["std", "std-blocking-sleep"] }
8181

82+
[patch.crates-io]
83+
sourcemap = { git = "https://github.com/getsentry/rust-sourcemap.git", branch = "szokeasaurusrex/debug-id" }
84+
8285
[dev-dependencies]
8386
assert_cmd = "2.0.11"
8487
insta = { version = "1.26.0", features = ["redactions", "yaml"] }

tests/integration/_cases/sourcemaps/sourcemaps-upload-file-hermes-bundle-reference-debug-id.trycmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $ sentry-cli sourcemaps upload --bundle tests/integration/_fixtures/file-hermes-
99
> Adding source map references
1010
> Bundling completed in [..]
1111
> Bundled 2 files for upload
12-
> Bundle ID: 0b10dfbf-7d11-52a5-9107-d16f625896ad
12+
> Bundle ID: b87a18c0-0d49-5771-bb15-cb1654bc9129
1313
> Optimizing completed in [..]
1414
> Uploading completed in [..]
1515
> Uploaded files to Sentry

tests/integration/_expected_outputs/sourcemaps/sourcemaps-inject-bundlers/esbuild/cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/_expected_outputs/sourcemaps/sourcemaps-inject-bundlers/esbuild/iife.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/_expected_outputs/sourcemaps/sourcemaps-inject-bundlers/rollup/cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/_expected_outputs/sourcemaps/sourcemaps-inject-bundlers/rollup/iife.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/_expected_outputs/sourcemaps/sourcemaps-inject-bundlers/rspack/iife.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/_expected_outputs/sourcemaps/sourcemaps-inject-bundlers/vite/cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/_expected_outputs/sourcemaps/sourcemaps-inject-bundlers/vite/iife.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)