Repository navigation
Skip the Herdr server at login when Herdr isn't installed - #18888
stevederico wants to merge 1 commit into
Conversation
[Medium impact] The PR appears safe to merge. SummaryStarts the Herdr server at login only when
Reviews (1) · Last reviewed commit: "Skip the Herdr server at login when Herd..." · Reviewed by Greptile |
|
Reviewed the startup guard, the installed/missing-Herdr test cases, the launch helpers and #18767 against #12004. Both PRs use the same guard and preserve The queue gives the older fix priority. This PR’s two autostart tests add coverage missing from #12004, so I queued them for folding into that branch with credit to Steve Derico. This PR remains open, waiting on the maintainer’s decision about the overlap and whether to land the login guard separately from the preinstall changes. Nothing is needed from the author. Codex High reviewed the source. Opus 5.5 High and muse-wonder via pi, thinking high, also compared both diffs, found no code defects and agreed with that disposition; their independence from this review is not guaranteed. No worker tests ran: the queue stops verification of the competing fix that does not take priority. No reproduction or runtime verification is claimed. |
Fold the startup cases from omacom#18888 into the older fix. They exercise the real autostart callback and command lookup so dropping the guard fails when Herdr is missing, while an installed Herdr still starts its server. Keep the coauthor trailers together so Git recognizes the contributor credit. Co-Authored-By: Steve Derico <steve@bixbyapps.com> Co-Authored-By: Codex High <noreply@openai.com> Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>
fixes #18767
Since #16572,
default/hypr/autostart.luastartssetsid herdr serveron every session start with no check that Herdr is there. Herdr is optional, so anyone who removes it gets an "App failure: Command not found: herdr" notification at every login, and can't turn it off from their own autostart.This guards the launch with
o.cmd_present("herdr"), the same way the Lazydocker binding is guarded. Installed Herdr still starts with the session.Added two cases to
hyprland-default-config-test.sh: installed Herdr starts its server, missing Herdr skips it. The second fails on quattro and passes with this change.#12004 carries the same guard, but bundled with whether Remove Preinstalls should uninstall Herdr. This is just the login error.