You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The packaged app launched from a Herdr pane inherits a stale HERDR_BIN_PATH and never attaches #214
Opening the installed app from a shell inside a Herdr pane (open /Applications/hide.app) passed that pane's environment to the desktop host, including the HERDR_BIN_PATH Herdr sets in every pane.
The pane was created by an older bundle whose Herdr lived at Contents/Resources/herdr-runtime/herdr, a path the current bundle no longer has.
Because the host passes an inherited HERDR_BIN_PATH through unchanged (desktop/src/main/host.tsbundledHerdr, D-07), the bundled CLI refused it on every attempt and the window never attached:
{"event":"discovery.start","attempt":1,"trigger":"launch","herdr":"inherited"}
{"event":"discovery.failed","attempt":1,"reason":"start_failed","detail":"HERDR_BIN_PATH: /Applications/hide.app/Contents/Resources/herdr-runtime/herdr is not an executable file; the Herdr that set it has moved, so unset it or n..."}
The window stayed up with nothing attached and the failure reached only desktop.log.
Relaunching with env -u HERDR_BIN_PATH ... open /Applications/hide.app attached at once with "herdr":"bundled".
What you expected
A packaged app launched from a terminal behaves like one launched from the Dock.
Either the packaged host ignores HERDR_BIN_PATH values that Herdr itself put in a pane environment (for example when HERDR_PANE_ID is also set) and uses its bundled Herdr, or it reports the refusal on screen with the one action that fixes it.
Agents in this repository routinely relaunch the app from a pane after an install, so this path is common here.
Steps to reproduce
Keep a pane that was created while an older bundle layout was installed.
Install a current package over /Applications/hide.app.
Activity
test: fix the Windows desktop start and daemon lifetime flakes at the…