Skip to content

Conversation

@Pei-Cheng-Yu
Copy link
Contributor

WHY

related: #53043
While working on the Task Instances counterpart( #56920 just for ref ), I encountered a similar issue with the “All” option.
On the Dag Runs page, selecting All for State and/or Run Type currently sends values that the backend interprets as real filters, which leads to an error. The "All" option should clear the filter, instead of sends values as filters option

picture:
error param dag-run
image
error run type

error run type all option

HOW

The filter logic now clears the value for the filter itself rather than passing it as a filter value , without affecting other active filters.


^ 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:UI Related to UI/UX. For Frontend Developers. label Nov 9, 2025
@guan404ming guan404ming force-pushed the fix-dag_run-filter-error-with-all_state branch from b6aebba to be85bf5 Compare November 9, 2025 16:35
@guan404ming
Copy link
Member

Could you help resolve the static check error? Thanks!

@Pei-Cheng-Yu Pei-Cheng-Yu force-pushed the fix-dag_run-filter-error-with-all_state branch from be85bf5 to 916ae85 Compare November 12, 2025 07:45
@Pei-Cheng-Yu
Copy link
Contributor Author

HI @guan404ming, thanks for the review. I have resolved the static check error.

Copy link
Member

@guan404ming guan404ming left a comment

Choose a reason for hiding this comment

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

Thanks for the update

@Pei-Cheng-Yu
Copy link
Contributor Author

Hi @guan404ming, thank you for the approval!
Just checking in — is there anything else I should do before it can be merged? Totally no rush!
Just making sure I’m not missing anything. Really appreciate your help!

@bbovenzi bbovenzi added this to the Airflow 3.1.4 milestone Nov 20, 2025
@bbovenzi bbovenzi added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Nov 20, 2025
@bbovenzi bbovenzi merged commit 9e7b36e into apache:main Nov 20, 2025
60 checks passed
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Dec 1, 2025
@bbovenzi bbovenzi removed the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Dec 2, 2025
@bbovenzi bbovenzi modified the milestones: Airflow 3.1.4, Airflow 3.2.0 Dec 2, 2025
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
)

* fix bug on the state and run_type filter for Dag Runs page

* fix format

* fix too long file

* fixing static problem

* fix too long file

* fix format problem

* fix format

* fix format

* remove  eslint-disable max-lines
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
)

* fix bug on the state and run_type filter for Dag Runs page

* fix format

* fix too long file

* fixing static problem

* fix too long file

* fix format problem

* fix format

* fix format

* remove  eslint-disable max-lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants