-
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
sfdx force:source:deploy issue using REST or SOAP #1506
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. |
Hey @fedegiust, sorry for the delay on this. I am not super familiar with this functionality and will need to check with a teammate. Did this recently work for you on a previous CLI version? Could you try the latest version of the cli? |
The issue about the Test level in Prod has been there for a while now. |
HI @fedegiust the CLI passes |
Hi @WillieRuemmele Here's the video |
Hi @fedegiust Thanks for the video, it's always great to see what exactly you're doing. We currently have a few more pressing bugs that we're working on #1531 and one about but once again, thank you for being so involved and helping - this is why everyone on the team loves working on OSS stuff 😄 |
Hey @fedegiust, I had the same issue, and it seems to be fixed after 7.156.1 cli version
|
Summary
We use Org Deployment model and when trying to run a validation deployment using REST we are getting
The deploy operation is missing a job ID. Initialize an operation with an ID, or start a new job.
Steps To Reproduce:
We generate a delta package.xml using the sgd:source:delta plugin
This is the package.xml generated
and run this to do the validation
sfdx force:source:deploy -c -x temp/package/package.xml -u PROD -w 1 --verbose --loglevel=debug
Expected result
This package does not have Apex or Triggers, only a workflow update, so the expected result would be to execute the validation against the Prod
Actual result
If we run it using REST we are getting
Metadata API request failed: The deploy operation is missing a job ID. Initialize an operation with an ID, or start a new job.
If we deploy using SOAP
INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations
The test level should not be required if there is no APEX regardless of the env
According to the documentation even if we specify RunLocalTests but there is no Apex it shouldn't run the tests but it's running them anyways making the deployment take much longer.
System Information
Additional information
This is the full output of using --dev-debug and REST
The text was updated successfully, but these errors were encountered: