dheerajturaga opened a new pull request, #73225:
URL: https://github.com/apache/airflow/pull/73225

   Dag draining already works through the REST API (`scheduling_state`) and the 
UI (#72407, #73055), but there was no way to trigger it from a CLI. Per this 
repo's CLI policy (`contributing-docs/27_cli_implementation_guide.rst`), new 
commands achievable via the Public API belong in `airflowctl` rather than the 
`airflow` CLI, so this adds `airflowctl dags drain <dag_id>` there 
specifically, alongside the existing `pause`/`unpause` commands.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Sonnet 5)
   
   Generated-by: Claude Code (Sonnet 5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
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