Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebUI does not show "Task Tries" items after rerun on MappedOperators #42357

Closed
2 tasks done
AutomationDev85 opened this issue Sep 20, 2024 · 6 comments · Fixed by #43565
Closed
2 tasks done

WebUI does not show "Task Tries" items after rerun on MappedOperators #42357

AutomationDev85 opened this issue Sep 20, 2024 · 6 comments · Fixed by #43565
Assignees
Labels
area:core area:dynamic-task-mapping AIP-42 area:UI Related to UI/UX. For Frontend Developers. good first issue kind:bug This is a clearly a bug

Comments

@AutomationDev85
Copy link
Contributor

Apache Airflow version

2.10.1

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

No response

What happened?

We are running a Airflow 2.10.1 instance an facing the issue that the "Task Tries" fields are missing on Mapped Operator tasks:
image

On Normal Operators it is working fine:
image

Any one else has the problem? I´m not sure it was working in 2.10. or not but in 2.9.3 it was working.

What you think should happen instead?

No response

How to reproduce

Clean task state of Mapped Operator task and check the "Task Tries" items of the WebUI.

Operating System

Debian GNU/Linux 12

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@AutomationDev85 AutomationDev85 added area:core kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet labels Sep 20, 2024
@dosubot dosubot bot added area:dynamic-task-mapping AIP-42 area:UI Related to UI/UX. For Frontend Developers. labels Sep 20, 2024
@jscheffl
Copy link
Contributor

I did a regressionin breeze with DAG example_dynamic_task_mapping_with_no_taskflow_operators and can confirm:

Airflow 2.9.3:

image

Airflow 2.10.0:

image

Airflow 2.10.1:

image

...it seems the header "Task Tries" is added but the buttons to switch are missing. For the task details this is degrading to state of 2.9.3 but for logs this blocks UI access to logs for runs which are not the last if multiple tries :-(

...and just now the release of 2.10.2 :-( Can confirm that the bug is also in 2.10.2

@jscheffl jscheffl added good first issue and removed needs-triage label for new issues that we didn't triage yet labels Sep 20, 2024
@jscheffl
Copy link
Contributor

With some triaging through the release notes... PR #41483 seems to be the fix that caused the side effect. Manually reverting the commit 5dcc2ad fixes this problem but re-adds the refresh issue we had in 2.10.0. ...and damn it was myself testing and did not check the mapped tasks.

@AutomationDev85 are you willing to supply a patch for the views of mapped tasks for a future 2.10.3?

@jx2lee
Copy link
Contributor

jx2lee commented Sep 29, 2024

Could i take this issue? if possible, please assign to me and try it!

@jscheffl
Copy link
Contributor

Ah, just checked for this and was hoping it is in 2.10.3... but still not fixed :-(

@potiuk
Copy link
Member

potiuk commented Oct 31, 2024

Ah, just checked for this and was hoping it is in 2.10.3... but still not fixed :-(

You know what's the fastest way @jscheffl 😛 ?

@jscheffl
Copy link
Contributor

Ah, just checked for this and was hoping it is in 2.10.3... but still not fixed :-(

You know what's the fastest way @jscheffl 😛 ?

Yeah... the fastest way is always... fix it yourself! Probably gonna do this. I was losing track and actually we have an "everyday problem" as the UI history is broken... was just not following-up, lese I would have fixed already... but now too late for 2.10.3 :-( (Except if other major bugs will be found...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core area:dynamic-task-mapping AIP-42 area:UI Related to UI/UX. For Frontend Developers. good first issue kind:bug This is a clearly a bug
Projects
None yet
4 participants