Commit Graph
4 Commits
Author SHA1 Message Date
Darko Gjorgjijoski f308ed9181 fix(tests): tolerate a missing .env in the environment-writing pilot tests
CI checkouts have no .env, so the backup-and-restore pattern in the
installation and set-domain tests fatally failed on the first read. The
tests now seed .env from .env.example when absent, the way an installer
would, and remove it again afterwards. Developer machines are unaffected.
2026-08-22 14:58:34 +02:00
Darko Gjorgjijoski 0de0126d94 fix(updater): never sweep the live sqlite database as a stale file
The cleanup step deletes any file the shipped manifest does not list outside
the protected prefixes. A SQLite database kept under database/ (a path the
installer accepts) is user state that can never appear in a manifest, so an
update destroyed it. The keep-list now always includes the resolved database
file of every in-installation SQLite connection, plus its -wal/-shm/-journal
side files. Found by the 3.0.0-alpha.2 -> alpha.3 upgrade rehearsal.
2026-08-22 13:21:40 +02:00
Darko Gjorgjijoski 5194552338 test: isolate the DB-refusal pilot test from single-process runs
It swaps the live connection; the isolated group is excluded by default and
run standalone in verification passes.
2026-08-20 17:19:26 +02:00
Darko Gjorgjijoski 605d700f75 test: add the behavioral spec suites (pilot + ten domains)
98 tests pinning observable behavior ahead of the authorship rewrite.
2026-08-20 17:19:26 +02:00