Files
David Reissandrodrigozhou 116cf2de7a Collapse duplicate visibility tasks (#4727)
**What changed?**
Collapse duplicate visibility tasks

**Why?**
Currently we process the BinaryChecksum and BuildIds search attributes
in parallel (until BinaryChecksum is deprecated) and generate an upsert
visibility task for each. There are other rare situations where we might
generate two upsert visibility tasks in a transaction, e.g. if a
workflow changed binary checksum/build id and upserted a search
attribute in the same task. In all cases, we only need one task per
transaction since they'll do the same thing.

**How did you test it?**
unit test, also manual testing and observed only one task being
processed when expected
2023-08-07 18:45:39 -05:00
..
…
…