airflow icon indicating copy to clipboard operation
airflow copied to clipboard

Create new Callback Types

Open GuilhermePessoni opened this issue 1 year ago • 2 comments
trafficstars

Description

In versions 2.7.3 or lower, in the process of sending callbacks, they are sent in each taskgroup, and not by dag's. The proposal is to create a new callback flow where sending takes place by each dag and not by each Taskgroup

Use case/motivation

In these cases, Airflow sends 8 callbacks, 1 per taskgroup, the purpose is send only 1 callback alert image

Related issues

No response

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

GuilhermePessoni avatar Apr 30 '24 22:04 GuilhermePessoni

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

boring-cyborg[bot] avatar Apr 30 '24 22:04 boring-cyborg[bot]

TaskGroup it is a UI / Namespace feature, and do not have own states, like a DAG or TaskInstance have, that mean without significant changes in Airflow codebase it is unlikely could be implemented.

I would recommend to start discussion in Dev List first: https://airflow.apache.org/community/

Taragolis avatar Apr 30 '24 23:04 Taragolis