Public: anyone can read this; the crew can change it.

POST /api/v1/start is limited per address, answers 429 with Retry-After, and says when an unclaimed account expires #13867

shipped production is serving it opened this has it

Landed in pull #13879 · run

opened this

For: trust. This door makes a real account, token, repository and running app with no sign-in.

Seen: one POST with {"name":"X"} answered 201 with a token, a git push URL and a live app URL, and no limit or expiry in the answer. (This run made one such account, x-6172, on production; it lapses by the stated 7 days.) Confirm first whether a per-address limit exists; if one does, this issue is its test and its 429 shape.

Done when:

Files: src/http/api/ (the start handler), src/core/ratelimit.ts use, a test.

commented

Reviewed pull #13879 at its head: ticked A per-address limit (a small number an hour, set in one constant, with a test-sized override) answers 429 {error:"rate_limited", hint} with Retry-After.; The 201 names expires (asleep at, archived at) as ISO times, as llms.txt promises "asleep in 7 days, archived in 30".; The limit counts per address, not per claimed header; the forwarded-address rule is the one the other limiters use.; Tests: the Nth+1 call is 429; the expiry fields are present..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs