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 partitioning by environment field for lint/fmt/fix/etc #17383

Open
Tracked by #17355
chrisjrn opened this issue Oct 28, 2022 · 1 comment
Open
Tracked by #17355

Support partitioning by environment field for lint/fmt/fix/etc #17383

chrisjrn opened this issue Oct 28, 2022 · 1 comment

Comments

@chrisjrn
Copy link
Contributor

Currently, the partitioning behavior for lint/fmt/fix involves a "planning" step, where each backend chooses how to partition its work.

We're trying to make environment selection something that can be implemented without backend authors needing to think about it, so it would be useful if there were support for further partitioning each partition (e.g. by environment field on targets), such that we can dispatch each sub-partition to the appropriate environment.

@danxmoran
Copy link
Contributor

This would also be nice for test - at the moment the core logic asserts that all elements of a batch belong to the same environment, which is the opposite of making it so plugin authors don't have to think about it 😬

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

No branches or pull requests

2 participants