7dfa031d

By: Michael Lynch <git@mtlynch.io>

Return error from rate limiter Allow instead of bool

Change Limiter.Allow() to return nil when allowed or ErrLimitExceeded
when blocked, replacing the previous bool return. This lets callers
propagate the error directly instead of translating a bool into an
error at each call site.

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

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 3s 3s 3s
Eval 3s 22s 20s 23s
Build 6s 3m19s 17s 23s
Test - - - -
Deploy - - - -
Suite 0s 3m45s 23s 23s