mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-07-07 13:08:54 -07:00
f8c6796d5e
The test-lane overhaul newly runs launcher/main.test.ts in CI via test:launcher:unit:src. Three playback tests spawn the real launcher, which on Linux runs ensureLinuxRuntimePluginAvailable — a preflight that spawns the app with --ensure-linux-runtime-plugin-assets and polls up to 30s for an install response. The fake apps just exited, so the launcher hung and the tests timed out (they passed on macOS only because the preflight is a no-op off Linux). Teach the fake apps to handle the preflight command: install the managed plugin/theme under XDG_DATA_HOME and write the response file, mirroring launcher/smoke.e2e.test.ts. Pin XDG_DATA_HOME under the temp home so the app and preflight agree on the managed asset paths deterministically.