-
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
Deprecated sfdx source/mdapi/org
commands will be removed on November 6th, 2024
#2974
Comments
@VivekMChawla But as of now, is it possible to force new command We would really like to have such option/feature to have 100% confidence that nothing will break in our CI process after switching to new commands, since we currently have ~100 sandboxes (that were created with source tracking supported, just in case so to say) and connected to our pipelines. Or maybe you happen to know how to disable source tracking at sandbox level without refreshing/re-creating it? |
@avesolovksyy - Thanks for your feedback and question! @cristiand391 notes that we added a command to disable source tracking for operations against a specific org.
Salesforce CLI stores the setting in the org's local configuration file so that no source tracking operations are executed when working with the org. This would be a reasonable option in long-lived developer environments that work with those sandbox orgs. As for CI environments, if they don't require source tracking with any orgs, you can set the environment variable Please try this and let us know if you still believe there's a feature-parity gap here. |
@VivekMChawla
Setting up But then we just updated name of variable to use older SFDX prefix, i.e. No polling for SourceMembers as you can see below: To be on the safe side we've decided to set up both in our final implementation, but seems like there is some issue with supporting SF_DISABLE_SOURCE_MEMBER_POLLING variable:
While doing these experiments we were using latest avaialbe sf cli version @salesforce/cli@2.56.7 installed into ubuntu-latest docker image. And test sandbox with source tracking enabled was upgraded to Winter 25 (i.e. api version 62.0) just rigth before we started our experiments. To summarize, setting global variables seems to be working fine and has solved our current challenge (but still need to monitor logs for next few days), we just need some clarification re which variable name to stick with. |
@VivekMChawla In our CI scripts quite often we are creating an adhoc temporary directory and copying there some metadata to be deployed.
But we are running this deployment when current directory is pointing to our project checkout. And it seems like
Have something like this been already reported? Any suggestions how to deal with it at a large project scale, i.e. without changing current directory before running |
@VivekMChawla
We are getting the following error complainig about lack of SF DX project structure: Any suggestion how can we just deploy simple directory with metada from outside of our current project checkout? I don't want to generate every time temporary sfdx project just to do adhoc deploy. There is no problem like that when using |
If it can help readers, here is the list of all commands I migrated for the next version of sfdx-hardis :)
|
hey @avesolovksyy, that was a bug (CLI should support thanks for reporting! We recommend using the |
What is the impact of this change on tools provided by Salesforce? Will they be upgraded on time? For example lot's of industries solutions rely on Vlocity Build Tool See also vlocityinc/vlocity_build#687 |
What's Happening?
On November 6th, 2024, Salesforce will…
plugin-source
with the Salesforce CLIsf(v2)
.force:org:create
andforce:org:delete
commands fromplugin-org
.What's the Impact of This Change?
force:source:*
andforce:mdapi:*
commands will not be available for use withsf(v2)
.sf project/org
commands (migration guide)force:org:create
andforce:org:delete
will not be available for use withsf(v2)
.sf org
commands (migration guide)Why is Salesforce Making This Change?
sf
command syntax and structure is part of our strategic vision forsf(v2)
.Why is This Change Being Made Now?
We understand this will be a disruptive change for customers who postponed migrating away from the deprecated commands.
While there's never a "good" time for changes like this, we decided to make this change now because:
As mentioned in the "workaround" notes above, customers who need more than four months to migrate can pin themselves to the
latest (stable)
CLI version available on November 5th. Changes specific to Winter ’25 (e.g., support for new metadata types) will be incorporated into this version, giving it a reasonable "shelf life" beyond November 6th.Additional Resources
force:source*
andforce:mdapi:*
Commandsforce:org:*
CommandsQuestions or Feedback?
Please share any questions or feedback by commenting on this issue.
The text was updated successfully, but these errors were encountered: