Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
browser: ${{ matrix.browser }}
os: ${{ matrix.os }}
rerun-with-debug: true
ruby-version: 3.2.9
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This job now hardcodes ruby-version: 3.2.9 even though the shared bazel.yml workflow already uses rb/.ruby-version when ruby-version is unset. Consider leaving it unset (or referencing a single source of truth) to avoid version drift when Ruby is upgraded.

Suggested change
ruby-version: 3.2.9

Copilot uses AI. Check for mistakes.
run: >
bazel test
--keep_going
Expand Down
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
load("@aspect_rules_js//npm:defs.bzl", "npm_link_package")
load("@buildifier_prebuilt//:rules.bzl", "buildifier")
load("@npm//:defs.bzl", "npm_link_all_packages")
load("@rules_java//java:java_binary.bzl", "java_binary")
load("//common:browsers.bzl", "chrome_data", "firefox_data")
load("//java:browsers.bzl", "chrome_jvm_flags", "firefox_jvm_flags")
load("//java:defs.bzl", "artifact")
Expand Down
11 changes: 10 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ single_version_override(
patches = ["//java:rules_jvm_external_javadoc.patch"],
)

git_override(
module_name = "rules_ruby",
commit = "def6f129710043bac2276c956df4775b05be6fc1",
remote = "https://github.com/bazel-contrib/rules_ruby",
)

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Expand Down Expand Up @@ -255,7 +261,7 @@ ruby.toolchain(
"curl",
"libyaml",
],
ruby_build_version = "20260110",
portable_ruby = True,
version_file = "//:rb/.ruby-version",
)
ruby.bundle_fetch(
Expand Down Expand Up @@ -354,6 +360,9 @@ ruby.bundle_fetch(
},
gemfile = "//:rb/Gemfile",
gemfile_lock = "//:rb/Gemfile.lock",
jar_checksums = {
"org.snakeyaml:snakeyaml-engine:2.10": "c99d9fd66c7c251d881a9cd95089b7c8044c29a1b02983d7036981bd4354ec37",
},
)
use_repo(ruby, "bundle", "ruby", "ruby_toolchains")

Expand Down
1 change: 1 addition & 0 deletions common/remote-build/cc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

# This becomes the BUILD file for @local_config_cc// under non-BSD unixes.

load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:defs.bzl", "cc_toolchain", "cc_toolchain_suite")
load(":armeabi_cc_toolchain_config.bzl", "armeabi_cc_toolchain_config")
load(":cc_toolchain_config.bzl", "cc_toolchain_config")
Expand Down
1 change: 1 addition & 0 deletions common/remote-build/cc/armeabi_cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ load(
"feature",
"tool_path",
)
load("@rules_cc//cc/common:cc_common.bzl", "cc_common")

def _impl(ctx):
toolchain_identifier = "stub_armeabi-v7a"
Expand Down
1 change: 1 addition & 0 deletions common/remote-build/cc/cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ load(
"variable_with_value",
"with_feature_set",
)
load("@rules_cc//cc/common:cc_common.bzl", "cc_common")

def layering_check_features(compiler):
if compiler != "clang":
Expand Down
2 changes: 2 additions & 0 deletions cpp/linux-specific/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")

cc_binary(
name = "noblur64",
srcs = glob([
Expand Down
2 changes: 2 additions & 0 deletions java/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
load("@bazel_skylib//rules:common_settings.bzl", "string_flag")
load("@contrib_rules_jvm//java:defs.bzl", "spotbugs_binary", "spotbugs_config")
load("@rules_java//java:java_library.bzl", "java_library")
load("@rules_java//java:java_plugin.bzl", "java_plugin")
load(":defs.bzl", "artifact")

exports_files(
Expand Down
1 change: 1 addition & 0 deletions java/private/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_java//java:java_binary.bzl", "java_binary")
load("@rules_jvm_external//:defs.bzl", "artifact")

exports_files(
Expand Down
1 change: 1 addition & 0 deletions java/private/common.bzl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_java//java/common:java_info.bzl", "JavaInfo")
load("//java/private:module.bzl", "JavaModuleInfo")

MavenInfo = provider(
Expand Down
1 change: 1 addition & 0 deletions java/private/dist_info.bzl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_java//java/common:java_info.bzl", "JavaInfo")
load("//java/private:common.bzl", "MavenInfo", "explode_coordinates", "read_coordinates")
load("//java/private:module.bzl", "JavaModuleInfo")

Expand Down
3 changes: 3 additions & 0 deletions java/private/module.bzl
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
load("@rules_java//java/common:java_common.bzl", "java_common")
load("@rules_java//java/common:java_info.bzl", "JavaInfo")

_GatheredModuleInfo = provider(
fields = {
"name": "Name of the module, may be `None`.",
Expand Down
1 change: 1 addition & 0 deletions java/test/org/openqa/selenium/firefox/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_java//java:java_library.bzl", "java_library")
load("@rules_jvm_external//:defs.bzl", "artifact")
load("//common:defs.bzl", "copy_file")
load("//java:defs.bzl", "JUNIT5_DEPS", "java_selenium_test_suite", "java_test_suite")
Expand Down
1 change: 1 addition & 0 deletions java/test/org/openqa/selenium/grid/router/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_java//java:java_library.bzl", "java_library")
load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "BIDI_BROWSERS", "JUNIT5_DEPS", "SINGLE_BROWSER", "java_selenium_test_suite", "java_test_suite")
load("//java:version.bzl", "TOOLS_JAVA_VERSION")
Expand Down
1 change: 1 addition & 0 deletions java/test/org/openqa/selenium/netty/server/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_java//java:java_library.bzl", "java_library")
load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "JUNIT5_DEPS", "java_test_suite")

Expand Down
1 change: 1 addition & 0 deletions javascript/grid-ui/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ load("@aspect_rules_jest//jest:defs.bzl", "jest_test")
load("@aspect_rules_js//js:defs.bzl", "js_library")
load("@aspect_rules_ts//ts:defs.bzl", "ts_project")
load("@npm//:defs.bzl", "npm_link_all_packages")
load("@rules_java//java:java_import.bzl", "java_import")
load("@rules_pkg//pkg:zip.bzl", "pkg_zip")
load("//java:defs.bzl", "merge_jars")

Expand Down
1 change: 1 addition & 0 deletions javascript/grid-ui/public/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_java//java:java_import.bzl", "java_import")
load("@rules_pkg//pkg:zip.bzl", "pkg_zip")

pkg_zip(
Expand Down
4 changes: 2 additions & 2 deletions javascript/private/test_suite.bzl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_java//java:java_binary.bzl", "java_binary")
load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "selenium_test")

Expand Down Expand Up @@ -28,8 +29,7 @@ def closure_test_suite(name, data = [], browsers = None):
kwargs["browsers"] = browsers

selenium_test(**kwargs)

native.java_binary(
java_binary(
name = name + "_debug_server",
main_class = "org.openqa.selenium.environment.webserver.NettyAppServer",
data = data,
Expand Down
2 changes: 1 addition & 1 deletion rb/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,4 @@ DEPENDENCIES
yard (~> 0.9.11, >= 0.9.36)

BUNDLED WITH
2.4.19
4.0.6
1 change: 1 addition & 0 deletions scripts/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
load("@py_dev_requirements//:requirements.bzl", "requirement")
load("@rules_java//java:java_binary.bzl", "java_binary")
load("@rules_python//python:defs.bzl", "py_binary")
load("//java:defs.bzl", "artifact")

Expand Down
Loading