Skip to main content

Scratch Org Pooling

Keep a pool of ready-to-use scratch orgs so developers can pick one up instantly instead of waiting for creation.

Try it in Serpent

Creating a scratch org takes time. Pooling keeps a set of scratch orgs prepared ahead of need, so a developer can claim a ready org immediately instead of waiting for one to be built.

Scratch Org Configurations panel for the spare scratch org pool size

Why pool scratch orgs

Open the Scratch Orgs screen with the "Try it in Serpent" button above, where the spare pool size is set in Scratch Org Configurations. Pooling lets you:

  • Remove the wait when someone starts a new piece of work.
  • Keep pooled orgs on a consistent, known configuration.
  • Replenish the pool automatically as orgs are claimed.

How it fits with Dev Hubs

Pooled scratch orgs are still created from your Dev Hub, so pooling draws on the same scratch org limits. Keep those limits in mind when sizing the pool.