-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting scratch org should also delete corresponding source tracking files #1879
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
This issue has been linked to a new work item: W-12375821 |
Thank you for a swift response! I assume this won't cover the case where the scratch orgs expire without being deleted. Thus, if I'm allowed to add a requirement it would be to also delete the same source tracking files for expired scratch orgs when running |
@petter-eikeland - The current fix would cover the usecase of running |
UPDATE: This is fixed in the current CLI release candidate, v7.186.0 which will be promoted in a week. |
Tested the functionality with the newest release candidate, both with |
Summary
When deleting a scratch org using
sfdx force:org:delete
, the corresponding source tracking files in the .sf/orgs directory should be deleted alongside the scratch org.Steps To Reproduce:
Expected result
Scratch org is deleted as well as the source tracking files in the corresponding .sf/orgs directory
Actual result
Scratch org (Org Id=1234) is deleted. Source tracking files for Org Id=1234 are still present in .sf/orgs directory
System Information
The text was updated successfully, but these errors were encountered: