You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
batchSize is not taken into account when creating scratch orgs in the pool #1142
In scratch org pool config json file we have batchSize property. It is described in docs as: Number of processes for creating scratch orgs in parallel. However script always create all of scratch orgs to fill maxAlocation without taking into account batch size. When all scratch orgs are created it deploys artifacts - and now it uses batchSize propery.
Steps to reproduce the behavior:
Use scratch org pool config file with:
{
"maxAllocation": 15,
"batchSize": 5,
}
Run the sfpowerscripts:orchestrator:prepare command to prepare the pool. If pool is empty - it will first create 15 scratch orgs in a row.
Expected behavior
Prepare command should respect batchSize even for scratch org creation. This would speed up creation of new SOs and making them accessible for users or ci/cd faster. We will be able to have big pool and even after refreshing (deleting everything from pool and creating again) first scratch orgs will be available faster.
Platform Details (please complete the following information):
Activity
feat(scratchorg): ability to create scratch orgs in parallel
feat(scratchorg): ability to create scratch orgs in parallel (#1192)
azlam-abdulsalam commentedon Jan 23, 2023
Feature added in January 23