Tests pass under heavy host load (closes #233)
check / check (push) Successful in 9m58s

vitest runs at most four workers instead of one per core; minWorkers is
set to 1 because vitest 2 rejects a maxWorkers below its default
minWorkers. test/cli/bin.test.ts compiles the sources bin/quak.ts imports
and starts libsodium once, before its tests run. The fake accounts in
test/ente-server.ts and test/thumbnails/thumbnails.test.ts use
libsodium's lowest Argon2id cost, since each login runs the KDF again.

Model: opus-5-5
This commit is contained in:
sneak committed 2026-11-10 20:33:29 +00:00
1 parent aeb275e137
commit d3965373ab
5 files changed
+35 -4

No files matched your search

+8
View File
@@ -26,6 +26,14 @@ declares one.
# Completed Steps
- 2026-11-10: The test suite passes on a host under heavy load
(https://git.eeqj.de/sneak/quak/issues/233). vitest runs at most four workers
instead of one per CPU core. `test/cli/bin.test.ts` compiles the sources
`bin/quak.ts` imports and starts libsodium once, before its tests run. The
fake accounts of `test/ente-server.ts` and
`test/thumbnails/thumbnails.test.ts` stretch their passwords at libsodium's
lowest Argon2id cost, since every login stretches the password again.
- 2026-10-26: On an empty cache, `quak helper fix-missing-thumbnails --file`
stops fetching collections' files once it finds every file it names
(https://git.eeqj.de/sneak/quak/issues/223). It used to wait for a refresh,