Fix missing logs in UI for tasks in UP_FOR_RETRY and UP_FOR_RESCHEDULE states (#54544)#54547
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
4aca488 to
c09e533
Compare
c09e533 to
bf742f5
Compare
bf742f5 to
aeec657
Compare
93f848d to
70cbf68
Compare
5d1b900 to
22d2777
Compare
22d2777 to
549e679
Compare
|
let's see what CI says |
potiuk
left a comment
There was a problem hiding this comment.
LGTM - but I think other who look at the task logs should take a look. also I think it calls for a unit test.
|
Can you please add unit test @ido177 |
f4d34ef to
4da3584
Compare
|
Hi, just added |
|
@ido177 can you fix static checks? |
UP_FOR_RETRY and UP_FOR_RESCHEDULE states (#54544)
501631a to
9c87e55
Compare
Backport successfully created: v3-1-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
…P_FOR_RESCHEDULE` states (apache#54547) (cherry picked from commit f7ce3ec) Co-authored-by: Kirill Romanikhin <63454209+ido177@users.noreply.github.com>
Backport failed to create: v2-11-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker f7ce3ec v2-11-testThis should apply the commit to the v2-11-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
|
Backport to 2.11.2 #62877 |
closes: #54544
Fix missing logs in UI for tasks in UP_FOR_RETRY state
Include TaskInstanceState.UP_FOR_RETRY in the log retrieval condition
to ensure logs are shown when a task retries. Previously, tasks that
entered UP_FOR_RETRY had no logs displayed in the UI when using local
log storage.