Cockatrice/cockatrice/src/interface/widgets
Lukas Brübach 2a21c87e7c
[CrashReporting] Attach crash log and user note to the pending crash event
The redacted log used to ride a separate message event from the native
crash (minidump + stack), forcing manual correlation in Sentry. Fold it
into the pending crash envelope(s) instead by appending well-formed
attachment items before consent releases them: sentry-native replays
cached envelopes byte-for-byte (raw read, raw serialize in 0.17.3), so
the appended crash-log.txt and user-note.txt items upload with the very
event that already carries the dump and stack.

Covers both storage locations: Ask mode's consent-held files in
<database>/cache and AlwaysSend's transport-dumped files in
<database>/<run>.run, which must be attached before sentry_init replays
them. When no pending crash event exists (unclean exit without a native
crash) the standalone message event remains as fallback, now also
carrying the optional note.

The dialog gains an optional free-text field ('Here's what I was
doing...') that travels as user-note.txt; the mock JSON records it too.
2026-10-18 23:44:33 +02:00
..
cards [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
deck_analytics [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
deck_editor [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
deck_share [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dialogs [CrashReporting] Attach crash log and user note to the pending crash event 2026-10-18 23:44:33 +02:00
general [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
menus [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
onboarding [Client] Improve card database update visibility (#7458) 2026-10-09 11:07:48 +02:00
playmat [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
printing_selector [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
quick_settings [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
replay [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
server [Security] Add challenge-response auth with scrypt verifiers and stop storing plaintext passwords (#7193) 2026-10-16 22:52:26 +02:00
settings_page [CrashReporting] Document reporting modes on the enum per review 2026-10-18 23:04:17 +02:00
tabs [TabRoom] Fix compile failure due to unused lambda capture (#7577) 2026-10-18 11:10:26 +02:00
utility [Completer] Highlight popup rows without rewriting the line edit (#7502) 2026-10-16 19:01:38 +02:00
visual_database_display [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
visual_deck_editor [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
visual_deck_storage [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00