Skip to content
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

Open
vuha-acn opened this issue Mar 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vuha-acn
Copy link
Contributor

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:

  1. Create a small set of scratch org pools for dev
  2. Consume all of the dev pools
  3. Run the sfdx sfpowerscripts:pool:delete -t dev -v "$DEVHUB_ALIAS" command

Expected 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
image

Platform Details (please complete the following information):

  • OS: AWS Linux
  • Version [e.g. CLI Version eg: 1.6.6] - Latest in Feb '23 Container Image
  • Salesforce CLI(sfdx cli) Version: Latest in Feb '23 Container Image
  • CI Platform: GitLab

Additional context
Add any other context about the problem here.

@vuha-acn vuha-acn added the bug Something isn't working label Mar 15, 2023
@github-actions github-actions bot added the analysis To be decided on how to solution/fix label Mar 15, 2023
@azlam-abdulsalam azlam-abdulsalam removed the analysis To be decided on how to solution/fix label Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants