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

   Add airflowctl `dagbundles list` and `dagbundles get` commands.
   
   The API reports each Dag bundle's version and when a Dag processor last 
refreshed it, so whoever deployed code can tell whether it has been picked up. 
airflowctl had no command for it, which left that check to hand-written REST 
calls.
   
   - `dagbundles list` accepts `--limit` (default 100), `--offset` and 
`--order-by`.
   - `dagbundles get <bundle_name>` returns one bundle; the name is URL-encoded 
in the request path.
   - The commands are generated from the new `DagBundlesOperations`; help 
texts, the help images and their hashes are updated, and both commands are 
added to the integration test list. The integration tests are skipped on 
servers older than 3.5.0, because the endpoints are recent.
   
   Checks run: the airflow-ctl unit tests (new tests cover the paths, the query 
parameters and the encoding of the bundle name), the help-text and 
command-coverage scripts, ruff and mypy on the changed files. The integration 
tests and the breeze-based hooks were not run locally (no Docker); the help 
images were generated with the same rendering as the committed ones.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (Claude Code)
   
   


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

  • [PR] Add airflowctl dagbundle... Rishabh00b (via GitHub) via commits

Reply via email to