Yury Zialionka
2cb8ff4e46
test(storage): make the storage root injectable and fail closed on disk databases
...
Closes #12997 . Part of #12986 .
- Storage.layerFromDir(dir) roots the service at an explicit directory;
the default layer still resolves Global.Path.data/storage lazily, so
production composition (app-runtime) is unchanged.
- storage.test.ts injects a tmp root directly instead of remapping six
FSUtil methods under Global.Path.data - the remap hack and its
keep-in-sync burden are gone.
- Both test preloads now assert the resolved database path is
":memory:" after all preload imports. Previously a dropped env write
or import-order regression silently pointed unit tests at the real
~/.local/share/kilo database (locking errors, Windows EBUSY teardown
crashes); now the run fails immediately with a clear message.
2026-08-13 13:49:08 -06:00
..
2026-08-05 16:01:49 +02:00
2026-07-29 02:06:01 +02:00
2026-08-05 16:01:49 +02:00
2026-07-29 02:06:01 +02:00
2026-07-13 18:00:35 +02:00
2026-07-29 02:06:01 +02:00
2026-08-13 18:16:52 +02:00
2026-07-13 19:15:48 +02:00
2026-08-05 16:01:49 +02:00
2026-07-29 02:06:01 +02:00
2026-08-04 18:36:43 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 14:24:24 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 22:01:05 +02:00
2026-07-29 02:06:01 +02:00
2026-08-06 14:09:04 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 14:24:24 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-22 13:31:23 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 22:01:05 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 14:24:24 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-06-18 13:41:13 +02:00
2026-08-05 21:08:55 +02:00
2026-07-29 02:06:01 +02:00
2026-04-27 03:54:59 +00:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-13 18:00:35 +02:00
2026-08-05 11:59:08 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-08-13 13:49:08 -06:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 14:24:24 +02:00
2026-08-06 00:00:45 +02:00
2026-08-05 11:59:08 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-08-06 00:31:20 +02:00
2026-08-10 12:44:58 +02:00
2026-08-06 00:00:45 +02:00
2026-07-30 16:32:39 +02:00
2026-08-05 11:59:08 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 14:24:24 +02:00
2026-07-30 14:24:24 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-08-05 16:01:49 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-22 13:31:23 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-08-05 16:01:49 +02:00
2026-08-05 11:59:08 +02:00
2026-08-05 16:01:49 +02:00
2026-07-29 02:06:01 +02:00
2026-08-05 11:59:08 +02:00
2026-07-30 14:24:24 +02:00
2026-08-05 16:01:49 +02:00
2026-08-05 11:59:08 +02:00
2026-08-05 11:59:08 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-08-05 11:59:08 +02:00