2783b060

By: Michael Lynch <git@mtlynch.io>

Use generic rate limit error in login handler

Change Limiter.Allow() to return nil or ErrLimitExceeded instead of
bool so callers propagate the error directly. Update the shared-secret
authenticator and login handler to use ratelimit.ErrLimitExceeded,
removing the handler's import of the auth implementation package.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 3s 3s 4s
Eval 3s 1m05s 1m05s 1m08s
Build 7s 5m32s 1m01s 1m08s
Test - - - -
Deploy - - - -
Suite 0s 6m41s 1m08s 1m08s

Timeline

0s10s20s30s40s50s1m