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.
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.