Skip to content

Conversation

@titusfortner
Copy link
Member

💥 What does this PR do?

Adds a flexible //rb:rubocop binary target that accepts any rubocop flags,
and removes the now-redundant //rb:lint-unsafe target.

🔧 Implementation Notes

  • //rb:rubocop includes only the config and file paths, letting you pass any flags via --
  • Examples:
    • bazel run //rb:rubocop -- --autocorrect-all (replaces //rb:lint-unsafe)
    • bazel run //rb:rubocop -- --only Metrics/AbcSize
    • bazel run //rb:rubocop -- --auto-gen-config
  • //rb:lint unchanged - still runs as a test with --autocorrect

💡 Additional Considerations

This matches the pattern I've been using with ruff and format

🔄 Types of changes

  • Cleanup (formatting, renaming)

@titusfortner titusfortner requested a review from Copilot January 25, 2026 23:34
@qodo-code-review
Copy link
Contributor

User description

💥 What does this PR do?

Adds a flexible //rb:rubocop binary target that accepts any rubocop flags,
and removes the now-redundant //rb:lint-unsafe target.

🔧 Implementation Notes

  • //rb:rubocop includes only the config and file paths, letting you pass any flags via --
  • Examples:
    • bazel run //rb:rubocop -- --autocorrect-all (replaces //rb:lint-unsafe)
    • bazel run //rb:rubocop -- --only Metrics/AbcSize
    • bazel run //rb:rubocop -- --auto-gen-config
  • //rb:lint unchanged - still runs as a test with --autocorrect

💡 Additional Considerations

This matches the pattern I've been using with ruff and format

🔄 Types of changes

  • Cleanup (formatting, renaming)

PR Type

Enhancement


Description

  • Add flexible //rb:rubocop binary target for custom linting flags

  • Remove redundant //rb:lint-unsafe target

  • Enable passing arbitrary rubocop flags via -- separator

  • Maintain existing //rb:lint test target with autocorrect


Diagram Walkthrough

flowchart LR
  A["rb/BUILD.bazel"] -->|adds| B["rubocop binary target"]
  A -->|removes| C["lint-unsafe target"]
  B -->|accepts| D["custom rubocop flags"]
  C -->|replaced by| B
Loading

File Walkthrough

Relevant files
Enhancement
BUILD.bazel
Add flexible rubocop binary, remove lint-unsafe                   

rb/BUILD.bazel

  • Add new rubocop binary target that accepts flexible rubocop flags via
    -- separator
  • Remove lint-unsafe binary target which is now redundant
  • Keep existing lint test target unchanged with --autocorrect behavior
  • Both targets share common _LINT_ARGS, _LINT_DATA, and _LINT_DEPS
    configuration
+9/-9     

@selenium-ci selenium-ci added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations labels Jan 25, 2026
@qodo-code-review
Copy link
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
  • Create ticket/issue
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
🟢
Generic: Comprehensive Audit Trails

Objective: To create a detailed and reliable record of critical system actions for security analysis
and compliance.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Meaningful Naming and Self-Documenting Code

Objective: Ensure all identifiers clearly express their purpose and intent, making code
self-documenting

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Robust Error Handling and Edge Case Management

Objective: Ensure comprehensive error handling that provides meaningful context and graceful
degradation

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Error Handling

Objective: To prevent the leakage of sensitive system information through error messages while
providing sufficient detail for internal debugging.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Logging Practices

Objective: To ensure logs are useful for debugging and auditing without exposing sensitive
information like PII, PHI, or cardholder data.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Security-First Input Validation and Data Handling

Objective: Ensure all data inputs are validated, sanitized, and handled securely to prevent
vulnerabilities

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review
Copy link
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
General
Remove default arguments for flexible execution

Remove the args = _LINT_ARGS attribute from the new rubocop rb_binary target to
make it more flexible for running on user-specified paths.

rb/BUILD.bazel [214-221]

 rb_binary(
     name = "rubocop",
     testonly = True,
-    args = _LINT_ARGS,
     data = _LINT_DATA,
     main = "@bundle//bin:rubocop",
     deps = _LINT_DEPS,
 )
  • Apply / Chat
Suggestion importance[1-10]: 6

__

Why: The suggestion correctly identifies that including default args in the new rubocop target can lead to unexpected behavior and reduces its flexibility, which is likely the primary purpose of this new target.

Low
  • More

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a flexible //rb:rubocop binary target that allows passing arbitrary rubocop flags via --, and removes the now-redundant //rb:lint-unsafe target. This provides better flexibility for running rubocop with custom options while maintaining the existing //rb:lint test target unchanged.

Changes:

  • Added //rb:rubocop binary target that accepts arbitrary rubocop flags
  • Removed //rb:lint-unsafe binary target (no longer needed)

@qodo-code-review
Copy link
Contributor

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: Ruby / Unit Tests (3.2.9, macos) / Unit Tests (3.2.9, macos)

Failed stage: Run Bazel [❌]

Failed test name: //rb/spec/unit/selenium/webdriver/common/interactions:pointer_event_prop

Failure summary:

  • The GitHub Action failed because the Bazel test target
    //rb/spec/unit/selenium/webdriver/common/interactions:pointer_event_prop failed (see
    /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/testlogs/rb/spec/unit/selenium/webdriver/common/interactions/pointer_event_prop/test.log).
  • The failure occurred while loading
    ./rb/spec/unit/selenium/webdriver/common/interactions/pointer_event_prop_spec.rb, before any RSpec
    examples ran (0 examples, 0 failures, 1 error occurred outside of examples).
  • Root cause: the Ruby debug gem tried to start a debugger server and bind a UNIX domain socket, but
    Socket#bind failed with Errno::EINVAL (Invalid argument - bind(2) for
    /var/folders/.../T/rdbg-501/rdbg-66716) originating from Ruby’s socket.rb:205 and debug/server.rb.
  • Bazel reported Build completed, 1 test FAILED, and the workflow step exited with code 3
    (##[error]Process completed with exit code 3.).
Relevant error logs:
1:  ##[group]Runner Image Provisioner
2:  Hosted Compute Agent
...

621:  �[32mAnalyzing:�[0m 67 targets (132 packages loaded, 19 targets configured)
622:  �[32mAnalyzing:�[0m 67 targets (163 packages loaded, 1350 targets configured)
623:  �[32mAnalyzing:�[0m 67 targets (164 packages loaded, 2274 targets configured)
624:  �[32mAnalyzing:�[0m 67 targets (181 packages loaded, 4718 targets configured)
625:  �[32mAnalyzing:�[0m 67 targets (181 packages loaded, 4890 targets configured)
626:  �[32mAnalyzing:�[0m 67 targets (181 packages loaded, 4890 targets configured)
627:  �[32mAnalyzing:�[0m 67 targets (181 packages loaded, 4890 targets configured)
628:  �[32mAnalyzing:�[0m 67 targets (181 packages loaded, 4890 targets configured)
629:  �[32mAnalyzing:�[0m 67 targets (181 packages loaded, 4890 targets configured)
630:  �[32mAnalyzing:�[0m 67 targets (192 packages loaded, 7413 targets configured)
631:  �[33mDEBUG: �[0m/Users/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:
632:  org.seleniumhq.selenium:selenium-api
633:  org.seleniumhq.selenium:selenium-remote-driver
634:  �[33mDEBUG: �[0m/Users/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:
635:  com.google.code.findbugs:jsr305
636:  com.google.errorprone:error_prone_annotations
637:  com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...

1004:  �[32m[1,724 / 1,730]�[0m Compiling 71 JavaScript files to javascript/atoms/fragments/is-displayed.js; 1s worker ... (3 actions running)
1005:  �[32m[1,725 / 1,730]�[0m Compiling 71 JavaScript files to javascript/atoms/fragments/is-displayed.js; 8s worker ... (3 actions, 2 running)
1006:  �[32m[1,727 / 1,730]�[0m Compiling 71 JavaScript files to javascript/atoms/fragments/is-displayed.js; 9s worker ... (2 actions, 1 running)
1007:  �[32m[1,730 / 1,797]�[0m [Prepa] Testing //rb/spec/unit/selenium/webdriver/common/interactions:pointer_event_prop ... (3 actions, 1 running)
1008:  �[31m�[1mFAIL: �[0m//rb/spec/unit/selenium/webdriver/common/interactions:pointer_event_prop (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/testlogs/rb/spec/unit/selenium/webdriver/common/interactions/pointer_event_prop/test.log)
1009:  �[32mINFO: �[0mFrom Testing //rb/spec/unit/selenium/webdriver/common/interactions:pointer_event_prop:
1010:  ==================== Test output for //rb/spec/unit/selenium/webdriver/common/interactions:pointer_event_prop:
1011:  DEBUGGER: Debugger can attach via UNIX domain socket (/var/folders/kg/7q73ww8s3llgyl61c9z_j5g40000gn/T/rdbg-501/rdbg-66716)
1012:  #<Thread:0x0000000102c69a00@DEBUGGER__::Server::reader /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/external/rules_ruby++ruby+bundle/vendor/bundle/ruby/3.2.0/gems/debug-1.11.1/lib/debug/server.rb:45 run> terminated with exception (report_on_exception is true):
1013:  /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:205:in `bind': Invalid argument - bind(2) for /var/folders/kg/7q73ww8s3llgyl61c9z_j5g40000gn/T/rdbg-501/rdbg-66716 (Errno::EINVAL)
1014:  from /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:205:in `listen'
1015:  from /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:1119:in `unix_server_socket'
1016:  from /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:1167:in `unix_server_loop'
1017:  from /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/external/rules_ruby++ruby+bundle/vendor/bundle/ruby/3.2.0/gems/debug-1.11.1/lib/debug/server.rb:512:in `accept'
1018:  from /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/external/rules_ruby++ruby+bundle/vendor/bundle/ruby/3.2.0/gems/debug-1.11.1/lib/debug/server.rb:50:in `block in activate'
1019:  An error occurred while loading ./rb/spec/unit/selenium/webdriver/common/interactions/pointer_event_prop_spec.rb.
1020:  Failure/Error: sock.bind(self)
1021:  Errno::EINVAL:
1022:  Invalid argument - bind(2) for /var/folders/kg/7q73ww8s3llgyl61c9z_j5g40000gn/T/rdbg-501/rdbg-66716
1023:  # /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:205:in `bind'
1024:  # /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:205:in `listen'
1025:  # /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:1119:in `unix_server_socket'
1026:  # /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:1167:in `unix_server_loop'
1027:  # /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/external/rules_ruby++ruby+bundle/vendor/bundle/ruby/3.2.0/gems/debug-1.11.1/lib/debug/server.rb:512:in `accept'
1028:  # /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/external/rules_ruby++ruby+bundle/vendor/bundle/ruby/3.2.0/gems/debug-1.11.1/lib/debug/server.rb:50:in `block in activate'
1029:  # 
1030:  #   Showing full backtrace because every line was filtered out.
1031:  #   See docs for RSpec::Configuration#backtrace_exclusion_patterns and
1032:  #   RSpec::Configuration#backtrace_inclusion_patterns for more information.
1033:  No examples found.
1034:  Finished in 0.00002 seconds (files took 0.21208 seconds to load)
1035:  0 examples, 0 failures, 1 error occurred outside of examples
1036:  #<Thread:0x0000000102c697d0@DEBUGGER__::SESSION@server /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/external/rules_ruby++ruby+bundle/vendor/bundle/ruby/3.2.0/gems/debug-1.11.1/lib/debug/session.rb:179 aborting> terminated with exception (report_on_exception is true):
1037:  /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:205:in `bind': Invalid argument - bind(2) for /var/folders/kg/7q73ww8s3llgyl61c9z_j5g40000gn/T/rdbg-501/rdbg-66716 (Errno::EINVAL)
1038:  from /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:205:in `listen'
1039:  from /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:1119:in `unix_server_socket'
1040:  from /Users/runner/.bazel/external/rules_ruby++ruby+ruby/dist/lib/ruby/3.2.0/socket.rb:1167:in `unix_server_loop'
1041:  from /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/external/rules_ruby++ruby+bundle/vendor/bundle/ruby/3.2.0/gems/debug-1.11.1/lib/debug/server.rb:512:in `accept'
1042:  from /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/external/rules_ruby++ruby+bundle/vendor/bundle/ruby/3.2.0/gems/debug-1.11.1/lib/debug/server.rb:50:in `block in activate'
1043:  ================================================================================
1044:  �[32m[1,731 / 1,797]�[0m 1 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/common:child_process; 1s local ... (3 actions, 2 running)
1045:  �[32m[1,733 / 1,797]�[0m 3 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/common:service; 1s local ... (3 actions running)
1046:  �[32m[1,734 / 1,797]�[0m 4 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/safari:service; 1s local ... (3 actions, 2 running)
1047:  �[32m[1,736 / 1,797]�[0m 6 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/common/interactions:typing_interactions; 1s local ... (3 actions, 2 running)
1048:  �[32m[1,736 / 1,797]�[0m 6 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/common/interactions:typing_interactions; 2s local ... (3 actions running)
1049:  �[32m[1,738 / 1,797]�[0m 9 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/common:selenium_manager; 2s local ... (3 actions, 2 running)
1050:  �[32m[1,739 / 1,797]�[0m 9 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/chrome:profile; 1s local ... (3 actions running)
1051:  �[32m[1,741 / 1,797]�[0m 11 / 67 tests, �[31m�[1m1 failed�[0m;�[0m [Prepa] Testing //rb/spec/unit/selenium/webdriver/common/interactions:key_actions ... (3 actions, 1 running)
1052:  �[32m[1,742 / 1,797]�[0m 12 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/common/interactions:key_actions; 1s local ... (3 actions running)
1053:  �[32m[1,743 / 1,797]�[0m 13 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/common/interactions:interaction; 2s local ... (3 actions, 2 running)
1054:  �[32m[1,745 / 1,797]�[0m 15 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver:wait; 0s local ... (3 actions, 2 running)
1055:  �[32m[1,746 / 1,797]�[0m 16 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver:wait; 2s local ... (3 actions running)
1056:  �[32m[1,748 / 1,797]�[0m 18 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver:wait; 3s local ... (3 actions running)
1057:  �[32m[1,751 / 1,797]�[0m 21 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/common/interactions:interactions; 0s local ... (3 actions, 2 running)
1058:  �[32m[1,752 / 1,797]�[0m 22 / 67 tests, �[31m�[1m1 failed�[0m;�[0m [Prepa] Testing //rb/spec/unit/selenium/webdriver/edge:options ... (3 actions, 2 running)
1059:  �[32m[1,754 / 1,797]�[0m 24 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/edge:options; 1s local ... (3 actions running)
1060:  �[32m[1,757 / 1,797]�[0m 27 / 67 tests, �[31m�[1m1 failed�[0m;�[0m [Prepa] Testing //rb/spec/unit/selenium/webdriver/firefox:service ... (3 actions, 2 running)
1061:  �[32m[1,759 / 1,797]�[0m 29 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/firefox:service; 0s local ... (3 actions running)
1062:  �[32m[1,761 / 1,797]�[0m 32 / 67 tests, �[31m�[1m1 failed�[0m;�[0m [Prepa] Testing //rb/spec/unit/selenium/webdriver:file_reaper ... (3 actions, 2 running)
1063:  �[32m[1,763 / 1,797]�[0m 33 / 67 tests, �[31m�[1m1 failed�[0m;�[0m [Prepa] Testing //rb/spec/unit/selenium/webdriver/chrome:options ... (3 actions, 2 running)
1064:  �[32m[1,765 / 1,797]�[0m 35 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/chrome:options; 0s local ... (3 actions, 1 running)
1065:  �[32m[1,765 / 1,797]�[0m 35 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium/webdriver/chrome:options; 1s local ... (3 actions running)
1066:  �[32m[1,766 / 1,797]�[0m 36 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 1s local ... (3 actions running)
1067:  �[32m[1,767 / 1,797]�[0m 37 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 2s local ... (3 actions running)
1068:  �[32m[1,768 / 1,797]�[0m 39 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 3s local ... (3 actions running)
1069:  �[32m[1,769 / 1,797]�[0m 39 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 4s local ... (3 actions running)
1070:  �[32m[1,770 / 1,797]�[0m 40 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 5s local ... (3 actions running)
1071:  �[32m[1,771 / 1,797]�[0m 41 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 6s local ... (3 actions running)
1072:  �[32m[1,772 / 1,797]�[0m 42 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 8s local ... (3 actions, 2 running)
1073:  �[32m[1,773 / 1,797]�[0m 43 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 9s local ... (3 actions, 2 running)
1074:  �[32m[1,773 / 1,797]�[0m 44 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 10s local ... (3 actions running)
1075:  �[32m[1,774 / 1,797]�[0m 44 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 11s local ... (3 actions running)
1076:  �[32m[1,776 / 1,797]�[0m 46 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 12s local ... (3 actions, 2 running)
1077:  �[32m[1,777 / 1,797]�[0m 47 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 13s local ... (3 actions, 2 running)
1078:  �[32m[1,778 / 1,797]�[0m 48 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 14s local ... (3 actions running)
1079:  �[32m[1,780 / 1,797]�[0m 50 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 15s local ... (3 actions, 2 running)
1080:  �[32m[1,781 / 1,797]�[0m 51 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 16s local ... (3 actions, 2 running)
1081:  �[32m[1,782 / 1,797]�[0m 52 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 17s local ... (3 actions running)
1082:  �[32m[1,784 / 1,797]�[0m 54 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 18s local ... (3 actions, 2 running)
1083:  �[32m[1,785 / 1,797]�[0m 55 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 19s local ... (3 actions running)
1084:  �[32m[1,786 / 1,797]�[0m 56 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 20s local ... (3 actions running)
1085:  �[32m[1,788 / 1,797]�[0m 58 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 21s local ... (3 actions running)
1086:  �[32m[1,789 / 1,797]�[0m 59 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 22s local ... (3 actions running)
1087:  �[32m[1,791 / 1,797]�[0m 61 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 23s local ... (3 actions, 2 running)
1088:  �[32m[1,792 / 1,797]�[0m 62 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 24s local ... (3 actions running)
1089:  �[32m[1,793 / 1,797]�[0m 63 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 25s local ... (3 actions running)
1090:  �[32m[1,795 / 1,797]�[0m 65 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 26s local ... (2 actions running)
1091:  �[32m[1,796 / 1,797]�[0m 66 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 28s local
1092:  �[32m[1,796 / 1,797]�[0m 66 / 67 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/unit/selenium:server; 32s local
1093:  �[32mINFO: �[0mFound 67 test targets...
1094:  �[32mINFO: �[0mElapsed time: 554.838s, Critical Path: 87.64s
1095:  �[32mINFO: �[0m1797 processes: 864 internal, 711 darwin-sandbox, 134 local, 88 worker.
1096:  �[32mINFO: �[0mBuild completed, 1 test FAILED, 1797 total actions
1097:  //rb/spec/unit/selenium:devtools                                         �[0m�[32mPASSED�[0m in 1.1s
...

1148:  //rb/spec/unit/selenium/webdriver/ie:driver                              �[0m�[32mPASSED�[0m in 1.3s
1149:  //rb/spec/unit/selenium/webdriver/ie:options                             �[0m�[32mPASSED�[0m in 1.3s
1150:  //rb/spec/unit/selenium/webdriver/ie:service                             �[0m�[32mPASSED�[0m in 1.5s
1151:  //rb/spec/unit/selenium/webdriver/remote:bridge                          �[0m�[32mPASSED�[0m in 1.6s
1152:  //rb/spec/unit/selenium/webdriver/remote:capabilities                    �[0m�[32mPASSED�[0m in 1.0s
1153:  //rb/spec/unit/selenium/webdriver/remote:driver                          �[0m�[32mPASSED�[0m in 1.0s
1154:  //rb/spec/unit/selenium/webdriver/remote/http:common                     �[0m�[32mPASSED�[0m in 1.7s
1155:  //rb/spec/unit/selenium/webdriver/remote/http:curb                       �[0m�[32mPASSED�[0m in 1.8s
1156:  //rb/spec/unit/selenium/webdriver/remote/http:default                    �[0m�[32mPASSED�[0m in 1.0s
1157:  //rb/spec/unit/selenium/webdriver/safari:driver                          �[0m�[32mPASSED�[0m in 1.3s
1158:  //rb/spec/unit/selenium/webdriver/safari:options                         �[0m�[32mPASSED�[0m in 2.0s
1159:  //rb/spec/unit/selenium/webdriver/safari:service                         �[0m�[32mPASSED�[0m in 1.9s
1160:  //rb/spec/unit/selenium/webdriver/support:color                          �[0m�[32mPASSED�[0m in 0.8s
1161:  //rb/spec/unit/selenium/webdriver/support:event_firing                   �[0m�[32mPASSED�[0m in 1.4s
1162:  //rb/spec/unit/selenium/webdriver/support:select                         �[0m�[32mPASSED�[0m in 1.3s
1163:  //rb/spec/unit/selenium/webdriver/common/interactions:pointer_event_prop �[0m�[31m�[1mFAILED�[0m in 0.8s
1164:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_arm64-fastbuild/testlogs/rb/spec/unit/selenium/webdriver/common/interactions/pointer_event_prop/test.log
1165:  Executed 67 out of 67 tests: 66 tests pass and �[0m�[31m�[1m1 fails locally�[0m.
1166:  �[0m
1167:  ##[error]Process completed with exit code 3.
1168:  ##[group]Run ./scripts/github-actions/rerun-failures.sh 'bazel test --keep_going --build_tests_only --test_size_filters small //rb/spec/...
...

1262:  With the provided path, there will be 3 files uploaded
1263:  Artifact name is valid!
1264:  Root directory input is valid!
1265:  Beginning upload of artifact content to blob storage
1266:  Uploaded bytes 1020
1267:  Finished uploading artifact content to blob storage!
1268:  SHA256 digest of uploaded artifact zip is f91eadc31ae6a740164d60b9ac4429372d7f1b7046b7462e7fa077e13b6fb51e
1269:  Finalizing artifact upload
1270:  Artifact test-logs-macos-Unit Tests (3.2.9, macos)-.zip successfully finalized. Artifact ID 5251227714
1271:  Artifact test-logs-macos-Unit Tests (3.2.9, macos)- has been successfully uploaded! Final size is 1020 bytes. Artifact ID is 5251227714
1272:  Artifact download URL: https://github.com/SeleniumHQ/selenium/actions/runs/21341552860/artifacts/5251227714
1273:  ##[group]Run avail=$(df -k "$GITHUB_WORKSPACE" | awk 'NR==2 {printf "%.0f", $4/1024/1024}')
1274:  �[36;1mavail=$(df -k "$GITHUB_WORKSPACE" | awk 'NR==2 {printf "%.0f", $4/1024/1024}')�[0m
1275:  �[36;1mecho "Remaining disk space: ${avail}GB"�[0m
1276:  �[36;1mif [ "$avail" -lt 5 ]; then�[0m
1277:  �[36;1m  echo "::error::Low disk space: ${avail}GB remaining"�[0m
1278:  �[36;1m  exit 1�[0m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-build Includes scripting, bazel and CI integrations C-rb Ruby Bindings Review effort 1/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants