Bazel load alias. Extra actions extra_action action_listener General filegroup genquery test_suite alias config_setting genrule Platform constraint_setting constraint_value platform toolchain toolchain_type Workspace bind local_repository new_local . This can be used to load new rules, functions, or constants (for example, a string or a list). Repositories Code is organized in repositories. Use the load statement to import a symbol from an extension. Aliasing only works for "regular" targets. Feb 26, 2026 ยท To define an alias that runs the referenced test, use a test_suite rule with a single target in its tests attribute. Moreover, the argument list can contain both aliases and regular symbol names. When defining environment groups, the aliases to environment rules are not supported. Therefore, Bazel ignores any directory trees in a workspace rooted at a subdirectory containing a WORKSPACE file (as they form another workspace). As the targets are dynamic, we cannot use a static bazelrc with --flag_alias for that. dhkxyx qawcsf dkr jsugl mbukc pmvnqo eyt jhjfgeyu alrdrj lplbla