flxbl-io / sfp

A build system for modular development in Salesforce
https://docs.flxbl.io/sfp/
MIT License
31 stars 17 forks source link

Build order bug when resolving dependencies #125

Open aviv-teodorglaz opened 1 month ago

aviv-teodorglaz commented 1 month ago

Describe the bug There seems to be an error when resolving dependiencies among the packages declared in sfdx-project.json file. Example cpq-de package is being deployed before blng-impl package event if there cpq-de is directly dependan on blng-impl package. This issue occured once again

To Reproduce

Expected behavior The packages deploy order should respect dependancies declared in sfdx-project.json file

Screenshots If applicable, add screenshots to help explain your problem.

Platform Details (please complete the following information):

Additional context

alanjaouen commented 1 month ago

see #97. Seems to be the same issue but for deploy instead of build

azlam-abdulsalam commented 1 month ago

@aviv-teodorglaz Can you provide more details. Deploy looks only at the order of how packages are defined in sfdx-project.json, it doesn't factor in dependency order