Summary
The sf org resume sandbox command has started taking 5 minutes and 2-30 seconds to return a response. We are managing a pool of sandboxes, and it happens for every sandbox in the pool (16 calls in a row). We are running the same workflow for a different production org, and the command returns in the typical 2-5 seconds for the sandboxes from that org. There are other similar, but not identical, scenarios within the same org where the resume call returns in seconds, as expected.
Steps To Reproduce
- Create/refresh a sandbox from production.
- Wait until the sandbox is complete.
- Run the following command:
sf org resume sandbox --name sandbox --target-org production --wait 0 --json
Where "production" is an alias for an auth to the production org for the same user that initiated the sandbox create/refresh.
Expected result
- Given the
--wait 0 flag, the sf org resume sandbox command should return within a reasonable amount of time, in the realm of seconds, not minutes.
- Given the
--wait 0 flag, it should return reasonably quickly regardless of the actual status of the sandbox being resumed.
Actual result
The cli consistently takes 5 minutes to return, plus a couple of seconds. It's almost like there's a 5 minute timer where nothing happens, then the command starts and returns in the next couple seconds. Other usage of the resume command returns normally and does not take 5 minutes. I have not been able to discern any differences in how they're being called versus how they're behaving.
Additional Information
This is a continuation of #3407. That was auto-closed and I'm not able to reopen it.
System Information
Running from automation, so limited output is available.
@salesforce/cli/2.107.6 linux-x64 node-v20.19.5
Summary
The
sf org resume sandboxcommand has started taking 5 minutes and 2-30 seconds to return a response. We are managing a pool of sandboxes, and it happens for every sandbox in the pool (16 calls in a row). We are running the same workflow for a different production org, and the command returns in the typical 2-5 seconds for the sandboxes from that org. There are other similar, but not identical, scenarios within the same org where the resume call returns in seconds, as expected.Steps To Reproduce
Where "production" is an alias for an auth to the production org for the same user that initiated the sandbox create/refresh.
Expected result
--wait 0flag, thesf org resume sandboxcommand should return within a reasonable amount of time, in the realm of seconds, not minutes.--wait 0flag, it should return reasonably quickly regardless of the actual status of the sandbox being resumed.Actual result
The cli consistently takes 5 minutes to return, plus a couple of seconds. It's almost like there's a 5 minute timer where nothing happens, then the command starts and returns in the next couple seconds. Other usage of the resume command returns normally and does not take 5 minutes. I have not been able to discern any differences in how they're being called versus how they're behaving.
Additional Information
This is a continuation of #3407. That was auto-closed and I'm not able to reopen it.
System Information
Running from automation, so limited output is available.
@salesforce/cli/2.107.6 linux-x64 node-v20.19.5