Skip to content

airflowctl: List dagruns without dag-id #61513

@amit-mittal

Description

@amit-mittal

Apache Airflow version

3.1.7

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

No response

What happened?

$ airflowctl dagrun list '--state=queued' '--limit=5'
2026-02-05 21:52:17 [warning  ] Server error                   [airflowctl.api.client] extra={'detail': 'The Dag with ID: `none` was not found'}
Server response error: Client error message: {'detail': 'The Dag with ID: `none` was not found'}
Client error,  Please check the command and its parameters. If you need help, run the command with --help.

The above command fails.

What you think should happen instead?

All the flags of dagrun should be optional and if dag-id is not specified, it should find the dag-runs across all the DAGs.

How to reproduce

apache-airflow-ctl==0.1.1

Operating System

Darwin

Versions of Apache Airflow Providers

No response

Deployment

Other

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions