Skip to content

Conversation

@bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented Aug 28, 2025

Related: #54961

Add hitl that need reviews as pending_actions on ui/dags. Show "Needs Review" as a badge on the dags list. Allow a user to filter the dags list to only show dags that need review. Dashboard link now redirects to the dags list filtered.

Screenshot 2025-08-29 at 12 56 26 PM

^ 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 area:API Airflow's REST/HTTP API area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default labels Aug 28, 2025
@Lee-W Lee-W self-requested a review August 28, 2025 23:53
@Lee-W Lee-W moved this to In progress in AIP-90 - Human in the loop Aug 29, 2025
@bbovenzi bbovenzi marked this pull request as ready for review August 29, 2025 17:00
@bbovenzi
Copy link
Contributor Author

Need to do some more "Required Actions" -> "Needs Review" renaming but in another PR

Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Filter looks good in general but ... naming is hard. I am not 100% OK with "Needs Review". Functional and Code is perfect!

@Lee-W Lee-W moved this from In progress to In review in AIP-90 - Human in the loop Aug 30, 2025
Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

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

Non-blocking, this can be done in follow-up PR.

Would it be better to check whether the pending_actions_select.value is None or not then decide whether to execute the pending_actions_select query?

@shahar1
Copy link
Contributor

shahar1 commented Sep 1, 2025

If you plan to merge it before the 3.1 release, please consider my comment in this PR: #55119 (comment)

@Lee-W
Copy link
Member

Lee-W commented Sep 1, 2025

If you plan to merge it before the 3.1 release, please consider my comment in this PR: #55119 (comment)

sure :)

@Lee-W Lee-W force-pushed the hitl-on-dags-list branch from b1421c8 to f695cba Compare September 1, 2025 09:41
@Lee-W Lee-W force-pushed the hitl-on-dags-list branch from ddf2906 to d9597b7 Compare September 2, 2025 11:00
Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

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

Just one nit, but looks good. Thanks.

@bbovenzi
Copy link
Contributor Author

bbovenzi commented Sep 2, 2025

If you plan to merge it before the 3.1 release, please consider my comment in this PR: #55119 (comment)

Thanks for the reminder. I'll try to reduce the i18n surface area of this PR and keep any renaming discussion on a follow up branch.

@bbovenzi bbovenzi merged commit 06ce1bb into apache:main Sep 2, 2025
107 checks passed
@bbovenzi bbovenzi deleted the hitl-on-dags-list branch September 2, 2025 22:10
@github-project-automation github-project-automation bot moved this from In review to Done in AIP-90 - Human in the loop Sep 2, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Sep 30, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 1, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 2, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
* Add pendingActions onto ui/dags

* refactor(api_fastapi): unify usage of the term Dag

* refactor(api_fastapi): simplify HITL loading logic

* test: add test case test_should_return_200_with_hitl

* Refactor naming scheme and filter

* fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query

* feat(zh-tw): update Taiwanese Mandarin translation

* Reduce i18n surface area and parameterize dags test

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
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:translations area:UI Related to UI/UX. For Frontend Developers. translation:default

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants