Skip to content

Conversation

@cristiand391
Copy link
Member

@cristiand391 cristiand391 commented Jan 12, 2026

What does this PR do?

Increases polling frequency from 500ms to 1second for:

  • project retrieve start
  • project deploy report
  • project deploy resume
  • project deploy validate
  • project deploy cancel

While discussing the changes done in forcedotcom/source-deploy-retrieve#1663 with @iowillhoit we found that project retrieve start always hardcodes the poll frequency to 500ms (project deploy start leaves it undefined in code so SDR calculates it based on the component set size).

This PR increases the poll frequency for retrieve and other deploy commands, why?
For small deploy/retrieves there's no noticeable difference and for long ones we now save quite a few API calls

other cmd behaviors to keep in mind while reviewing:

project deploy report:
This command is used to get the deploy status (without updating source-tracking), when passing in --wait it does polling.

project deploy resume
We suggest to run this command after async deploys or if project deploy start --wait <number> fails.

What issues does this PR fix or reference?

@W-20866289@

@cristiand391 cristiand391 added the bug Something isn't working label Jan 12, 2026
@git2gus
Copy link

git2gus bot commented Jan 12, 2026

This issue has been linked to a new work item: W-20866289

@cristiand391 cristiand391 changed the title fix: increase poll frequency to 1s fix: increase poll frequency to 1s W-20866289 Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants