getsentry / getsentry/sentry

[Stack Trace Linking] Conditionally Show A Warning For Go Traces When Linking Fails

Closed
#44,525 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
1d 5h
Merged PRs (30d)
624

Description

### Problem Statement

Go traces can have stack trace links if the event has source context. This includes deploying the binary with source bundles or soon possibly [uploading source bundles](https://github.com/getsentry/sentry-go/issues/177)

Customers will set up stack trace linking since it's a support language but there is no way for them to know about the source bundle step unless they explicitly look for it.

### Solution Brainstorm

Conditionally show an error when code-mappings exist for go project but the events don't have source context.

Point them to the docs about source bundles: https://docs.sentry.io/platforms/go/troubleshooting/#missing-stack-trace

In the future this could point them also to the feature that would allow for uploading source bundles.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.