Skip to content

revert: Mark mach and signal crashes as synthetic - #8975

Merged
bitsandfoxes merged 1 commit into
mainfrom
revert/synthetic-crash-mechanism
Sep 8, 2026
Merged

bitsandfoxes merged 1 commit into
mainfrom
revert/synthetic-crash-mechanism

Conversation

@bitsandfoxes

Copy link
Copy Markdown
Contributor

This reverts commit b45b76b (#8919).

Reason: the server-side prerequisite has not landed. See getsentry/sentry#123322
Sentry couples metadata.type to the synthetic flag, so until this gets decoupled them, an Apple crash without uploaded debug files is titled instead of SIGSEGV: Signal 11, Code 1. The flag has to follow that change, not precede it.

#skip-changelog

This reverts commit b45b76b (#8919).

Reason: the server-side prerequisite has not landed. Sentry couples
metadata.type to the synthetic flag, so until getsentry/sentry#123322
decouples them, an Apple crash without uploaded debug files is titled
<unknown> instead of SIGSEGV: Signal 11, Code 1. The flag has to
follow that change, not precede it.

Reverts the whole commit, including the mechanism.handled fix that
rode along in the same PR.

Claude-Session: https://claude.ai/code/session_01Myh92Par6JkotmkmYe3adz
@bitsandfoxes bitsandfoxes added the run-full-ci Allows gated GitHub Action workflows to run for a labelled pull request label Sep 8, 2026
@sentry

sentry Bot commented Sep 8, 2026

Copy link
Copy Markdown

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
SDK-Size io.sentry.sample.SDK-Size 9.27.0 (1) Release

⚙️ sentry-cocoa Build Distribution Settings

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1221.96 ms 1258.12 ms 36.17 ms
Size 24.14 KiB 1.32 MiB 1.30 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e3070ad 1240.00 ms 1274.43 ms 34.43 ms
ffb6adc 1218.60 ms 1247.47 ms 28.87 ms
786f763 1217.17 ms 1238.37 ms 21.20 ms
521cbf9 1224.32 ms 1250.58 ms 26.26 ms
0303c4f 1229.73 ms 1264.79 ms 35.06 ms
62680a0 1226.71 ms 1262.00 ms 35.29 ms
8ec97f1 1201.92 ms 1249.20 ms 47.28 ms
62b3fa6 1228.39 ms 1262.88 ms 34.48 ms
53773e2 1226.96 ms 1261.50 ms 34.54 ms
f0c60b7 1213.90 ms 1252.33 ms 38.44 ms

App size

Revision Plain With Sentry Diff
e3070ad 24.14 KiB 1.16 MiB 1.14 MiB
ffb6adc 24.14 KiB 1.15 MiB 1.12 MiB
786f763 24.14 KiB 1.15 MiB 1.13 MiB
521cbf9 24.14 KiB 1.29 MiB 1.27 MiB
0303c4f 24.14 KiB 1.24 MiB 1.21 MiB
62680a0 24.14 KiB 1.20 MiB 1.18 MiB
8ec97f1 24.14 KiB 1.31 MiB 1.28 MiB
62b3fa6 24.14 KiB 1.32 MiB 1.29 MiB
53773e2 24.14 KiB 1.23 MiB 1.21 MiB
f0c60b7 24.14 KiB 1.22 MiB 1.20 MiB

@bitsandfoxes
bitsandfoxes merged commit 3da4b9c into main Sep 8, 2026
312 of 331 checks passed
@bitsandfoxes
bitsandfoxes deleted the revert/synthetic-crash-mechanism branch September 8, 2026 08:16
philprime pushed a commit that referenced this pull request Sep 11, 2026
Reland of #8919, reverted in #8975 because the server-side fix
that keeps the exception type as a title fallback had not landed.

The fabricated mach and signal exceptions carry a platform label
as their type, not the identity of what went wrong, so it must not
split an Apple crash from the same crash on other platforms.

Also sets mechanism.handled outside the mach-context branch, which
previously left it unset on a report without mach context.

Claude-Session: https://claude.ai/code/session_01E57gchi6ER5aruqwjCKe9F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved run-full-ci Allows gated GitHub Action workflows to run for a labelled pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants