This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
Commands crash when using "branch" attributes in package dependencies #1450
Labels
analysis
To be decided on how to solution/fix
Describe the bug
I have 2 packages - base and feature. Feature has defined dependency on Base. If I specify a "branch" attribute in Feature's dependency to Base scripts crash with this error:
experienced with Validate and Prepare CI pool.
The error happens when the dependency (on another package in the sfdx-project.json) has the
branch
attribute. The presence ofbranch
attribute on either of the package definitions does not matter.To Reproduce
Steps to reproduce the behavior:
sfp orchestrator:prepare -f config/pool-def.json -v devhub
orsfp orchestrator:validate --pools ci --targetdevhubusername devhub --disableartifactupdate --disablesourcepkgoverride
Expected behavior
Pool gets created or packages validated
Screenshots
Platform Details (please complete the following information):
Additional context
Originally run into this with the validation of packages. On a feature branch I add the branch attribute to all packages so that any versions created are not increasing the build numbers on main. I do use a namespace, but this does not seem to be affecting the situation at all.
Repo where I test:
Simplified PR with minimal steps to reproduce - https://github.com/packocz/PackageVersions/pull/2/checks
The text was updated successfully, but these errors were encountered: