mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
**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