The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user pierrejeambrun (triggered by pierrejeambrun).

Head commit for run:
510b968533e4201151de9eebd95ca770a1f2636f / Ephraim Anierobi 
<[email protected]>
Fix duplication of Task tries in the UI (#43891) (#43950)

It was observed that there are moments where the TI tries endpoint returns 
duplicate
TaskInstance. I have observed this to happen when the TI is in up_for_retry 
state.

When the TI is in up_for_retry state, we have already recorded the previous try
in TI history and the TI try_number has not incremented at this time, so we must
exclude this recorded TI from the taskinstance tries endpoint. We know the TI 
because
its state is in up_for_retry, so we filter TIs with up_for_retry state when 
querying
for the task instance tries.

Closes: #41765
(cherry picked from commit 4bc1257df4bf1f7391ad8bca3b10d294b2d92e7a)

Report URL: https://github.com/apache/airflow/actions/runs/11813713824

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to