This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
sfpowerscripts:pool:delete: entity is deleted - February '23 Release Error Msg #1266
Labels
bug
Something isn't working
Describe the bug
During our scheduled daily clean-dev-pool job, if the are 0 unused scratch in the dev pool, and the used scratch org pool is fully consumed, we are getting the following error "entity is deleted" and the job is exiting with the
ERROR: Job failed: exit code 1
in the pipeline. Our expectation is that this error is handled cleaner and not erroring out as this is a valid scenario and there are no scratch orgs in the dev pool that are required to be deleted.To Reproduce
Steps to reproduce the behavior:
sfdx sfpowerscripts:pool:delete -t dev -v "$DEVHUB_ALIAS"
commandExpected behavior
Update message saying "No unused scratch orgs to delete from pool" or something similar and do not return exit code 1 for the command.
Screenshots
Platform Details (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: