Zi-Yi-Ming commented on issue #46717:
URL: https://github.com/apache/airflow/issues/46717#issuecomment-7238598971

   You can list failed or running Dag runs across Dags with `airflowctl`. Leave 
out `--dag-id` to query across Dags.
   
   ```bash
   airflowctl dagrun list --state failed
   airflowctl dagrun list --state running
   ```
   
   I verified both commands on `main` (`d900cf21`) against a local Airflow API 
server with two Dags and a SQLite metadata database. The failed query returned 
matching runs from both Dags, and the running query returned the only running 
Dag run.
   
   Do you also need to query the local metadata database while the Airflow API 
server is stopped?
   
   ---
   
   Drafted-by: OpenAI Codex (no human review before posting)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to