You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When shrinking dependencies in the sfdx-project.json to get rid of transitive dependencies, sfp validate pool --mode=individual does not install those transitive dependencies, althrough they are properly explained before the validation process starts
To Reproduce
Steps to reproduce the behavior:
Create multiple org-dependent packages in one Dev Hub
Have one of them (pk2) be dependent on another (pk1)
Have a second one be dependent on the one you made dependent in step 2 (pk3)
Start a validation with individual mode
Expected behavior
If a change occurs in pk3 only, it should install pk1 and then pk2, because of the way dependencies are inherited.
Screenshots
Explained the right dependencies
Did not install them
Platform Details (please complete the following information):
OS: Ubuntu VM
Version [e.g. CLI Version eg: 1.6.6] sfp community latest
Salesforce CLI(sfdx cli) Version: latest
CI Platform: Azure Devops
Additional comments
Workaround is to call sfp dependency expand before sfp validate in the pipeline, but this is probably not how this is supposed to work
The text was updated successfully, but these errors were encountered:
dschibster
changed the title
validate does not install transitive dependencies individual mode
validate does not install transitive dependencies in individual mode
Jan 3, 2025
Describe the bug
When shrinking dependencies in the
sfdx-project.json
to get rid of transitive dependencies,sfp validate pool --mode=individual
does not install those transitive dependencies, althrough they are properlyexplain
ed before the validation process startsTo Reproduce
Steps to reproduce the behavior:
Expected behavior
If a change occurs in pk3 only, it should install pk1 and then pk2, because of the way dependencies are inherited.
Screenshots


Explained the right dependencies
Did not install them
Platform Details (please complete the following information):
Additional comments
Workaround is to call
sfp dependency expand
beforesfp validate
in the pipeline, but this is probably not how this is supposed to workThe text was updated successfully, but these errors were encountered: