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

The suite timed out when this host was heavily loaded. vitest now runs at most four workers instead of one per CPU core. `test/cli/bin.test.ts` loads the sources `bin/quak.ts` imports and starts libsodium once, before its tests, so no test pays for the first load. The fake accounts in `test/ente-server.ts` and `test/thumbnails/thumbnails.test.ts` stretch their passwords at libsodium's lowest Argon2id cost, since every login stretches them again.

Judgement call: the login, usage, unwrap and KDF tests keep the realistic 64 MiB cost.

Model: opus-5-5
This commit was merged in pull request #234.
This commit is contained in:
clawbot committed 2026-11-10 22:55:29 +01:00
1 parent aeb275e137
commit 1f409cbbf2
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,