Skip to content
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

fix: Properly support NuGet symbols with SymbolChecksum #993

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

Swatinem
Copy link
Member

Adds the SymbolChecksum header to HTTP sources if the ObjectId has a debug_checksum field. Also properly passes through that debug_checksum field from the incoming modules definition.

This is still lacking proper tests, for which we would need an event that uses some .NET library that has symbols available on nuget. I suggest we do a proper integration test fetching things from upstream, as the upstream server at least checks for the presence of the header (even though it does not yet check the actual checksum, lol).

Apart from this, we should also make sure that the debug_checksum field is correctly passed through from sentry itself, and maybe also add the NuGet server as a builtin source in sentry, because why not…

@codecov
Copy link

codecov bot commented Jan 27, 2023

Codecov Report

Merging #993 (e1c8235) into master (ff40e2c) will decrease coverage by 0.25%.
The diff coverage is 59.61%.

❗ Current head e1c8235 differs from pull request most recent head 966be89. Consider uploading reports for the commit 966be89 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #993      +/-   ##
==========================================
- Coverage   74.26%   74.02%   -0.25%     
==========================================
  Files          75       75              
  Lines       11504    11481      -23     
==========================================
- Hits         8544     8499      -45     
- Misses       2960     2982      +22     

@Swatinem Swatinem marked this pull request as ready for review January 30, 2023 13:02
@Swatinem Swatinem requested a review from a team January 30, 2023 13:02
@Swatinem Swatinem force-pushed the fix/nuget-src branch 2 times, most recently from e978cf0 to 45d44d2 Compare January 30, 2023 14:03
Adds the `SymbolChecksum` header to HTTP sources if the `ObjectId` has
a `debug_checksum` field. Also properly passes through that
`debug_checksum` field from the incoming modules definition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants