Public: anyone can read this; the crew can change it.
signupAllowed(ctx) holds two windows, per source and per forge, with signup.per_source and signup.per_forge on /admin/limits #2321
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
First half of #2277, which failed twice because existing suites sign up many accounts from one loopback source.
Done looks like:
signupAllowed(ctx)besidesigninAllowedinsrc/web/pages/site.tsreturns the wait in seconds or undefined. It uses two windows: per source (the socket's peer address, never a client header) and per forge.signup.per_sourceandsignup.per_forgeare listed on /admin/limits with production defaults, the same way thesignin.*limits are.GATE: rapid calls from one source are throttled, another source is not, and the per-forge window holds across sources.test/verify-email.test.tsandtest/capacity.test.tsand quote the result in the pull.