-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error (1): undefinedComponentSet when using new 'sfdx project deploy quick' command #2098
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
This issue has been linked to a new work item: W-13131279 |
Hi @gdman we're fixing this error now, but also want to point out that if you're goal is to use a |
Hi, thanks for taking a look at this issue. I'm confused by your reply though. When running The release notes also say to use The help for I see that there is also a |
Hey @gdman, I understand where that confusion could come from. We created the If you're wanting to recreate the The |
Thanks for the clarification. |
Hello @WillieRuemmele, @mshanemc, While updating the command for pipelines to latest SF commands we are facing the same above issue: "undefinedComponentSet". echo "Deployment id is == "${DEPLOYID} |
Summary
New
sfdx project deploy quick
command fails with errorError (1): undefinedComponentSet
. However, deployment in org does proceed and is successful.sfdx force:mdapi:deploy --validateddeployrequestid xxx
continues to work as before.Have tried
sfdx project deploy quick
with--use-most-recent
and by specifying a job id using--job-id
- both fail with the same error.The deploy commands I'm using are:
sfdx project deploy start --dry-run --test-level RunLocalTests --metadata-dir ./temp/deployMain --wait 1000
and
sfdx project deploy validate --test-level RunLocalTests --metadata-dir ./temp/deployMain --wait 10000
The package contents is a trivial hello world apex class and test.
Steps To Reproduce:
Create a directory with metadata and a package.xml - in this example, a couple of apex classes and a package.xml with ApexClass wildcarded (and nothing else)
Validate:
sfdx project deploy start --dry-run --test-level RunLocalTests --metadata-dir ./temp/deployMain --wait 1000
Quick deploy:
sfdx project deploy quick --use-most-recent
Actual result
Command fails with error:
Error (1): undefinedComponentSet
but deployment to environment succeeds.System Information
{
"cliVersion": "sfdx-cli/7.197.8",
"architecture": "darwin-x64",
"nodeVersion": "node-v18.15.0",
"osVersion": "Darwin 21.6.0",
"shell": "zsh",
"rootPath": "/Users/andrew.goodman/.local/share/sfdx/client/7.197.8-077a68b",
"pluginVersions": [
"@oclif/plugin-autocomplete 2.1.8 (core)",
"@oclif/plugin-commands 2.2.13 (core)",
"@oclif/plugin-help 5.2.9 (core)",
"@oclif/plugin-not-found 2.3.23 (core)",
"@oclif/plugin-plugins 2.4.4 (core)",
"@oclif/plugin-search 0.0.15 (core)",
"@oclif/plugin-update 3.1.10 (core)",
"@oclif/plugin-version 1.3.2 (core)",
"@oclif/plugin-warn-if-update-available 2.0.33 (core)",
"@oclif/plugin-which 2.2.18 (core)",
"apex 2.2.12 (core)",
"auth 2.7.12 (core)",
"community 2.2.9 (core)",
"custom-metadata 2.1.12 (core)",
"data 2.3.10 (core)",
"deploy-retrieve 1.8.12 (core)",
"info 2.6.6 (core)",
"limits 2.3.12 (core)",
"org 2.6.12 (core)",
"packaging 1.16.5 (core)",
"schema 2.3.7 (core)",
"settings 1.4.4 (core)",
"signups 1.4.12 (core)",
"source 2.10.2 (core)",
"telemetry 2.1.3 (core)",
"templates 55.4.7 (core)",
"trust 2.4.7 (core)",
"user 2.3.8 (core)",
"@salesforce/sfdx-plugin-lwc-test 1.0.1 (core)",
"sfdx-cli 7.197.8 (core)"
]
}
Additional information
The text was updated successfully, but these errors were encountered: