pierrejeambrun commented on code in PR #52437:
URL: https://github.com/apache/airflow/pull/52437#discussion_r2182807077


##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_dag_run.py:
##########
@@ -464,6 +464,20 @@ def test_bad_limit_and_offset(self, test_client, 
query_params, expected_detail):
                 },
                 [DAG1_RUN2_ID],
             ),
+            (DAG1_ID, {"run_id": DAG1_RUN1_ID}, [DAG1_RUN1_ID]),
+            (DAG2_ID, {"run_id": DAG2_RUN1_ID}, [DAG2_RUN1_ID]),
+            ("~", {"run_id": DAG1_RUN1_ID}, [DAG1_RUN1_ID]),
+            ("~", {"run_id": "non_existent_run_id"}, []),
+            (DAG1_ID, {"run_id": "%run_1%"}, [DAG1_RUN1_ID]),
+            ("~", {"run_id": "%dag_run_%"}, [DAG1_RUN1_ID, DAG1_RUN2_ID, 
DAG2_RUN1_ID, DAG2_RUN2_ID]),

Review Comment:
   Can you adjust tests to no explicitely pass `%` that is not needed, and done 
under the hood.



##########
airflow-core/src/airflow/ui/public/i18n/locales/en/dags.json:
##########
@@ -13,7 +13,8 @@
       "active": "Active",
       "all": "All",
       "paused": "Paused"
-    }
+    },
+    "runIdPatternFilter": "Add run_id filter"

Review Comment:
   "Search by run_id"



-- 
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]

Reply via email to