fix(desktop): suppress crash prompt when a system reboot killed the session (#2751)#701
Merged
Conversation
…ession (#2751) The boot-time dirty-shutdown scan now records the kernel boot-session identity (kern.bootsessionuuid on macOS) plus liveness and power markers in the sentinel. When the next launch sees a different kernel session, an OS-shutdown marker, or a never-resumed suspend marker, the previous session was ended by the machine, not the app: the report invitation is suppressed and a log breadcrumb is written instead. A fresh minidump overrides suppression (kernel panics never write app minidumps), and missing identity on either side fails open to the previous prompting behavior. PRD-7474 GitOrigin-RevId: 40baa17f17ce7c3eb3c796a0a58c2433776ddb1e
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.
Copybara-translated 1 Inkeep OSS change. Rebase-merge this PR so the prepared commit lands directly on public main.