We will move callbacks to workers. TBD on “how”.
Options:
- Moving callbacks to workers as a separate activity.
- Running callbacks as teardown task.
- Deprecate (not remove) concept of callback and pushing users to use teardown. If we do this and deprecate/not remove this option will happen with one of the above two options.
- Leave them in dag-processor
I am leaning towards (2) — and (3) is my next preference. This is because imo callbacks and teardowns are sort of redundant concepts, and if we keep them as is, we will have an explosion of callbacks, we already have: on_{success,failure,skipped,retry,execute}_callback .
We will move callbacks to workers. TBD on “how”.
Options:
I am leaning towards (2) — and (3) is my next preference. This is because imo callbacks and teardowns are sort of redundant concepts, and if we keep them as is, we will have an explosion of callbacks, we already have:
on_{success,failure,skipped,retry,execute}_callback.