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

orchestrator:prepare builds package versions that are not used in the process of scratch orgs creation #1222

Closed

Description

@michallachowski

Describe the bug
When pool of scratch orgs is created, and the pool config file contains "installAll": false, I expect only managed packages to be installed. It works fine, but at the beginning of prepare job all artifacts are downloaded from Artifact Store. If there's no script to fetch artifacts, then all of them are being built by quickbuild command. Both actions (download or quickbuild) are not needed in this scenario, as nothing happens with retrieved / created packages.

To Reproduce

  • Initial setup
    • customPackage (custom, unlocked package) depends on managed package, e.g. Salesforce CPQ
    • pool configuration uses "installAll": false parameter
  • Execute orchestrator:prepare command
  • Observe that new version of customPackage is created prior to scratch org creation
  • Observe that only Salesforce CPQ has been installed to the scratch org

Expected behavior
If there's no need to install unlocked packages, they should not be downloaded, nor created.

Platform Details

  • Version: 20.20.0
  • Salesforce CLI(sfdx cli) Version: sfdx-cli/7.186.2 linux-x64 node-v18.12.0

Activity

  1. added
    analysis
    on Feb 13, 2023
  2. added
    enhancement
    and removed
    analysis
    on Feb 13, 2023
  3. added a commit that references this issue on Mar 21, 2023
    9438f57
  4. added a commit that references this issue on Aug 8, 2025
    55818b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions