Skip to content

ci: publish debug symbols with crash artifacts - #260

Merged
arzafran merged 1 commit into
mainfrom
ci/symbols-on-crash
Aug 5, 2026
Merged

ci: publish debug symbols with crash artifacts#260
arzafran merged 1 commit into
mainfrom
ci/symbols-on-crash

Conversation

@arzafran

@arzafran arzafran commented Aug 5, 2026

Copy link
Copy Markdown
Member

What this does

When a unit-test run crashes, CI uploads the sentry minidumps but not the binary that produced them — and that binary is a CI-only Debug build that exists nowhere else. Two separate investigations of the same crash-loop today had to fall back to comparing raw image-relative offsets across dumps: that proves 'these crashes share one call site' but never names the function, which is how a fix landed against a statically-inferred culprit that turned out not to be the crasher.

This uploads the built products (Debug builds carry DWARF inside the binaries) and any dSYMs next to the dumps, plus a UUID index so a dump's debug_id maps to a file without unpacking every bundle. Failure-path only, so green runs pay nothing.

Test plan

  • CI green
  • Next crashing run on the reland branch produces a symbols/ directory; lldb resolves frames to function names

The unit-tests job already uploads sentry minidumps on failure, but not the
binary that produced them — a CI-only Debug build that exists nowhere else.
Two investigations of the same crash-loop had to fall back to comparing
raw image-relative offsets across dumps because no symbols were available,
which identifies a call site but never names it. Upload the built products
(Debug carries DWARF inside the binaries) and any dSYMs alongside, plus a
UUID index for matching a dump's debug_id to a file.
@arzafran
arzafran merged commit 8896dcf into main Aug 5, 2026
7 checks passed
@arzafran
arzafran deleted the ci/symbols-on-crash branch August 5, 2026 16:36
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.

1 participant