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

fix: support SF_ env vars #665

Closed
wants to merge 3 commits into from
Closed

Conversation

cristiand391
Copy link
Member

@cristiand391 cristiand391 commented Aug 30, 2024

What does this PR do?

DEPENDS ON: forcedotcom/sfdx-core#1132

The following env vars were being resolved via @salesforce/kit instead of sfdx-core:

SFDX_SOURCE_TRACKING_BATCH_SIZE

it's SF_ version worked by trying to read it first and falling back to the SFDX_ one here:

const MAX_FILE_ADD = env.getNumber(

SFDX_SOURCE_MEMBER_POLLING_TIMEOUT

never supported its SF_ version documented here:
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_env_variables.htm

This PR makes source-tracking read these via sfdx-core (also added support there in the linked PR above).
Both SFDX_ and SF_ should be supported now, no breaking changes.

What issues does this PR fix or reference?

@W-16628512@

@cristiand391 cristiand391 requested a review from a team as a code owner August 30, 2024 20:37
@cristiand391
Copy link
Member Author

closing in favor of #668

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant