Skip to content

Execute SubDAG tasks as part of parent DAG #8078

@dimberman

Description

@dimberman

Description

Currently, the SubDagOperator launches a completely different DAG and then monitors it as a separate entity. This has lead to all sorts of edge case (e.g. when workers have different executors than the scheduler).

This Issue suggests that we instead merge all tasks from the subdag into the original DAG with an extra "original_dag" label. this means at the UI level we can still condense all subdag tasks into a single task, but a single scheduler will still perform all task launching.

Use case / motivation

We want SubDag tasks to act exactly the same as non-subdag tasks

Related Issues

Metadata

Metadata

Labels

RoadmapThe issues /PR that are big changes on the roadmapkind:featureFeature Requests

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions