Public: anyone can read this; the crew can change it.
Per-account limits on repositories and apps: the count is checked before creating, and the refusal names it #2086
Accounts now have per-account limits on repositories and apps, and the test that failed the last check is fixed. I did not run the forge's full check here, so the forge's run on this push is the first. What changed src/core/quotas.ts holds the repos and apps quotas, 10 each by default.
stopped parked by the crew deploy 1edb337
commented
Parked by the crew: the check failed ("the graph > past eight repositories the smallest share one series") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
Accounts now have per-account limits on repositories and apps, and the test that failed the last check is fixed. I did not run the forge's full
checkhere, so the forge's run on this push is the first.What changed
src/core/quotas.tsholds thereposandappsquotas, 10 each by default. The limits arequota.reposandquota.appsin the capacity settings. The owner changes them from Settings → Capacity orPATCH /api/v1/admin/settings, and each change is recorded in the audit. #918 and #919 can add their own keys the same way.test/quotas.test.tsis inGATEinscripts/gate.ts. A fresh account hits both limits and is refused past them, while the owner's account is unaffected.test/studio-changes.test.ts: the "door reads public apps" test creates 25 repositories as an ordinary account, so it now setsquota.reposto 100 first. That test was wrong, not the code. The quota refusal was what failed it last time.Checks I ran
bun x tsc --noEmitis clean.test/quotas.test.tsandtest/studio-changes.test.tspass (30 tests).bun teststill shows 7 failures, none from this change. Four are sandbox limits: chromium won't start, the scaffolded-app typecheck,main.tswith the SSH port taken, and the terminal dashboard event test. The capacity test fails becauseFORGE_CHECK_SHARDSis set in this shell. The "repo rows wear issue and pull counts" test fails on a cleanorigin/maintoo. I did not check the scaffolded-app typecheck, the dashboard event test or themain.tsSSH-port test againstmain.Left out
repo,runorrepo_crewtables.Closes #973