shubhamraj-git opened a new pull request, #70095:
URL: https://github.com/apache/airflow/pull/70095

   In clusters with many edge workers, `list-workers` could only be narrowed by 
`--state`. This adds an optional `--name-pattern` glob (e.g. `'prod-*'`, 
`'*gpu*'`) that filters workers by name DB-side, composable with `--state`. 
This brings the CLI to parity with the edge UI/REST route, which already 
supports `worker_name_pattern`.
   
   Usage:
       airflow edge list-workers --name-pattern 'bree-*'
   
   <img width="1118" height="121" alt="image" 
src="https://github.com/user-attachments/assets/5dc0ea73-611d-4b58-a456-5c4c33ed5409";
 />
   
   
   
   ##### Was generative AI tooling used to co-author this PR?
   
   <!--
   If generative AI tooling has been used in the process of authoring this PR, 
please
   change below checkbox to `[X]` followed by the name of the tool, uncomment 
the "Generated-by".
   -->
   
   - [x] Yes (Opus 4.8)


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