Files
hermes-agent/apps/desktop/scripts
ghgoodreau bab5d7fcb0 fix(desktop): the perf harness attaches on a Linux Wayland session
On Wayland, electron/entry.ts relaunches the app with
--ozone-platform=wayland unless argv already names a platform. The parent the
harness spawned holds the --remote-debugging-port, so the relaunched child's
DevTools bind fails ("Address already in use") and the harness polls a browser
with zero pages until its 120 s driver wait times out. Every --spawn run on a
Wayland desktop failed this way.

Pass --ozone-platform=wayland ourselves on a Linux Wayland session so the app
never relaunches. Verified on Hyprland: before, `/json/list` on the harness
port was `[]` and startIsolatedInstance timed out; after, it lists the
http://127.0.0.1:<devPort>/ page and connects (RESULT CONNECTED).
2026-11-20 14:42:54 -06:00
..