Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Lee-W
Copy link
Member

@Lee-W Lee-W commented Sep 11, 2025

Why

task instance not in deferred state but without responded_at should not be considered as pending action

What

Add TaskInstance.state == TaskInstanceState.DEFERRED as part of the filter condition


^ 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.

@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Sep 11, 2025
@Lee-W Lee-W marked this pull request as draft September 11, 2025 21:02
@Lee-W Lee-W force-pushed the check-whether-ti-is-defering-when-fetching-pending-actions branch from 3842398 to 6dd3de2 Compare September 11, 2025 21:43
@Lee-W Lee-W added this to the Airflow 3.1.0 milestone Sep 11, 2025
@Lee-W Lee-W self-assigned this Sep 11, 2025
@Lee-W Lee-W force-pushed the check-whether-ti-is-defering-when-fetching-pending-actions branch from 6dd3de2 to 70fa2fd Compare September 11, 2025 22:36
@Lee-W Lee-W marked this pull request as ready for review September 12, 2025 01:46
@Lee-W Lee-W moved this to In progress in AIP-90 - Human in the loop Sep 12, 2025
@Lee-W Lee-W force-pushed the check-whether-ti-is-defering-when-fetching-pending-actions branch from 70fa2fd to 6127ac3 Compare September 12, 2025 01:50
Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for the fix as well.

Would it be better to add test for this change? Non-blocking, can be done in further PR.

@Lee-W
Copy link
Member Author

Lee-W commented Sep 12, 2025

LGTM for the fix as well.

Would it be better to add test for this change? Non-blocking, can be done in further PR.

The test is kinda there but yes, can be improved
i'd like that to be done in a follow up to catch the 3.1 release

@Lee-W Lee-W merged commit 81cfe3d into apache:main Sep 12, 2025
109 checks passed
@Lee-W Lee-W deleted the check-whether-ti-is-defering-when-fetching-pending-actions branch September 12, 2025 23:13
@github-project-automation github-project-automation bot moved this from In progress to Done in AIP-90 - Human in the loop Sep 12, 2025
kaxil pushed a commit that referenced this pull request Sep 14, 2025
suman-himanshu pushed a commit to suman-himanshu/airflow that referenced this pull request Sep 17, 2025
Brunda10 pushed a commit to Brunda10/airflow that referenced this pull request Sep 17, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Sep 30, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 1, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 2, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants