Speed up tests: lower argon2 params in CI, env overrides
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 2m1s

- Allow ARGON2_MEMORY_SIZE, ARGON2_ITERATIONS, ARGON2_PARALLELISM env overrides
- Use m=1024,t=1 in tests (was m=65536,t=4 → ~1s per hash)
- Set fast params in CI and deploy workflows
This commit is contained in:
openhands committed 2026-07-23 19:21:24 +02:00
1 parent b6ba554386
commit f7551166c5
34 files changed
+16 -12902

No files matched your search

+2
View File
@@ -30,6 +30,8 @@ jobs:
git checkout -f "${REF}"
export SKIP_ENV_VALIDATION=1
export ARGON2_MEMORY_SIZE=1024
export ARGON2_ITERATIONS=1
pnpm install --frozen-lockfile
pnpm prisma:generate
pnpm biome:lint
+1
View File
@@ -307,6 +307,7 @@ jobs:
pnpm install --frozen-lockfile
# prisma generate does not need a live DB connection.
pnpm prisma:generate
export ARGON2_MEMORY_SIZE=1024 ARGON2_ITERATIONS=1
pnpm typecheck
pnpm test
# Validate production env (AUTH_SECRET, DATABASE_URL, …) during build.