forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…sbuild#19796) pantsbuild#17403 (comment) describes a bit of a split between `lint` and `fix` in terms of batching. This change fixes pantsbuild#19634 by switching `AbstractFixRequest.files` to report `self.snapshot.files` which is already de-duplicated. (Note that the elements in the case of `lint` were the filepaths directly translated from addresses. Maybe it's worth de-duplicating at a higher layer, but 🤷♂️ ) This change also fixes pantsbuild#17403 (which really is a duplicate of pantsbuild#15069 manifest in new and exciting ways) by de-duplicating the `fix`-specific batching strategy. It didn't sit right to me that in the reproduction repo we did 1 batches of 2 files for `fix`, but 1 batch of 4 files for `lint`.
- Loading branch information
1 parent
2533efb
commit 4472383
Showing
3 changed files
with
58 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters