Skip to content

Recommend SCM source context for Go serverless deployments#17684

Open
giortzisg wants to merge 1 commit intomasterfrom
giortzisg/docs/recommend-scm-source-context
Open

Recommend SCM source context for Go serverless deployments#17684
giortzisg wants to merge 1 commit intomasterfrom
giortzisg/docs/recommend-scm-source-context

Conversation

@giortzisg
Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

This updates the Go serverless and troubleshooting docs to recommend SCM Source Context as the preferred way to get source lines in stack traces when a supported SCM integration is available.

It also expands the SCM Source Context page to explain why this is often a better default than bundling repository source into deployed binaries, especially for Go serverless deployments.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

LEGAL BOILERPLATE

EXTRA RESOURCES

@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 8, 2026 9:44am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview May 8, 2026 9:44am

Request Review


For Go, source context is provided through [SCM Source Context](/integrations/source-code-mgmt/source-context/) with code mappings.

The Go SDK no longer reads local source files at runtime to populate source context. If you want source lines in stack traces, set up SCM Source Context instead of bundling source files with your deployed binary.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove this paragraph, something for the SDK changelog instead.

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.

3 participants