Skip to content
Source
Sign inSign up

Set the limits of the site

Site administration

Set the limits of the site

Your Cloudflare plan changed, the site grew, or CI and AI cost too much, and a limit of Source no longer fits. Change each limit on the Limits page of the admin panel, with no deploy.

8 min read

A change applies within about a minute.

You need to be a site admin. Add and remove site admins says who is a site admin.

Tip

To give one repository or one account its own limits, see Give one repository its own size limit and Give one account higher limits. To charge accounts with plans, see Turn on billing.

1. Open Limits

Open Admin in your account menu. In the side menu, under Settings, click Limits. Or visit Limits.

2. Change a limit

The page has four cards of limits: Uploads, Repositories, Retention, and CI and AI. The limits explains each one. The Billing card under them turns billing on: see Turn on billing.

Caution

  • Keep Git push request limit, Largest LFS file and Largest asset file at or below the request limit of your Cloudflare plan. Above it, Cloudflare refuses the larger uploads, and people get no message from Source. See Match the upload limits to your Cloudflare plan.
  • Before you set a shorter retention, make sure that nobody needs the older records. Source deletes them, and they do not come back.
  1. Type the new value in the field of the limit.
  2. Click Save next to the field.

Source refuses a value out of the range of the limit, and the page shows the range under the field. To go back to the default value, click Use default next to the field. The button shows only when the value is not the default.

Done

Under the field, the page shows the value now and the default, for example "Now 200 MB. The default is 100 MB." Source uses the new value within about a minute, and no deploy was needed.

The limits

The page counts sizes in 1024s: 1 GB is 1,024 MB.

Uploads

LimitDefaultRangeWhat it does
Git push request limit100 MB1 MB to 5,120 MBSource refuses a larger git push request. src repo push sends a larger push in parts that are 1 MB smaller than this limit.
Largest LFS file100 MB1 MB to 5,120 MBSource refuses a larger Git LFS file.
Largest asset file100 MB1 MB to 5,120 MBSource refuses a larger asset file. This includes the images and videos that people attach to issues and comments.
Largest push in objects1,000,0001,000 to 10,000,000Source refuses a git push with more objects.

Repositories

LimitDefaultRangeWhat it does
Repository size limit20 GB100 MB to 1,024 GBAt its limit, a repository refuses pushes, imports and GitHub syncs that add data.

LFS files and assets do not count toward the size of a repository.

The size limit counts the git data of the repository on the git servers, which keep the git of every repository. The git servers measure it at each push, and each time that branches or tags move there.

From 80 percent of the limit, people with write access see a notice on the repository. When a repository nears its size limit shows each notice, and what still works.

Retention

LimitDefaultRangeWhat it does
Audit retention12 months1 to 120 monthsHow long Source keeps the audit of agent sessions and the audit of secrets, which src agent audit and src secret audit show. Each day, Source deletes the older entries of the audit of secrets, and the older months of the audit of agent sessions.
CI job log retention90 days1 to 3,650 daysHow long Source keeps the logs and step details of a CI job after the job ends. The results and findings of the job stay.
CI run retention365 days1 to 3,650 daysHow long Source keeps a CI run after it ends. Then Source deletes the run, with its jobs and artifacts.

CI and AI

LimitDeploy variableDefaultRangeWhat it does
CI containers per accountCI_LIMIT_ACCOUNT201 to 1,000The most CI containers that the repositories of one user or organization run at the same time.
CI containers per repositoryCI_LIMIT_REPO201 to 1,000The most CI containers that one repository runs at the same time. The CI settings of a repository can lower it, never raise it.
CI containers per fork authorCI_LIMIT_UNTRUSTED_AUTHOR41 to 100The most containers for the untrusted CI jobs of one fork author, in all accounts.
CI hours per fork author a dayCI_UNTRUSTED_DAILY_SECONDS4 hours1 to 24 hoursThe container time for the untrusted CI jobs of one fork author, each UTC day.
Remote CI jobs per accountnone1,0001 to 100,000The most CI jobs of one user or organization that run at the same time on a remote runner, such as Ravion. It holds for an account that pays: a paid plan, credits, or an exemption from billing. Another account runs as many remote jobs as its container limits allow.
Monthly AI spend capFACTORY_MONTHLY_SPEND_CAP_USD50 dollars1 to 100,000 dollarsThe most that the forge pays in a UTC month for the models of one user or organization, in whole dollars.

The value that holds is the first of these that is set:

  1. The value that a site admin saved on this page.
  2. The variable of the deploy. This deploy sets 5 containers per account, 5 per repository and a cap of 3 dollars.
  3. The default in the table.

A CI job past a limit waits in the queue of its account. It does not fail. When you lower a CI limit, only new jobs get the lower limit. The jobs that run keep their containers. Limits in the CI reference shows what the owners of the repositories see.

The AI spend cap counts the models of the factory agents, the PR chat and the architecture chat. A model with the account's own key does not count. An organization can set a lower cap in its factory settings. While billing is on for the organization, its cap can also be higher, up to 100,000 dollars. See The monthly spend cap.

While billing is on, the plan of each account replaces three of these limits:

  • CI containers per account and CI containers per repository: the containers at the same time of the plan. Free has 5, Pro 10, Team 20 and Enterprise 50. So one repository can use all of them.
  • Monthly AI spend cap: the forge-paid AI of the plan, then its credits and its overage.

An account override still holds: see While billing is on. An exempt account keeps the limits of the site. See Turn on billing.

CI jobs run on a remote runner: Ravion, the runner of the forge, or a runner app. A job on a remote runner takes no container, so the containers that the CI limits count are those of the software factory. An account that does not pay runs as many remote jobs at once as its container limits allow, counted apart from its containers. See Pick where CI jobs run.

Ravion runs CI jobs only after you set it up: see Set up Ravion for CI. No card of this page picks the runner of CI jobs.

GitHub sync usage

In the web Worker's logs (gitflare), filter for github.sync.usage: the sync pass of each repository runs there. A repo.due message of the repository events queue runs it. Both log the start of the pass as the phase alarm. The alarm and its queued callback share a pass ID. Each record gives the repository, its owner when the pass started, the elapsed time of that phase, and whether it failed. The alarm's record also gives startMs: the time from the start of the pass to the start of its work, which is its reads of the database (the repository, and the sync owner's account, role and GitHub token). A retried callback emits another record with its own measurement ID. These records cover the phases of the pass. The queue consumer and object storage have their own usage.

Records from before 2026-11-27 also have rowsRead, rowsWritten and, for a callback, apply: the SQLite rows that the RepoObject read and wrote, in the repo Worker's logs (gitflare-repo). Records from then until 2026-11-28 have them as 0.