Commit Graph

2 Commits

Author SHA1 Message Date
shumeiko.it
a92136cd69 fix(scripts): do not fail the desktop smoke test on temp cleanup
A writer of the stopped app can still be finishing in the data directory
when the smoke test removes its temp root, so rmdir failed with
ENOTEMPTY after the test had passed. The temp root is disposable: a
failed cleanup now logs a warning.
2026-11-02 17:13:17 +01:00
shumeiko.it
a73abd4d54 feat(scripts): add release smoke tests for the installer and the desktop app (P1.3d)
scripts/release-smoke.mjs runs on every release target:

- installer: installs the server archive with packages/launcher into a
  temporary directory, requires a clean doctor report (only the PATH
  warning is allowed), starts run on a free port with a temporary data
  directory, waits for /health, stops it and uninstalls;
- desktop: starts the packaged app (an executable or a macOS .app) with
  a temporary data directory, waits until its sidecar answers /health on
  127.0.0.1:3333, then stops the app and the sidecar and checks that the
  port is released.

The process tree is stopped through the process group on macOS and
Linux and with taskkill /T on Windows. The tests run both modes against
stand-in payloads.
2026-11-01 02:08:15 +01:00