mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed? - Deprecate target workflow info in transfer tasks and not using them in task processing logic. ## Why? - The main goal is to reduce event loading during task refresh, which could lead to request timeout when workflow history is long/large. We load events to populate certain fields in the transfer tasks and those fields are using during transfer task processing logic. So to reduce event loading, we need remove the usage of those field first in the task processing logic. - To support rollback, we can only get rid of those fields in transfer tasks and event loading logic in next release + 1. - Removing fields from transfer tasks can also make them smaller in terms of data size. ## How did you test it? - [x] built - [x] run locally and tested manually - [ ] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s)