Skip to content

Conversation

@dstandish
Copy link
Contributor

@dstandish dstandish commented May 27, 2025

This reverts commit 0b0ff5d from PR #50175.

After that PR, if you clear a TI in UI, then you see two log entries with try number 1, and both the TI record and the TI history record have try number = 1.

It's not clear why.

cc @pierrejeambrun this is a weird one and you may have some ideas.

Screenshot:

image

Note it's not only a UI / cosmetic issue. The actual row in TI has the wrong try number (1) when it should be 2 after clearing.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@dstandish
Copy link
Contributor Author

@dstandish dstandish merged commit fbc7156 into apache:main May 27, 2025
100 checks passed
@dstandish dstandish deleted the revert-#50175 branch May 27, 2025 21:13
@github-actions
Copy link

Backport failed to create: v3-0-test. View the failure log Run details

Status Branch Result
v3-0-test Commit Link

You can attempt to backport this manually by running:

cherry_picker fbc7156 v3-0-test

This should apply the commit to the v3-0-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

@pierrejeambrun
Copy link
Member

That's weird because at first I though we were only doing reads.

But actually I see that in the function later on there is ti.task = dag.get_task(ti.task_id) but now we have a TIH. Which might break things on TIH.

Good catch.

@pierrejeambrun
Copy link
Member

Reverting backport PR:
#51145

sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
jose-lehmkuhl pushed a commit to jose-lehmkuhl/airflow that referenced this pull request Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:logging backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants