Skip to content

Trigger DAG w/config page appears no matter which option is selected #37632

@matterrr

Description

@matterrr

Apache Airflow version

2.8.1

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

No response

What happened?

When I trigger a DAG in the DAG view by pressing the play button, and I select Trigger DAG, Airflow navigates to the page where the user can specify Configuration JSON. Normally this page only appears when I select Trigger DAG w/config.

This adds an extra step when triggering any DAG - The vast majority of our DAGs have no runtime config.,

What you think should happen instead?

The DAG should trigger instead of navigating to this page.

How to reproduce

  • Go to the DAG view of any example DAG
  • Trigger the DAG by pressing the play button and selecting Trigger DAG
  • Observe that Airflow navigates to the Trigger DAG: <dag ID> page where you can specify Configuration JSON

Operating System

Debian GNU/Linux 11 (bullseye)

Versions of Apache Airflow Providers

No response

Deployment

Other 3rd-party 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:UIRelated to UI/UX. For Frontend Developers.duplicateIssue that is duplicatedkind:bugThis is a clearly a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions