-
Notifications
You must be signed in to change notification settings - Fork 79
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
CLI infinite deploying #3185
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. |
Given you get a deploy ID I feel the answer is no, but any chance you enabled JWT-based access tokens in a custom connected app you use to auth to the CLI? These JWT-based tokens don't support APIs used for deploy/retrieve and cause and infinite loop (though not like the one you reported, it shouldn't even be able to create a deploy). |
hi @cristiand391 thank you for you reply. no the issue not in JWT. I have a small updated. If I use -c key in the cli command, It is actually deployed, but cli keeps working and it is not stopping. but the invocation keeps going |
okay, I believe it is source tracking makes it works almost forever.
|
sf version: latest
@salesforce/cli/2.72.21 win32-x64 node-v22.12.0
Doctor says:
`=== Running all diagnostics
pass - salesforcedx plugin isn’t installed
pass - you don't have any linked plugins
pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion
pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
pass - can access: https://test.salesforce.com
pass - can access: https://appexchange.salesforce.com/services/data
pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
pass - using latest or latest-rc CLI version
fail - [@salesforce/plugin-auth] CLI supports v2 crypto
pass - [@salesforce/plugin-auth] CLI using stable v1 crypto
Wrote doctor diagnosis to: C:\Users\SARANVI1\Projects\Alcon\1737388595663-diagnosis.json
=== Suggestions
@salesforce/core
to support v2 crypto. You're generally still able to successfully authenticate with your current CLI installation, but not if you generate a v2 crypto key.`trying to deploy source to Sandbox and it just does not end.
sf project deploy start -m Flow:<flow name>
in Setup > deployment status there is no deployment running
if I use
sf project deploy start -m Flow:<flow name> -c
There is data about deployment is shows in terminal: time count, some details like deployment id
but still there is no deployment status
if I use
sf project deploy start -m Flow:<flow name> -c --dry-run
in the Terminal, I see the same, but in deployment status I can see successful validation. In terminal - infinite deployment.
System Information
tried cmd, powershell, git bash
===================================================================================
Expected result
Metadata is deployed to sandbox with no issues
Actual result
Infinite deployment, Impossible to deploy components to Sandbox.
===============================================================
doctors json
The text was updated successfully, but these errors were encountered: