Closed pkozuchowski closed 1 week ago
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.
@pkozuchowski - It sounds like you want to use our new "source mobility" feature currently in beta. Just set the environment variable SF_BETA_TRACK_FILE_MOVES=true
and move the files. The CLI handles it. No deployment is necessary since it's a client side "book keeping" action.
For more information see this discussion: https://github.com/forcedotcom/cli/discussions/2682 Also see recent CLI release notes: https://github.com/forcedotcom/cli/blob/main/releasenotes/README.md
Feel free to reopen if this doesn't solve the issue.
Summary
After moving files,
sf project deploy preview
reports all moved files under "Will Deploy", but in reality they are due to deletion.Steps To Reproduce
1) Move files from one folder to another 2) Run
sf project deploy preview
3) Check if files are under Deploy or Delete headers.Expected result
Preview should say that files will be deleted.
Actual result
Preview says files will be deployed, but deployment will actually attempt to delete them.
Additional information
System Information