Skip to content

Add queue parameter to edge list-workers subcommand - #70436

Merged
dheerajturaga merged 2 commits into
apache:mainfrom
shubhamraj-git:add-queue
Jul 26, 2026
Merged

Add queue parameter to edge list-workers subcommand#70436
dheerajturaga merged 2 commits into
apache:mainfrom
shubhamraj-git:add-queue

Conversation

@shubhamraj-git

@shubhamraj-git shubhamraj-git commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

airflow edge list-workers could filter by worker name and state, but not by queue. This adds a -q/--queue flag that lists only workers serving a given queue (exact match).

airflow edge list-workers --queue gpu

image

Was generative AI tooling used to co-author this PR?

  • Yes (Opus 4.8)

@boring-cyborg boring-cyborg Bot added area:providers kind:documentation provider:edge Edge Executor / Worker (AIP-69) / edge3 labels Jul 25, 2026
@shubhamraj-git shubhamraj-git changed the title add queue paarmeter to list-workers Add queue parameter to edge list-workers subcommand Jul 25, 2026
@shubhamraj-git shubhamraj-git added the ready for maintainer review Set after triaging when all criteria pass. label Jul 25, 2026
@shubhamraj-git shubhamraj-git added this to the Airflow 3.3.1 milestone Jul 25, 2026
@shubhamraj-git shubhamraj-git added the backport-to-v3-3-test Backport to v3-3-test label Jul 25, 2026
@dheerajturaga

Copy link
Copy Markdown
Member

@shubhamraj-git, milestone and backport labels are not needed for providers as they are generally cut periodically from main directly.

@dheerajturaga dheerajturaga left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! thanks for the enhancement. It works as advertised

Comment thread providers/edge3/src/airflow/providers/edge3/cli/definition.py

@dheerajturaga dheerajturaga left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks for addressing the concern!

@dheerajturaga
dheerajturaga merged commit d4a0861 into apache:main Jul 26, 2026
79 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-3-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-3-test Commit Link

You can attempt to backport this manually by running:

cherry_picker d4a0861 v3-3-test

This should apply the commit to the v3-3-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

Kunal8954 pushed a commit to Kunal8954/airflow that referenced this pull request Jul 27, 2026
* add queue paarmeter to list-workers

* refactor
@vatsrahul1001

Copy link
Copy Markdown
Contributor

This change is more appropriate for minor 3.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers backport-to-v3-3-test Backport to v3-3-test kind:documentation provider:edge Edge Executor / Worker (AIP-69) / edge3 ready for maintainer review Set after triaging when all criteria pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants