-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Fix bug on the state and run_type filter for Dag Runs page #58093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug on the state and run_type filter for Dag Runs page #58093
Conversation
b6aebba to
be85bf5
Compare
|
Could you help resolve the static check error? Thanks! |
be85bf5 to
916ae85
Compare
|
HI @guan404ming, thanks for the review. I have resolved the static check error. |
guan404ming
left a comment
There was a problem hiding this 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
|
Hi @guan404ming, thank you for the approval! |
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:



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.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.