You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Split from #17403 (comment) the fmt/fix batch is built per-address, but fmt/fix are applied per-file. Since one file can represent multiple addresses, we should de-dup.
The text was updated successfully, but these errors were encountered:
#17403 (comment)
describes a bit of a split between `lint` and `fix` in terms of
batching.
This change fixes#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#17403 (which really is a duplicate of #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`.
Describe the bug
Split from #17403 (comment) the
fmt
/fix
batch is built per-address, butfmt
/fix
are applied per-file. Since one file can represent multiple addresses, we should de-dup.The text was updated successfully, but these errors were encountered: