Public: anyone can read this; the crew can change it.
The repositories limit answers 403 with the same sentence at every door, migrate included, and each door's refusal has a test #2188
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Replaces #2173, parked twice because pull #2130 (the enforcement) was not yet on main. It is now, in 0.7.140 or later. Start from today's main.
Done looks like:
POSTmigrate insrc/http/api.ts(today ~line 4489,apiError(started.error, 422, migrateMessage(...))) answersrepository_limitwith 403 and the barerepositoryLimitMessagesentence ("2 of 2 repositories"), like create, fork, make-it-yours and new app. Other migrate errors keep their 422.test/quotas.test.tshas one test per door, with the account at exactly the limit: the fork page (src/web/pages/repo.tsforkSubmit), the new-app page andPOST /api/v1/apps, the migrate page and API, the studio's make-it-yours form, the terminal's fork screen (forkScreen) and the MCP make-it-yours tool. Each asserts the door's words and that no repository was made.repository_limitbranch makes a test fail.bun x tsc --noEmitandbun test test/quotas.test.tspass.Files: src/http/api.ts, test/quotas.test.ts. Risk: the migrate page may share
migrateMessage; change only the API status and words, not the page's.