Skip to content

Add sensor and trigger nodes to dag dependencies graph #49576

Open
@bbovenzi

Description

@bbovenzi

Apache Airflow version

3.0.0

If "Other Airflow 2 version" selected, which one?

No response

What happened?

We aren't showing "trigger" and "sensor" nodes in Dag Dependencies and incorrectly showing them in "External Dependencies"

Image Image

What you think should happen instead?

We should fix the dag dependencies endpoint to send a correct set of nodes and edges to render.

The UI should handle "trigger" and "sensor" node types. If they are dags, we should just render the dagnode.

How to reproduce

Use example_trigger_controller_dag in example_dags, in the graph, go to Options -> Dag Dependencies. See the graph not update.

Operating System

all

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:APIAirflow's REST/HTTP APIarea:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugpriority:mediumBug that should be fixed before next release but would not block a release

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions