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

refactor execution strategy options into separate struct #10304

Merged
merged 1 commit into from Jul 9, 2020

Conversation

tdyas
Copy link
Contributor

@tdyas tdyas commented Jul 9, 2020

Problem

The large number of execution strategy-related options passed into the engine's Core::new function is unwieldy. Adding a new option is a chore.

Solution

Introduce ExecutionStrategyOptions struct and a PyExecutionStrategyOptions wrapper. Use both.

Result

The execution strategy-related options are now grouped into a single ExecutionStrategyOptions that can be passed around. It is clear where to add new execution strategy-related options.

Implements #10273

@tdyas tdyas requested a review from stuhood July 9, 2020 18:35
Copy link
Sponsor Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@stuhood stuhood merged commit 3b25dce into pantsbuild:master Jul 9, 2020
@tdyas tdyas deleted the bundle_execution_strategy_options branch February 20, 2023 20:29
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.

None yet

2 participants