Remove cmake ubsan/asan bots from CQ

They may still be manually included, and run on CI.

Fixed: 346825092
Change-Id: I408a69a91a77b863380db9ab600ab31ed2a4de17
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/193240
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Auto-Submit: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
diff --git a/infra/config/global/generated/commit-queue.cfg b/infra/config/global/generated/commit-queue.cfg
index 1d226d3..74b1a49 100644
--- a/infra/config/global/generated/commit-queue.cfg
+++ b/infra/config/global/generated/commit-queue.cfg
@@ -230,70 +230,6 @@
         }
       }
       builders {
-        name: "dawn/try/cmake-linux-clang-dbg-x64-asan"
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: ".*"
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "\\.github/.+"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "webgpu-cts/[^/]*expectations.txt"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "tools/src/.+"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "go\\.(mod|sum)"
-          exclude: true
-        }
-      }
-      builders {
-        name: "dawn/try/cmake-linux-clang-dbg-x64-ubsan"
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: ".*"
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "\\.github/.+"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "webgpu-cts/[^/]*expectations.txt"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "tools/src/.+"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "go\\.(mod|sum)"
-          exclude: true
-        }
-      }
-      builders {
         name: "dawn/try/cmake-linux-clang-rel-x64"
         location_filters {
           gerrit_host_regexp: ".*"
@@ -326,70 +262,6 @@
         }
       }
       builders {
-        name: "dawn/try/cmake-linux-clang-rel-x64-asan"
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: ".*"
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "\\.github/.+"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "webgpu-cts/[^/]*expectations.txt"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "tools/src/.+"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "go\\.(mod|sum)"
-          exclude: true
-        }
-      }
-      builders {
-        name: "dawn/try/cmake-linux-clang-rel-x64-ubsan"
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: ".*"
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "\\.github/.+"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "webgpu-cts/[^/]*expectations.txt"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "tools/src/.+"
-          exclude: true
-        }
-        location_filters {
-          gerrit_host_regexp: ".*"
-          gerrit_project_regexp: ".*"
-          path_regexp: "go\\.(mod|sum)"
-          exclude: true
-        }
-      }
-      builders {
         name: "dawn/try/cmake-mac-dbg"
         location_filters {
           gerrit_host_regexp: ".*"
diff --git a/infra/config/global/main.star b/infra/config/global/main.star
index 507ed01..6ee3a4e 100755
--- a/infra/config/global/main.star
+++ b/infra/config/global/main.star
@@ -546,18 +546,20 @@
         builder = "try/" + name,
     )
 
-    luci.cq_tryjob_verifier(
-        experiment_percentage = 100 if experimental else None,
-        cq_group = "Dawn-CQ",
-        builder = "dawn:try/" + name,
-        location_filters = [
-            cq.location_filter(path_regexp = ".*"),
-            cq.location_filter(
-                path_regexp = "\\.github/.+",
-                exclude = True,
-            ),
-        ] + cmake_msvc_file_exclusions,
-    )
+    # Only add CQ verifiers for non-ASAN and non-UBSAN bots to minimize CQ load.
+    if not asan and not ubsan:
+        luci.cq_tryjob_verifier(
+            experiment_percentage = 100 if experimental else None,
+            cq_group = "Dawn-CQ",
+            builder = "dawn:try/" + name,
+            location_filters = [
+                cq.location_filter(path_regexp = ".*"),
+                cq.location_filter(
+                    path_regexp = "\\.github/.+",
+                    exclude = True,
+                ),
+            ] + cmake_msvc_file_exclusions,
+        )
 
     # These builders run fine unbranched on branch CLs, so add them to the
     # branch groups as well.