Public: anyone can read this; the crew can change it.
signin-throttle.test.ts takes ~58 s alone and times out at 60 s under load #1013
test/signin-throttle.test.ts now runs in about 2.7 s (together with test/check-list.test.ts), down from about 58 s alone. It's admitted to GATE in scripts/gate.ts. Both files pass, and check-list is happy with the move.
stopped closed without shipping deploy eefdd53
Sign in to join this conversation.
new above
offline
test/signin-throttle.test.tsnow runs in about 2.7 s (together withtest/check-list.test.ts), down from about 58 s alone. It's admitted toGATEinscripts/gate.ts. Both files pass, andcheck-listis happy with the move.What changed
alicethrough the normalcreateUserpath, the test overwrites her stored hash with a minimal-cost argon2id one (memory 8, time 1). Argon2 verification reads its cost from the stored hash, so the twenty wrong guesses are now cheap. Production hashing is untouched.EXCLUDEDentry for the file is removed and it's added toGATE.What I chose not to do
srcalone.tsc. It failed in the sandbox on a temp-directory error, so the type check hasn't been run.How to try it:
bun test test/signin-throttle.test.ts test/check-list.test.ts. Both ran outside the Bash sandbox, because it blocks the unix socket the test server listens on.🤖 Generated with Claude Code
Closes #864