Repository navigation
Conversation
|
Reviewed at 79a6494, nothing to fix. Reproduced on a disposable Omarchy worker (systemd 261, Chromium 152): sending SIGSEGV to Chromium's real systemd records the cmdline in POSIX-quoted form, so for Chromium the whole cmdline arrives as one Suite: Second opinion: Codex Medium reviewed the same head and found no blocking defects. It agreed on the reproduction and the size of the change; that agreement is not guaranteed to be independent. It added one limitation of its own: the substring match would also hide a crash of an unrelated program whose arguments contain the literal text One unrelated detail: the diff changes This links #11440, so the issue closes when this merges. It now waits on the maintainer. |
Utility children (--type=utility) dump core as a matter of course while the parent Electron/Chromium app stays up. The journaled COMM/EXE is the parent, so name-based ignore/mute cannot tell them from a real crash. Skip those cmdline entries; a crash of the app itself still announces. Fixes omacom#11440.
79a6494 to
1d7ea7d
Compare
[Medium impact] The PR appears safe to merge. SummaryThe PR skips crash notifications for Electron/Chromium utility children while keeping notifications for parent app crashes.
Reviews (2) · Last reviewed commit: "Keep crash-capture-test.sh executable" · Reviewed by Greptile |
The fix dropped the file's executable bit, an unrelated change; quattro has it at 755. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Re-reviewed at 0fd4519 after the rebase onto Reproduced again on a disposable Omarchy worker (Chromium 156, systemd 262), this time with each version of the watcher running live in the desktop session and showing real toasts. I sent SIGSEGV to Chromium's With the new check deleted from this branch, the toast comes back. A SIGSEGV of the main browser process still toasts on this branch. Tests: Competing fixes: #16823 and #17067, both opened later, change the same check to also skip renderer, GPU and other Chromium child types. This pull request is the oldest, so it takes precedence. Neither newer one is clearly better: in the real journal form above, both miss a child whose Second opinion: Codex Medium and muse-wonder (pi, thinking high) reviewed this head and found nothing blocking. They agreed on the reproduction and the size of the change, and that agreement is not guaranteed to be independent. They raised two loose ends that cost at most a missed toast: there is no boundary after This closes #11440. It waits on the maintainer, who also decides whether the wider child-type list from #16823 and #17067 belongs here. |


Problem
omarchy-crash-watchannounces every coredump for the user UID. Electron/Chromium apps (Antigravity IDE, Chrome, …) spawn--type=utilitychildren that dump core as a matter of course while the parent stays up. The journaledCOREDUMP_COMM/COREDUMP_EXEis the parent, so name-based ignore/mute cannot tell a utility child from a real app crash. Result: noisy critical toasts for crashes the user does not need to care about.Fixes #11440.
Change
Skip journal entries whose
COREDUMP_CMDLINEcontains--type=utility. A crash of the Electron/Chromium process itself (no utility flag) still announces.Tests
test/shell.d/crash-capture-test.sh: utility cmdline stays silent; parent crash still toasts; skipping a utility entry does not stop the watcher.