deepujain opened a new pull request, #75725: URL: https://github.com/apache/airflow/pull/75725
**Title:** Apply Gantt date filters to mapped tasks and task groups ## Summary After clearing and rerunning tasks, a Gantt date filter can hide old individual attempts while mapped-task and task-group bars still span the old dates. For example, selecting a two-hour attempt on 31 December can leave an aggregate bar stretching back to 1 December. The aggregate bars now use the same date window as individual attempts. ## Changes The summary stream receives the selected bounds and filters attempts before aggregation. It includes matching archived attempts, omits pending retry placeholders and uses the current run's live Dag structure. An empty result replaces the previous summary so bars disappear when nothing matches. Clearing the filter restores the existing unfiltered behavior. #73555 added the selector and individual-attempt filtering; this completes the aggregate-bar limitation it documented. Earlier proposals #64204, #64387 and #74013 closed without merging. ## Visual evidence The same browser fixture uses the production Gantt component and HTTP hooks with attempts on 1 and 31 December. With Start Date set to 31 December, the axis spans roughly 30 days before the fix and two hours afterward. This fixture does not run a live scheduler. Before:  After:  ## Test plan - [x] Reproduced missing request bounds and the incorrect aggregate start date with failing tests. - [x] Covered mapped tasks, groups, archived attempts, pending retries, version changes and empty results. The stream regression also clears and reapplies filters. - [x] Passed the full UI suite: 257 files, 2,181 tests passed and 4 skipped, using Node 22.19. - [x] Passed the SimpleAuthManager UI test, scoped pre-commit and manual checks, and TypeScript compilation. - [x] Passed the selected API/Always suites: 6,469 database tests and 1,255 non-DB tests. Passed the selected common.compat/fab suites: 415 database tests and 615 non-DB tests. Existing skips and one expected failure retain their repository-defined reasons. - [x] Built the core, common.compat and fab documentation. - [x] Repeated all 125 focused API tests on the current head after rebasing onto current main. The broader suites above ran before that rebase; all files in this fix are unchanged. - [ ] Hosted CI and review. closes: #63715 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (OpenAI Codex) Generated-by: OpenAI Codex following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
