Skip to content

Move dag-level callbacks to worker #44354

@kaxil

Description

@kaxil

We will move callbacks to workers. TBD on “how”.

Options:

  1. Moving callbacks to workers as a separate activity.
  2. Running callbacks as teardown task.
  3. 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.
  4. 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 .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Icebox

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions