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

Allow authentication for external VCS source_link endpoint #1545

Open
bruno-garcia opened this issue Oct 31, 2024 · 0 comments
Open

Allow authentication for external VCS source_link endpoint #1545

bruno-garcia opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request Platform: .NET

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Oct 31, 2024

Sentry is able to pull source context into the stack trace when processing events.

Context:
.NET has the concept of source_link where the compilation process tags the build output (exe/dll) with the VCS information: URL and SHA.
Symbolicator leverages this data to fetch the source code of stack traces and populate the source context. This works great for .NET itself, since it's open source and on GitHub: For example:

Image

Links to: https://github.com/dotnet/aspnetcore/blob/c2a442982e736e17ae6bcadbfd8ccba278ee1be6/src/Servers/Kestrel/Core/src/Internal/Http/Http1ChunkedEncodingMessageBody.cs#L109

This issue tries to expand this functionality to private repositories, by allowing the user to set the authentication to those requests.
One way to do this is to piggyback on our integrations with VCS. Customers on Azure DevOps for example who already have an integration with Sentry, already have 'auth' set up.

Relates to:

@bruno-garcia bruno-garcia added enhancement New feature or request Platform: .NET labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Platform: .NET
Projects
None yet
Development

No branches or pull requests

1 participant