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

Support serial loads with update_data task #3649

Open
JonnyPower opened this issue Sep 8, 2023 · 0 comments
Open

Support serial loads with update_data task #3649

JonnyPower opened this issue Sep 8, 2023 · 0 comments
Labels
enhancement Listed under "Changes" in the changelog

Comments

@JonnyPower
Copy link

Feature Type

I'm interested in functionality that solves a current problem or limitation in how CumulusCI works.

Does your feature request solve a current problem?

When running update_data, cci may create a bulk data job in Salesforce, by default taking advantage of parallel jobs via the bulk job's concurrency setting.

However, there are use cases that require serial job runs to prevent e.g. record locking issues.

We intend to leverage lots of update_data tasks as part of our ISV package's upgrade automation, but in some cases running with a parallel concurrency mode will require retries / hurt task stability during our automation.

Describe the solution you'd like

As part of the update_data task, either load a similar .load.yml file as we can define elsewhere to set the concurrency mode, or a cli flag to set api options defined as an empty dict here: https://github.com/SFDO-Tooling/CumulusCI/blob/8e6fa8aeb74ba184a7db0cd589c7c2f791318f71/cumulusci/tasks/bulkdata/update_data.py#L211C20-L211C20

Describe alternatives you've considered

No response

Additional context

We'd be happy to help implement this feature if you have a recommended / preferred approach to solve

@JonnyPower JonnyPower added the enhancement Listed under "Changes" in the changelog label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Listed under "Changes" in the changelog
Projects
None yet
Development

No branches or pull requests

1 participant