mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
**What changed?** Build id scavenger shouldn't look at build ids that were added since retention time. **Why?** In the scavenger, we can assume that build ids are used soon after being registered. With that assumption, we can avoid the build id scavenger doing a lot of visibility queries that will likely return workflows. **How did you test it?** unit test **Potential risks** If a build id is created and not used, or if it was used but workflows manually deleted, it previously could have been scavenged fairly soon, but now we'll wait at least the retention time.