fix(linux): identify Herdr desktop notifications - #3639
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughLinux desktop notifications now pass Suggested reviewers: Merge Risk: ⚪ Minimal · up to Linux desktop notifications will identify themselves as Herdr while preserving safe handling and ordering of notification titles and bodies. The implementation and its focused regression coverage support merging without an outstanding current-head risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
|
✅ Action performedReview finished.
|
Greptile SummaryThis PR identifies Linux desktop notifications as originating from Herdr.
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness, security, or quality issues identified. The
|
| Filename | Overview |
|---|---|
| src/platform/linux.rs | Adds the Herdr application name to Linux system notifications and updates the focused argument-ordering test. |
Reviews (1): Last reviewed commit: "fix(linux): identify Herdr desktop notif..." | Re-trigger Greptile
Merge upstream/master 120c682..90e947a into the fork; clean merge, no conflicts. Notable upstream fixes absorbed: - bound mouse selection repaint cadence (herdrdev#3901) - accept machine add options before the ssh target (herdrdev#3897) - accept WezTerm control key reports (herdrdev#3592) - preserve focused viewer geometry during activation (herdrdev#3746) - use host background for pane selection highlights (herdrdev#3894) - preserve legacy mouse reports over ssh on windows (herdrdev#3742) - identify herdr desktop notifications on linux (herdrdev#3639) - accept session names after option terminator (herdrdev#3222) - keep spaces sidebar stable during resize (herdrdev#3862) - stop token selection at CJK punctuation (herdrdev#3708) - support Windows session paths for pi (herdrdev#3729) Update the FORK-CHANGELOG log with the new fork point and sync notes.
Issue
Linux system notifications appear under the generic
Notify Sendapplication name. Users cannot identify Herdr as the sender when notification text is generic.Problem
Herdr passed only the notification title and body to
notify-send. The notification daemon therefore used the helper's default application name.How did we fix it?
Herdr now passes
--app-name Herdrfor Linux system notifications. The existing--separator still protects titles that begin with an option character. Other delivery modes and platforms are unchanged.Verification
The command-capture regression failed before the change because the application-name arguments were absent. The same test now passes and preserves title/body ordering and option separation. All PR checks pass on Linux, macOS, and Windows. A local broad run reached 3,056 passing tests before two environment-specific failures in a root-permission test and a live-handoff server-start test.
refs #3638