Skip to content

Conversation

@gopidesupavan
Copy link
Member

Adding mapping index option to GetTICount and GetTaskStates.

The default option is None, because if the user not input any task_ids/task_group_id, we would want to fetch all the tasks that satsfies other condition(dag_id, run_ids).


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

@gopidesupavan gopidesupavan marked this pull request as draft April 26, 2025 11:45
@gopidesupavan gopidesupavan marked this pull request as ready for review April 26, 2025 13:15
@gopidesupavan gopidesupavan marked this pull request as draft April 26, 2025 14:54
@gopidesupavan gopidesupavan marked this pull request as ready for review April 26, 2025 15:43
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

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

Generally looks good, some comments.

@gopidesupavan
Copy link
Member Author

@kaxil about cadwine migration comment, do we need to do it for this, is it manually i need to generate?

@gopidesupavan gopidesupavan added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Apr 29, 2025
@gopidesupavan gopidesupavan merged commit 1099e08 into apache:main Apr 29, 2025
96 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 29, 2025
…es (#49818)

* Add map_index filter option to GetTICount and GetTaskStates

* Add map_index filter option to GetTICount and GetTaskStates

* Update get_task_instance_states response to include map index tasks and fix to return only tasks under taskgroup when task group only provides

* Add tests

* Resolve comments

* Fix tests
(cherry picked from commit 1099e08)

Co-authored-by: GPK <gopidesupavan@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Apr 29, 2025
…es (apache#49818)

* Add map_index filter option to GetTICount and GetTaskStates

* Add map_index filter option to GetTICount and GetTaskStates

* Update get_task_instance_states response to include map index tasks and fix to return only tasks under taskgroup when task group only provides

* Add tests

* Resolve comments

* Fix tests
(cherry picked from commit 1099e08)

Co-authored-by: GPK <gopidesupavan@gmail.com>
mvfc pushed a commit to mvfc/airflow that referenced this pull request Apr 29, 2025
…9818)

* Add map_index filter option to GetTICount and GetTaskStates

* Add map_index filter option to GetTICount and GetTaskStates

* Update get_task_instance_states response to include map index tasks and fix to return only tasks under taskgroup when task group only provides

* Add tests

* Resolve comments

* Fix tests
jroachgolf84 pushed a commit to jroachgolf84/airflow that referenced this pull request Apr 30, 2025
…9818)

* Add map_index filter option to GetTICount and GetTaskStates

* Add map_index filter option to GetTICount and GetTaskStates

* Update get_task_instance_states response to include map index tasks and fix to return only tasks under taskgroup when task group only provides

* Add tests

* Resolve comments

* Fix tests
kaxil pushed a commit that referenced this pull request Apr 30, 2025
…es (#49818) (#49979)

* Add map_index filter option to GetTICount and GetTaskStates

* Add map_index filter option to GetTICount and GetTaskStates

* Update get_task_instance_states response to include map index tasks and fix to return only tasks under taskgroup when task group only provides

* Add tests

* Resolve comments

* Fix tests
(cherry picked from commit 1099e08)

Co-authored-by: GPK <gopidesupavan@gmail.com>
@gopidesupavan gopidesupavan deleted the add-map-index-option branch May 28, 2025 20:31
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:task-sdk area:Triggerer 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.

4 participants