This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
Return unused/rolled back scratch orgs to the pool #989
Labels
enhancement
enhancement to existing feature
Milestone
During the execution of validate command, sfpowerscripts fetch a scratch org from the pool. Currently any scratch orgs fetched from the pool are assigned (update the status, so that its no longer available for any validate or fetch) and can't be reused. There are situations where a fetched scratch org can be returned to the pool.
The following scenarios are identified
There could be future scenarios, where CI orgs aka pooled scratch orgs could be reused for validating an independent domain.
Creating scratch orgs are very flaky and a time consuming process (most large projects are in the 5+ hour window). So rather than throwing away the org, atleast a few could be reused to save from pool creation
Based on discusssion at https://github.com/Accenture/sfpowerscripts/discussions/962
The text was updated successfully, but these errors were encountered: