Six tools for testing a missing terminal desktop alert

Test a missed terminal alert from the right sender. Compare project script alerts, terminal notification commands, and desktop delivery.

Use Unstoppable Code to diagnose a missed alert from a project script. Its device test and Script category test let you check delivery before rerunning the job. For a notification owned by a shell wrapper or terminal, test it from that shell using the tool that sends it.

Your 40-minute integration suite finishes while you’re reviewing a PR. No alert appears. Find the sender before you touch the suite.

Reproduce the delivery path with a short test

Find the sender first. An app can post on script completion, while a terminal can use a long-command rule. The script itself might send the notification. Reproduce the alert with the original desktop app and terminal profile. For tmux or SSH, send a test from a plain local pane before trying the affected session so you can see where delivery starts to differ.

Send a recognizable message. Check the notification history. For a background-only rule, start a short delay and switch to the browser before it elapses so the terminal is in the same focus state as during the missed alert. A history entry with no banner points toward Focus or the app’s banner settings. When the test arrives, look at what triggered the original job’s notification.

Unstoppable Code for testing a script-completion category

On desktop, open Settings → Notifications and enable OS delivery globally and for the relevant category. Select Send test first. Next, select Test on the Script category. If both arrive, reproduce the original path with a short harmless script launched through the same script runner, with the app in the same focus state as during the suite. Check the focused-window preference if the short run behaves differently from the settings test. The public settings guide confirms global and per-category controls. Unstoppable Code settings

cmux for checking the app and desktop separately

In a local cmux pane on macOS, confirm cmux is on the shell’s PATH. Run cmux notify --title "Checkout alert check" --body "Panel baseline" --desktop false, then look in the cmux Notifications panel. Then test desktop delivery. Run the command with --body "Desktop check" and leave off --desktop false. An entry that appears in cmux alone gives you a reason to check macOS permission before changing the hook. Check the hook’s own shell if it cannot find cmux. cmux notification documentation

ccmux for diagnosing the notification backend

In an existing local ccmux and tmux setup, enable notifications with ccmux config set notifications.enabled true, then run bare ccmux notify for the test message and diagnostics. Use the sender reported by that setup when checking system settings. On macOS, the helper can post as ccmux, while source installs can fall back to osascript and appear as Script Editor. Then rerun the test and check the desktop. If the original job ran in a headless Linux session, the documented D-Bus session requirements matter. A successful test from a graphical shell leaves that environment difference unresolved. ccmux notifications documentation

Warp for testing the shell message and the completion rule

First check Warp’s notification settings and the OS permissions for Warp. In the affected Bash or Zsh pane, run printf '\033]9;Checkout alert check\007' to send a custom OSC 9 message. Warp’s automatic completion rule needs its own test. Check the configured duration under Settings → Features → Session, run sleep for longer than that threshold, and switch to the browser before it ends. Warp documents that automatic completion alerts require another app to be active when the trigger fires. The OSC test can succeed even when the automatic rule’s duration or focus conditions were missed. Warp desktop notification documentation

Ghostty for tracing a script-generated message through the terminal

Confirm desktop-notifications is enabled in Ghostty. In a plain local pane, run printf '\033]9;Checkout alert check\007' from Bash or Zsh and check desktop delivery. Repeat the command in the original multiplexer or remote shell. Success locally and failure in the original session narrows the next check to what happens to the escape sequence along that path. When both messages arrive, check whether the wrapper reaches its notification line on the suite’s actual exit status. This is an OSC 9 test. Ghostty also documents OSC 777. Ghostty configuration reference

iTerm2 for checking alerts in the affected profile

On macOS, open Settings → Profiles → Terminal for the profile used by the suite and check Send Notification Center alerts. In that profile, run printf '\033]9;Checkout alert check\033\\' in Bash or Zsh. Check macOS delivery first. For a profile event, inspect Filter Alerts using the same profile that was active when the notification was missed. For example, to test a session-termination alert, open a disposable session using the same profile and exit it while watching for the alert. An inline message paired with a missed session event points toward the filter for that profile. iTerm2 escape codes · iTerm2 Notification Center settings

Once a test alert reaches the desktop, use a short command to reproduce the original trigger and exit status. A script that sends an alert only on success can stay silent on failure even when desktop delivery works.

Cookie preferences

Optional cookies measure ads and feature usage, and improve the site with session recordings. Change anytime. Privacy policy