apache / apache/airflow

TaskGroup actions could miss some TIs

Open
#59,235 2 comments 0 reactions 0 assignees View on GitHub
area:TaskGroup area:UI kind:bug
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

Clearing or Marking as Success/Fail a taskgroup could actually miss some TIs.

In the current implementation, we fetch the group TIs by filtering TIs on the `taskDisplayNamePattern` (groupId) pattern.

The result is paginated and we only retrieve the first 50 results. If the group holds more than page_size items, some will be skipped.

Contributor guide

Open the contributing guide

Research direction

Start by locating the TaskGroup action code and the task-instance query filtering on taskDisplayNamePattern (groupId), then trace how pagination is applied. Reproduce the issue with a group containing more than 50 task instances and verify that clearing or marking success or failure reaches every matching instance, including those beyond the first page.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.