hermes-agent/apps/bootstrap-installer
kshitijk4poor 39fee4f3bc test(installer): cover the post-update relaunch/install target derivation
The macOS self-update relaunches and installs over the app it derives via
resolve_hermes_desktop_app (.../Hermes.app/Contents/MacOS/Hermes ->
.../Hermes.app). That derivation is load-bearing for both the ditto
install target and the auto-relaunch (open <app>), but had no test.

Add unit coverage:
- resolve_hermes_desktop_app_finds_built_bundle: a fake built release tree
  resolves to the .app bundle on macOS (and the exe elsewhere).
- resolve_hermes_desktop_app_is_none_without_a_build: no build => None.

Verified the positive test FAILS if the .app parent-walk is wrong (e.g.
one too few .parent() hops), so it's a real guard against a regression
that would break the post-update relaunch target.

cargo test -> 17 passed.
2026-06-03 12:02:07 -07:00
..
src Merge pull request #38312 from NousResearch/bb/installer-stderr-log-label 2026-06-03 12:17:35 -05:00
src-tauri test(installer): cover the post-update relaunch/install target derivation 2026-06-03 12:02:07 -07:00
.gitignore Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
index.html feat(installer): rename macOS installer to "Hermes" and make it a launcher (#37516) 2026-06-02 17:47:34 +00:00
package.json Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
tsconfig.json Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
tsconfig.node.json Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
vite.config.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00