Skip to content

Task Try History in UI Wrong Color in Status Badges before Task Run #41462

@jscheffl

Description

@jscheffl

Apache Airflow version

2.10.0rc1

If "Other Airflow 2 version" selected, which one?

No response

What happened?

Related: #40304

I assume this is relating to #39336 as well - we have changed try-number handling in parallel to have try versions displayed on UI. At least there is a small glitch in 2.10.0rc1:

When a task is re-tried and BEFORE it gets running the task state colors in the tabs to select the try to display are shifted by one position. For example you retry a task by clearing then while it is in queue, the attempt 2 state is displayed in attempt 1 in the tab:

image

Also if you flip back to the first attempt you see in the details it is success but the tab header has the queued color:

image

Once a task then gets into running state, the colors of the tags are "correct" again:

image

FYI @bbovenzi

What you think should happen instead?

Tab color should match the state.

How to reproduce

Run a task, wait for completion/fail. Clear task while the scheduler/worker is busy or stopped - then you see the new attempt in UI but as long as not starting the status color is shifted by one position.

Operating System

unrelevant.

Versions of Apache Airflow Providers

unrelevant.

Deployment

Official Apache Airflow Helm Chart

Deployment details

No specific details. Postgres.

Anything else?

Browser: Firefox.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions