-
-
Notifications
You must be signed in to change notification settings - Fork 229
feat(sourcemaps): Support injecting indexed sourcemaps #2470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Cargo.toml
Outdated
[patch.crates-io] | ||
sourcemap = { git = "https://github.com/getsentry/rust-sourcemap.git", rev = "e8dff4fbb74f346d0f13a2f547cedf4b5fb4e83f" } |
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.
Allows us to use stuff from getsentry/rust-sourcemap#119 and getsentry/rust-sourcemap#118. We will need to release these PRs upstream before this PR can be merged
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 injection procedure itself looks good. See comments about the matching logic though.
75bc7c4
to
e88d1b1
Compare
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.
@loewenheim I have addressed your comments. Plan to also add some integration tests – in the meantime, please let me know if you have other feedback
853981c
to
4ef911c
Compare
4ef911c
to
aa9493a
Compare
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.
@loewenheim, I have added an integration test. Do you think any more changes need to be made to this PR? If not, I'll merge getsentry/rust-sourcemap#119 and getsentry/rust-sourcemap#118, release those, update this PR to depend on the new version, and mark it as ready for review
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.
Looks good, apart from a leftover comment.
f8c46b3
to
40af3a9
Compare
40af3a9
to
83d21a9
Compare
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.
Postponing merge until #2482 is addressed – I want to make sure that the injection behavior for non-indexed sourcemaps is unchanged
83d21a9
to
bd121fc
Compare
bd121fc
to
01fc527
Compare
Closes #2463
Closes #2466