ref(ci): Split and upload debug info to Sentry#573
Open
jan-auer wants to merge 2 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #573 +/- ##
==========================================
- Coverage 87.67% 87.53% -0.15%
==========================================
Files 93 93
Lines 15113 14969 -144
==========================================
- Hits 13251 13103 -148
- Misses 1862 1866 +4
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jan-auer
marked this pull request as ready for review
July 22, 2026 10:59
jan-auer
force-pushed
the
ref/split-debug-info
branch
from
July 22, 2026 12:55
07848d8 to
51c55de
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The release binary included debug info (
debug = true) for local symbolication of stack traces, but this produces large binaries and Docker images.The CI build now splits debug info out of the binary using
llvm-objcopy, strips the binary, and bundles sources withsentry-cli. Both the debug zip and source bundle are uploaded to GCS alongside the existing release-name, and the Docker image ships the smaller stripped binary.At deploy time, the GoCD
create-sentry-releasescript downloads the debug info and source bundle for both platforms and runssentry-cli upload-difbefore creating the Sentry release, so production stack traces can be symbolicated.The local cross-build script also disables debug info by default to reduce upload size for sandbox builds.
CARGO_PROFILE_RELEASE_DEBUG=truere-enables it.Fixes FS-444