Skip to content

Add executor, hostname, and queue columns to TaskInstances page#55922

Merged
jscheffl merged 2 commits into
apache:mainfrom
dheerajturaga:feature/executor-info-in-ti-page
Sep 22, 2025
Merged

Add executor, hostname, and queue columns to TaskInstances page#55922
jscheffl merged 2 commits into
apache:mainfrom
dheerajturaga:feature/executor-info-in-ti-page

Conversation

@dheerajturaga

Copy link
Copy Markdown
Member
  • Add executor column to display task instance executor information
  • Add hostname column to show where task instance ran
  • Add queue column to display task instance queue assignment
image

  - Add executor column to display task instance executor information
  - Add hostname column to show where task instance ran
  - Add queue column to display task instance queue assignment
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Sep 20, 2025

@jscheffl jscheffl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for adding these columns. I think these are useful also in my use cases.

Unfortuantely the table by this is grwoing in width such that even a FHD screen in the browser is not sufficient anymore to display all columns w/o a horizontal scrollbar. So I think these columns should be added only optional (and one or two existing might also need to be flagged optional) - meaning rendered on demand only.

Can you add a flag such that the three columns are only displayed when selected and not per default?

@dheerajturaga

Copy link
Copy Markdown
Member Author

@jscheffl, yes I can do that! In a follow up PR, I want to add search by queue/hostname aswell. My need is to be able to monitor tasks which are landing on specific machines and queues

I guess with these the edge jobs page may become redundant

@dheerajturaga

Copy link
Copy Markdown
Member Author

@jscheffl , I disabled these columns by default

image

@jscheffl jscheffl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the extension and the re-work!

In a follow up PR, I want to add search by queue/hostname aswell.

Be careful adding this - the columns queue and hostname have NO index on the DB per default, so if you have millions of tasks and you make a "naive" search for any hostname, it will be a full-table-scan over all task instances.

@jscheffl jscheffl merged commit 62cccb9 into apache:main Sep 22, 2025
56 checks passed
@dheerajturaga dheerajturaga deleted the feature/executor-info-in-ti-page branch September 22, 2025 19:49
@kaxil kaxil added this to the Airflow 3.1.1 milestone Oct 21, 2025
kaxil pushed a commit that referenced this pull request Oct 21, 2025
* Add executor, hostname, and queue columns to TaskInstances page

  - Add executor column to display task instance executor information
  - Add hostname column to show where task instance ran
  - Add queue column to display task instance queue assignment

* Disable new columns by default

(cherry picked from commit 62cccb9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants