fix: add notify-send fallback for Linux system notifications#200
Merged
DeadWaveWave merged 2 commits intoDeadWaveWave:mainfrom Apr 30, 2026
Merged
Conversation
421231c to
4edb758
Compare
When Electron's Notification.isSupported() returns false on Linux (e.g., missing notification daemon), fall back to using the system notify-send utility to ensure agent completion notifications are delivered. Fixes: DeadWaveWave#198
4edb758 to
5e785ca
Compare
Contributor
Author
|
Updated this PR with two small changes:
I also pushed a small e2e test stabilization for command-center because both the previous macOS run and the first rerun failed on the same unrelated initial viewport assertion. The latest CI has Ubuntu and Windows green, and command-center now passes on macOS. The remaining macOS failure is a different workspace canvas e2e flake ( |
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.
💡 Change Scope
📝 What Does This PR Do?
Adds a
notify-sendfallback for Linux when Electron'sNotification.isSupported()returnsfalse. This can happen when no notification daemon (likenotify-osdordunst) is running or properly configured in a Linux desktop session.The PR preserves the existing behavior on macOS/Windows and adds the Linux fallback with minimal changes:
execFilefromchild_process/usr/bin/notify-sendwhenNotification.isSupported()is false on Linux{ shown: false }on other unsupported platformsCross-platform behavior
NotificationAPI (unchanged)NotificationAPI (unchanged)notify-sendutilityThis is a follow-up to #198 which added system notifications for agent completion but Electron's notification check can fail on some Linux configurations.
✅ Delivery & Compliance Checklist
pnpm pre-commitis completely green.CLA.md).DEVELOPMENT.mdarchitectural boundaries.