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.
Is your feature request related to a problem? Please describe.
Failure during deployment of multiple packages using
sfdx force:source:push -fwithpushPackageDirectoriesSequentiallyset totrueresets 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 usingsfdx force:source:push -fagain 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.