This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Description
Describe the bug
When a package is failing during build job, it removes all childs from queue. Unfortunately it not only removes its own childs, but also others in queue.
To Reproduce
Following Setup:
Package1
Package2
Package3
Package4
-
dep on package3
-
Build jobs starts: Package(s) currently processed: Package1, Package3. Packages in queue: Package2, Package4.
-
Package 1 fails: "Error XYZ. Removing childs from queue"
-
Package3 successfully builds: "Version X.Y.Z successfully created"
-
Job ends with message: 1 package created. 1 Package failed: package2.
-> Package 4 disappeared!
Expected behavior
If a package fails only child packages of that package must be removed from queue, not child packages of other packages.
Platform Details (please complete the following information):
- Version 20.2.11
- Salesforce CLI(sfdx cli) Version: 7.179.0
- CI Platform: Gitlab CI