mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
<!-- Describe what has changed in this PR --> **What changed?** I removed the durable archival flag which switches between the archival workflow and the archival queue. <!-- Tell your future self why have you made these changes --> **Why?** Because we just use the archival queue unconditionally now, and the old code path is something like 5K lines, so being able to delete it will slim us down a lot. <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> **How did you test it?** Durable archival was [released in February](https://github.com/temporalio/temporal/releases/tag/v1.20.0) as part of 1.20.0. There was one bug that caused schedules-based workflows to not be archived, but that was fixed. Other than that, there have been no issues, and so I think it's been long enough, and it's been battle-tested enough that we can now remove its predecessor. <!-- Assuming the worst case, what can be broken when deploying this change to production? --> **Potential risks** If there's a bug in the archival queue, we won't have a way to switch back to the archival workflow any more. <!-- Is this PR a hotfix candidate or require that a notification be sent to the broader community? (Yes/No) --> **Is hotfix candidate?** No.