cli icon indicating copy to clipboard operation
cli copied to clipboard

force:source:push with sequential packages deploy resets source tracking when there is a failure in Nth package

Open pznmc opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. Failure during deployment of multiple packages using sfdx force:source:push -f with pushPackageDirectoriesSequentially set to true resets source tracking to state before deployment was started. When I have 50 packages in sfdx-project.json to deploy on a clean scratch org, and there is some issue in 50th package, fixing the problem and using sfdx force:source:push -f again causes deployment of all 50 packages, ignoring fact that the previous 49 packages have been deployed successfully.

What are you trying to do I would like to not be forced to deploy every package all over again, when there is some error in Nth package, and previous ones were deployed successfully.

Describe the solution you'd like Would be great to save state of source tracking after each successfully package deploy, instead of saving it at the end of deployment of all packages. Alternative would be some flag, that could save state after each package deployment, however I find it redundant.

Describe alternatives you've considered Didn't found any.

Additional context With wider adoption of packaging, this behaviour can be annoying to more and more people, especially working on projects with many packages.

pznmc avatar Jun 29 '22 14:06 pznmc

Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments.

github-actions[bot] avatar Jun 29 '22 14:06 github-actions[bot]

This issue has been linked to a new work item: W-11363201

git2gus[bot] avatar Jun 29 '22 14:06 git2gus[bot]