From d7de2ab9de7a3b431163ef6e0a78cc2f070c0729 Mon Sep 17 00:00:00 2001 From: Long Ho Date: Wed, 7 Oct 2026 18:14:11 +0000 Subject: [PATCH] fix: scope development-only module dependencies --- MODULE.bazel | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index b450482..e1b4d24 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -4,6 +4,7 @@ module( bazel_compatibility = [">=8.5.0"], ) +# These rules and compilers build tools used by downstream browser targets. bazel_dep(name = "rules_shell", version = "0.8.0") bazel_dep(name = "platforms", version = "1.1.0") bazel_dep(name = "aspect_rules_js", version = "3.4.1") @@ -26,17 +27,19 @@ use_repo(typescript, "npm_typescript") linux_presets = use_extension("//playwright:presets.bzl", "linux_presets") use_repo(linux_presets, "rules_web_e2e_noble_20260901", "rules_web_e2e_noble_20260901_arm64") -# Used only by worker setup; ordinary browser targets do not fetch this archive. +# Used only by this repository's end-to-end worker setup. http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file") http_file( name = "rules_web_e2e_actiond_source", + dev_dependency = True, downloaded_file_path = "actiond.tar.gz", sha256 = "efef39fc1d4888a8225eaca9f0663842ba60c256be8124265d917cd305226dc5", urls = ["https://github.com/hermeticbuild/actiond/archive/4b767e852e21c5affa72ea7ebbf4d8a6e5d58136.tar.gz"], ) -# Build native test-launcher tools for the isolated Linux worker. +# Build native test-launcher tools for consumers' Linux browser targets. +# The source overlays also need rules_license and rules_cc. bazel_dep(name = "llvm", version = "0.8.19") bazel_dep(name = "rules_license", version = "1.0.0") bazel_dep(name = "zip", version = "3.0") @@ -50,8 +53,6 @@ runtime_input_files( dev_dependency = True, ) -bazel_dep(name = "ncurses", version = "6.4.20221231.bcr.4") - test_tool_sources = use_extension("//internal/test_tools:repositories.bzl", "sources") use_repo(test_tool_sources, "test_tools_libmagic", "test_tools_toybox")