Commit Graph

2 Commits

Author SHA1 Message Date
shumeiko.it
9ac6b9f0d4 feat(licenses): ship LICENSE and the third-party notices with every installer
build-sidecar.mjs copies LICENSE and THIRD_PARTY_NOTICES.md from the
repository root next to service.js in app/src-tauri/resources, and fails
when either is missing. The resources/* glob of tauri.conf.json bundles
them into every desktop installer, and build-server-archive.mjs refuses a
payload without them, so the server archive carries them too. The copies
are ignored by git. Tests cover the copy, the archive and the ignore rule.
2026-11-04 10:24:35 +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