Skip to content
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 ignoring restDeploy config #1616

Closed
rlbarreto opened this issue Jul 8, 2022 · 7 comments
Closed

sfdx ignoring restDeploy config #1616

rlbarreto opened this issue Jul 8, 2022 · 7 comments
Labels
investigating We're actively investigating this issue more information required Issue requires more information or a response from the customer

Comments

@rlbarreto
Copy link

Summary

When executin sfdx force:source:push -f it is always using SOAP

Steps To Reproduce:

  1. execute sfdx config:set restDeploy=true
  2. execute sfdx force:source:push -f

Expected result

Should show message "Pushing with REST API v54"

Actual result

Shows message "Pushing with SOAP API v54.0" and then it fails with max request size(my project)

System Information

  • Which shell/terminal are you using? zsh

{
"cliVersion": "sfdx-cli/7.158.1",
"architecture": "darwin-x64",
"nodeVersion": "node-v16.15.1",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/sfdx-plugin-lwc-test 1.0.0 (core)",
"alias 2.1.0 (core)",
"apex 0.13.0 (core)",
"auth 2.2.2 (core)",
"community 2.0.0 (core)",
"config 1.4.12 (core)",
"custom-metadata 2.0.0 (core)",
"data 2.0.4 (core)",
"functions 1.8.0",
"generator 2.0.2 (core)",
"info 2.0.1 (core)",
"limits 2.0.1 (core)",
"org 2.0.1 (core)",
"salesforce-alm 54.6.2 (core)",
"schema 2.1.1 (core)",
"sfdmu 4.15.0",
"sfdx-cli 7.158.1 (core)",
"sfdx-wry-plugin 0.0.11",
"signups 1.2.0 (core)",
"source 2.0.3 (core)",
"telemetry 2.0.0 (core)",
"templates 55.0.0 (core)",
"trust 2.0.1 (core)",
"user 2.1.0 (core)"
],
"osVersion": "Darwin 21.5.0"
}

Additional information

@rlbarreto rlbarreto added the investigating We're actively investigating this issue label Jul 8, 2022
@github-actions
Copy link

github-actions bot commented Jul 8, 2022

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.

@rlbarreto
Copy link
Author

I have tried to use sfdx config:set restDeploy=true --global and got the same situation

@maggiben
Copy link
Contributor

maggiben commented Jul 8, 2022

Hello, can you please try setting env var SFDX_REST_DEPLOY to true ?

@maggiben maggiben added the more information required Issue requires more information or a response from the customer label Jul 8, 2022
@rlbarreto
Copy link
Author

rlbarreto commented Jul 8, 2022 via email

@maggiben
Copy link
Contributor

Hello, I would like to check the org setting, can you provide an org to repro ?

@mshanemc
Copy link
Contributor

this is a bug fixed by salesforcecli/plugin-source#535 @W-11390183@

@mshanemc
Copy link
Contributor

duplicate of #1606

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue more information required Issue requires more information or a response from the customer
Projects
None yet
Development

No branches or pull requests

3 participants