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

Latest log not shown in grid view for deferred task #27955

Closed
1 of 2 tasks
tanelk opened this issue Nov 28, 2022 · 2 comments · Fixed by #26993
Closed
1 of 2 tasks

Latest log not shown in grid view for deferred task #27955

tanelk opened this issue Nov 28, 2022 · 2 comments · Fixed by #26993
Labels
affected_version:2.4 Issues Reported for 2.4 area:core area:UI Related to UI/UX. For Frontend Developers. kind:bug This is a clearly a bug

Comments

@tanelk
Copy link
Contributor

tanelk commented Nov 28, 2022

Apache Airflow version

2.4.3

What happened

In the grid view I do not see the logs for the latest try number if the task is in deferred state. I do see it in the "old" log view.

Grid view:
image

"Old" view:
image

It could have something to do with the deferred task getting its try_number reduced by 1 - in my example try_number=1 and next_try_number=2.

# Decrement try number so the next one is the same try
self._try_number -= 1

What you think should happen instead

No response

How to reproduce

No response

Operating System

Red Hat

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

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

@tanelk tanelk added area:core kind:bug This is a clearly a bug labels Nov 28, 2022
@tanelk
Copy link
Contributor Author

tanelk commented Nov 28, 2022

@bbovenzi, you probably know the best how to handle this.

@bbovenzi
Copy link
Contributor

Yeah, there's an issue with the try number. I tried to fix it in #26993 but I should go back and find a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affected_version:2.4 Issues Reported for 2.4 area:core area:UI Related to UI/UX. For Frontend Developers. kind:bug This is a clearly a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants