Skip to content

Add dags next execution command #66172#66188

Open
haseebmalik18 wants to merge 6 commits into
apache:mainfrom
haseebmalik18:add-dags-next-execution-command
Open

Add dags next execution command #66172#66188
haseebmalik18 wants to merge 6 commits into
apache:mainfrom
haseebmalik18:add-dags-next-execution-command

Conversation

@haseebmalik18
Copy link
Copy Markdown
Contributor

Add airflowctl dags next-execution command that displays the next scheduled execution time for a DAG by fetching next_dagrun_logical_date, next_dagrun_data_interval_start, next_dagrun_data_interval_end, and next_dagrun_run_after from the existing GET /api/v2/dags/{dag_id} endpoint. Prints a clear message when no upcoming run is scheduled.

closes: #66172

@haseebmalik18 haseebmalik18 force-pushed the add-dags-next-execution-command branch 2 times, most recently from 0f68bf4 to d0a6df2 Compare May 1, 2026 19:34
Comment thread airflow-ctl/src/airflowctl/ctl/help_texts.yaml Outdated
Comment thread airflow-ctl/src/airflowctl/ctl/commands/dag_command.py
Comment thread airflow-ctl/src/airflowctl/ctl/commands/dag_command.py Outdated
@haseebmalik18 haseebmalik18 force-pushed the add-dags-next-execution-command branch from d0a6df2 to 4981c00 Compare May 2, 2026 21:57
@haseebmalik18 haseebmalik18 force-pushed the add-dags-next-execution-command branch from f46f925 to c3c543f Compare May 2, 2026 23:58
@potiuk potiuk added the ready for maintainer review Set after triaging when all criteria pass. label May 5, 2026
@bbovenzi bbovenzi removed the area:UI Related to UI/UX. For Frontend Developers. label May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AIP-94] airflowctl dags: add next-execution command

5 participants