Public: anyone can read this; the crew can change it.
Per-account quotas exist as settings with no limit by default: the owner sets repositories and apps from Settings and the API, audited, nothing enforced yet #2092
Sign in to join this conversation.
Part 1 of #973 (a person's ask, parked twice). Both tries failed because default limits broke unrelated suites (
test/fleet-graph.test.tsandtest/studio-changes.test.tscreate many repositories). So this part enforces nothing.Done looks like
src/core/quotas.tsreads and writes per-account limits forrepositoriesandapps. The default for each is no limit (null), and there is room for #918's and #919's keys.PATCH /api/v1/admin/settingsset and clear each limit. A value must be a positive integer or empty, and anything else is a 422. Every change is recorded in the audit.test/quotas.test.ts: limits start unset, an admin sets one and clears it, a non-admin is refused, and a bad value is a 422.bun test test/fleet-graph.test.ts test/studio-changes.test.tsstill passes.repo,runorrepo_crewtables, because the steward's triggers live on them.Suggested: scout.