This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 71b8d9ff50a Update Breeze UI Files to match `pnpm` lock file (#43699)
71b8d9ff50a is described below
commit 71b8d9ff50a73010c1c85d3523b71643a5265f18
Author: Brent Bovenzi <[email protected]>
AuthorDate: Tue Nov 5 18:23:24 2024 -0500
Update Breeze UI Files to match `pnpm` lock file (#43699)
For the CI, we just copied over the www files over to the UI_FILES, but as
caught
[here](https://github.com/apache/airflow/pull/43633#issuecomment-2455138419),
pnpm's lock file is yaml and wasn't being caught.
Now, we will just have all files inside of `airflow/ui` count. Then,
changes to the html file,`.prettierrc`, or anything else also don't force the
CI to run everything.
Also, added the pnpm lock yaml file to the javascript production files
check.
---
dev/breeze/src/airflow_breeze/utils/selective_checks.py | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
index ae344b66c02..7315d6f7350 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -154,6 +154,7 @@ CI_FILE_GROUP_MATCHES = HashableDict(
FileGroupForCi.JAVASCRIPT_PRODUCTION_FILES: [
r"^airflow/.*\.[jt]sx?",
r"^airflow/.*\.lock",
+ r"^airflow/ui/.*\.yaml$",
],
FileGroupForCi.API_TEST_FILES: [
r"^airflow/api/",
@@ -189,12 +190,7 @@ CI_FILE_GROUP_MATCHES = HashableDict(
r"^chart/values\.schema\.json",
r"^chart/values\.json",
],
- FileGroupForCi.UI_FILES: [
- r"^airflow/ui/.*\.ts[x]?$",
- r"^airflow/ui/.*\.js[x]?$",
- r"^airflow/ui/[^/]+\.json$",
- r"^airflow/ui/.*\.lock$",
- ],
+ FileGroupForCi.UI_FILES: [r"^airflow/ui/"],
FileGroupForCi.LEGACY_WWW_FILES: [
r"^airflow/www/.*\.ts[x]?$",
r"^airflow/www/.*\.js[x]?$",