Skip to content

[build] allow tests tagged exclusive-if-local to run on rbe #15483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

titusfortner
Copy link
Member

@titusfortner titusfortner commented Mar 22, 2025

User description

Many Ruby BiDI and DevTools tests are tagged as exclusive-if-local, which are currently prevented from running on RBE, so there are tests that haven't been running that are failing.

As I understand that tag, it means it shouldn't run in parallel with other tests on the same machine. Since I don't think that happens on EngFlow, I think it should be ok to run these tests on RBE. @shs96c let me know what I'm missing with this.

We should also figure out how to make sure that all tests that are skipped on RBE in any of the bindings are being run on GitHub Actions runners.

At the very least this PR will let us make sure that the Ruby tests we have are all passing.


PR Type

enhancement


Description

  • Modified .bazelrc.remote to allow tests tagged exclusive-if-local to run on RBE.

  • Removed exclusive-if-local from the test_tag_filters for remote testing.


Changes walkthrough 📝

Relevant files
Configuration changes
.bazelrc.remote
Update `.bazelrc.remote` test configurations for RBE         

.bazelrc.remote

  • Removed exclusive-if-local from test_tag_filters under test:remote.
  • Adjusted test configuration to allow specific tests to run on RBE.
  • +1/-1     

    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • @titusfortner titusfortner added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations labels Mar 22, 2025
    Copy link
    Contributor

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Test Isolation

    The PR removes the -exclusive-if-local filter from test tag filters. Verify that tests tagged with exclusive-if-local can safely run on RBE without causing issues. These tests were originally excluded because they require exclusive machine access.

    test:remote --test_tag_filters=-skip-rbe,-remote

    Copy link
    Contributor

    qodo-merge-pro bot commented Mar 22, 2025

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    Copy link
    Contributor

    qodo-merge-pro bot commented Mar 22, 2025

    CI Feedback 🧐

    (Feedback updated until commit 09533e7)

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

    Action: Test / All RBE tests

    Failed stage: Run Bazel [❌]

    Failed test name: Selenium::WebDriver::BiDi::BrowsingContext sets the viewport

    Failure summary:

    The action failed because three test cases in the browsing_context test suite failed across
    different browser configurations:

    1. The test Selenium::WebDriver::BiDi::BrowsingContext sets the viewport failed in Firefox Beta,
    Firefox, Chrome, and Edge browsers with the same error: expected devicePixelRatio to be 2.0 but got
    1.

    The specific test failures were:

  • //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-beta-bidi
  • //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-bidi
  • //rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi
  • //rb/spec/integration/selenium/webdriver/bidi:browsing_context-edge-bidi

    All failures occurred in the same test case at line 82 in browsing_context_spec.rb, where the test
    expected the window.devicePixelRatio to be 2.0 after setting the viewport, but it remained at 1.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    945:  Package 'php-sql-formatter' is not installed, so not removed
    946:  Package 'php8.3-ssh2' is not installed, so not removed
    947:  Package 'php-ssh2-all-dev' is not installed, so not removed
    948:  Package 'php8.3-stomp' is not installed, so not removed
    949:  Package 'php-stomp-all-dev' is not installed, so not removed
    950:  Package 'php-swiftmailer' is not installed, so not removed
    951:  Package 'php-symfony' is not installed, so not removed
    952:  Package 'php-symfony-asset' is not installed, so not removed
    953:  Package 'php-symfony-asset-mapper' is not installed, so not removed
    954:  Package 'php-symfony-browser-kit' is not installed, so not removed
    955:  Package 'php-symfony-clock' is not installed, so not removed
    956:  Package 'php-symfony-debug-bundle' is not installed, so not removed
    957:  Package 'php-symfony-doctrine-bridge' is not installed, so not removed
    958:  Package 'php-symfony-dom-crawler' is not installed, so not removed
    959:  Package 'php-symfony-dotenv' is not installed, so not removed
    960:  Package 'php-symfony-error-handler' is not installed, so not removed
    961:  Package 'php-symfony-event-dispatcher' is not installed, so not removed
    ...
    
    1139:  Package 'php-twig-html-extra' is not installed, so not removed
    1140:  Package 'php-twig-i18n-extension' is not installed, so not removed
    1141:  Package 'php-twig-inky-extra' is not installed, so not removed
    1142:  Package 'php-twig-intl-extra' is not installed, so not removed
    1143:  Package 'php-twig-markdown-extra' is not installed, so not removed
    1144:  Package 'php-twig-string-extra' is not installed, so not removed
    1145:  Package 'php8.3-uopz' is not installed, so not removed
    1146:  Package 'php-uopz-all-dev' is not installed, so not removed
    1147:  Package 'php8.3-uploadprogress' is not installed, so not removed
    1148:  Package 'php-uploadprogress-all-dev' is not installed, so not removed
    1149:  Package 'php8.3-uuid' is not installed, so not removed
    1150:  Package 'php-uuid-all-dev' is not installed, so not removed
    1151:  Package 'php-validate' is not installed, so not removed
    1152:  Package 'php-vlucas-phpdotenv' is not installed, so not removed
    1153:  Package 'php-voku-portable-ascii' is not installed, so not removed
    1154:  Package 'php-wmerrors' is not installed, so not removed
    1155:  Package 'php-xdebug-all-dev' is not installed, so not removed
    ...
    
    1971:  �[0m   �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: `#[warn(unused_mut)]` on by default�[0m
    1972:  �[0m�[1m�[33mwarning�[0m�[0m�[1m: 1 warning emitted�[0m
    1973:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/action_test.html -> javascript/atoms/test/action_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1974:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/attribute_test.html -> javascript/atoms/test/attribute_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1975:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/child_locator_test.html -> javascript/atoms/test/child_locator_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1976:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/click_link_test.html -> javascript/atoms/test/click_link_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1977:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/click_submit_test.html -> javascript/atoms/test/click_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1978:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/click_test.html -> javascript/atoms/test/click_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1979:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/clientrect_test.html -> javascript/atoms/test/clientrect_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1980:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/color_test.html -> javascript/atoms/test/color_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1981:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/deps.js -> javascript/atoms/test/deps.js obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1982:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/dom_test.html -> javascript/atoms/test/dom_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1983:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/drag_test.html -> javascript/atoms/test/drag_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1984:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/enabled_test.html -> javascript/atoms/test/enabled_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1985:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/enter_submit_test.html -> javascript/atoms/test/enter_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1986:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/error_test.html -> javascript/atoms/test/error_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1987:  (16:52:42) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/events_test.html -> javascript/atoms/test/events_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    ...
    
    2099:  (16:52:48) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/libjunit5-compile-class.jar (19 source files):
    2100:  warning: [options] source value 8 is obsolete and will be removed in a future release
    2101:  warning: [options] target value 8 is obsolete and will be removed in a future release
    2102:  warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    2103:  (16:52:48) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/liballow.jar (1 source file):
    2104:  warning: [options] source value 8 is obsolete and will be removed in a future release
    2105:  warning: [options] target value 8 is obsolete and will be removed in a future release
    2106:  warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    2107:  (16:52:49) �[32mAnalyzing:�[0m 2264 targets (1625 packages loaded, 58666 targets configured)
    2108:  �[32m[6,463 / 8,165]�[0m 22 / 959 tests;�[0m Building external/bazel_tools/tools/java/runfiles/libauto_bazel_repository.jar (1 source file); 0s remote, remote-cache ... (31 actions, 2 running)
    2109:  (16:52:49) �[32mINFO: �[0mFrom Building external/protobuf+/java/core/liblite_runtime_only.jar (93 source files) [for tool]:
    2110:  external/protobuf+/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:270: warning: [removal] AccessController in java.security has been deprecated and marked for removal
    2111:  AccessController.doPrivileged(
    2112:  ^
    2113:  (16:52:50) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (70 source files):
    2114:  java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2115:  private final ErrorCodes errorCodes;
    2116:  ^
    2117:  java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2118:  this.errorCodes = new ErrorCodes();
    2119:  ^
    2120:  java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2121:  public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {
    2122:  ^
    2123:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2124:  ErrorCodes errorCodes = new ErrorCodes();
    2125:  ^
    2126:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2127:  ErrorCodes errorCodes = new ErrorCodes();
    2128:  ^
    2129:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2130:  response.setStatus(ErrorCodes.SUCCESS);
    2131:  ^
    2132:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2133:  response.setState(ErrorCodes.SUCCESS_STRING);
    2134:  ^
    2135:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2136:  new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));
    2137:  ^
    2138:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2139:  new ErrorCodes().getExceptionType((String) rawError);
    2140:  ^
    2141:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2142:  private final ErrorCodes errorCodes = new ErrorCodes();
    2143:  ^
    2144:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2145:  private final ErrorCodes errorCodes = new ErrorCodes();
    2146:  ^
    2147:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2148:  int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;
    2149:  ^
    2150:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2151:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    2152:  ^
    2153:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2154:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    2155:  ^
    2156:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2157:  response.setStatus(ErrorCodes.SUCCESS);
    2158:  ^
    2159:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2160:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    2161:  ^
    2162:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2163:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    2164:  ^
    2165:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2166:  private final ErrorCodes errorCodes = new ErrorCodes();
    2167:  ^
    2168:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2169:  private final ErrorCodes errorCodes = new ErrorCodes();
    2170:  ^
    2171:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:93: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2172:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    2173:  ^
    2174:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:98: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2175:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    2176:  ^
    2177:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:145: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2178:  response.setStatus(ErrorCodes.SUCCESS);
    2179:  ^
    ...
    
    2321:  /mnt/engflow/worker/work/1/exec/bazel-out/k8-opt-exec-ST-a934f86a68ba/bin/external/rules_pkg+/pkg/private/zip/build_zip.runfiles/rules_python++python+python_3_9_x86_64-unknown-linux-gnu/lib/python3.9/zipfile.py:1522: UserWarning: Duplicate name: 'grid-ui/'
    2322:  return self._open_to_write(zinfo, force_zip64=force_zip64)
    2323:  (16:53:04) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 63747 targets configured)
    2324:  �[32m[11,284 / 12,155]�[0m 118 / 1974 tests;�[0m [Prepa] Extracting interface for jar bazel-out/k8-fastbuild/bin/java/src/org/openqa/selenium/remote/libremote-module.jar
    2325:  (16:53:10) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 63776 targets configured)
    2326:  �[32m[11,298 / 12,200]�[0m 118 / 1974 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:timeout-edge-bidi; 4s ... (17 actions, 0 running)
    2327:  (16:53:15) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 63801 targets configured)
    2328:  �[32m[11,322 / 12,261]�[0m 127 / 1976 tests;�[0m Testing //rb/spec/unit/selenium/devtools:cdp_client_generator; 3s remote, remote-cache ... (32 actions, 0 running)
    2329:  (16:53:20) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 63830 targets configured)
    2330:  �[32m[11,340 / 12,380]�[0m 133 / 1987 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:select-chrome-bidi; 6s remote, remote-cache ... (48 actions, 0 running)
    2331:  (16:53:25) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 63854 targets configured)
    2332:  �[32m[11,362 / 12,690]�[0m 138 / 2034 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/remote:element-chrome; 9s remote, remote-cache ... (50 actions, 0 running)
    2333:  (16:53:30) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 63865 targets configured)
    2334:  �[32m[11,388 / 12,864]�[0m 143 / 2053 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/remote:element-edge; 13s remote, remote-cache ... (50 actions, 0 running)
    2335:  (16:53:35) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 63884 targets configured)
    2336:  �[32m[11,510 / 13,091]�[0m 183 / 2110 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:error-edge ... (50 actions, 1 running)
    2337:  (16:53:40) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 63928 targets configured)
    2338:  �[32m[11,647 / 13,187]�[0m 267 / 2157 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:driver-edge-bidi ... (50 actions, 1 running)
    2339:  (16:53:45) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 63960 targets configured)
    2340:  �[32m[11,809 / 13,333]�[0m 338 / 2189 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-firefox-bidi ... (50 actions, 1 running)
    2341:  (16:53:50) �[32mAnalyzing:�[0m 2264 targets (1654 packages loaded, 64005 targets configured)
    2342:  �[32m[12,081 / 13,574]�[0m 442 / 2233 tests;�[0m [Prepa] Testing //py:common-edge-bidi-test/selenium/webdriver/common/virtual_authenticator_tests.py ... (49 actions, 5 running)
    2343:  (16:53:55) �[32mINFO: �[0mAnalyzed 2264 targets (1654 packages loaded, 64035 targets configured).
    2344:  (16:53:55) �[32m[12,470 / 13,954]�[0m 547 / 2264 tests;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/cookie_tests.py; 0s remote, remote-cache ... (50 actions, 3 running)
    2345:  (16:54:00) �[32m[12,898 / 14,272]�[0m 719 / 2264 tests;�[0m [Prepa] Testing //rb/spec/unit/selenium/webdriver:guard ... (49 actions, 0 running)
    2346:  (16:54:00) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):
    2347:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:26: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2348:  import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;
    2349:  ^
    2350:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2351:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);
    2352:  ^
    2353:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:81: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2354:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    2355:  ^
    2356:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2357:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    2358:  ^
    2359:  (16:54:04) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):
    2360:  java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2361:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    2362:  ^
    2363:  java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2364:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    2365:  ^
    2366:  java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2367:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));
    2368:  ^
    2369:  (16:54:05) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):
    2370:  java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2371:  response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));
    2372:  ^
    2373:  (16:54:05) �[32m[13,300 / 14,635]�[0m 843 / 2264 tests;�[0m [Prepa] Testing //py:common-edge-bidi-test/selenium/webdriver/common/driver_element_finding_tests.py ... (48 actions, 3 running)
    2374:  (16:54:06) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    2375:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2376:  handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);
    2377:  ^
    2378:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2379:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    2380:  ^
    2381:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2382:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    2383:  ^
    2384:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2385:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    2386:  ^
    2387:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2388:  assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    2389:  ^
    2390:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2391:  ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);
    2392:  ^
    2393:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2394:  ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    2395:  ^
    2396:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2397:  ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    2398:  ^
    2399:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2400:  assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    2401:  ^
    2402:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2403:  Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);
    2404:  ^
    2405:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2406:  createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))
    2407:  ^
    2408:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2409:  createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),
    2410:  ^
    2411:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2412:  ErrorCodes.UNHANDLED_ERROR,
    2413:  ^
    2414:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2415:  ErrorCodes.UNHANDLED_ERROR,
    2416:  ^
    2417:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2418:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    2419:  ^
    2420:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2421:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2422:  ^
    2423:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2424:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2425:  ^
    2426:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2427:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2428:  ^
    2429:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2430:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2431:  ^
    2432:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2433:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2434:  ^
    2435:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2436:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2437:  ^
    2438:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2439:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2440:  ^
    2441:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2442:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    2443:  ^
    2444:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2445:  exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);
    2446:  ^
    2447:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2448:  exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    2449:  ^
    2450:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2451:  exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    2452:  ^
    2453:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2454:  exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    2455:  ^
    2456:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2457:  exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    2458:  ^
    2459:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2460:  exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    2461:  ^
    2462:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2463:  exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);
    2464:  ^
    2465:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2466:  exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);
    2467:  ^
    2468:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2469:  exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    2470:  ^
    2471:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2472:  exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);
    2473:  ^
    2474:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2475:  exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    2476:  ^
    2477:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2478:  exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);
    2479:  ^
    2480:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2481:  exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);
    2482:  ^
    2483:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2484:  exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);
    2485:  ^
    2486:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2487:  exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);
    2488:  ^
    2489:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2490:  exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);
    2491:  ^
    2492:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2493:  exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);
    2494:  ^
    2495:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2496:  exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);
    2497:  ^
    2498:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2499:  exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);
    2500:  ^
    2501:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2502:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);
    2503:  ^
    2504:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2505:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);
    2506:  ^
    2507:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2508:  ? ErrorCodes.INVALID_SELECTOR_ERROR
    2509:  ^
    2510:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2511:  assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);
    2512:  ^
    2513:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2514:  response.setState(new ErrorCodes().toState(status));
    2515:  ^
    2516:  (16:54:09) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    2517:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2518:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2519:  ^
    2520:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2521:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2522:  ^
    2523:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2524:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2525:  ^
    2526:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2527:  private final ErrorCodes errorCodes = new ErrorCodes();
    2528:  ^
    2529:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2530:  private final ErrorCodes errorCodes = new ErrorCodes();
    2531:  ^
    2532:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2533:  private final ErrorCodes errorCodes = new ErrorCodes();
    2534:  ^
    2535:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2536:  private final ErrorCodes errorCodes = new ErrorCodes();
    2537:  ^
    ...
    
    2588:  dotnet/src/webdriver/DevTools/v134/V134Network.cs(292,121): warning CS8601: Possible null reference assignment.
    2589:  dotnet/src/webdriver/DevTools/v134/V134Network.cs(320,94): warning CS8601: Possible null reference assignment.
    2590:  (16:54:30) �[32m[14,745 / 15,411]�[0m 1462 / 2264 tests;�[0m Testing //java/test/org/openqa/selenium/virtualauthenticator:VirtualAuthenticatorTest-spotbugs; 0s remote, remote-cache ... (48 actions, 0 running)
    2591:  (16:54:35) �[32m[15,150 / 15,634]�[0m 1687 / 2264 tests;�[0m [Prepa] Testing //dotnet/test/common:Internal/Logging/LogTest-edge ... (49 actions, 0 running)
    2592:  (16:54:40) �[32m[15,482 / 15,783]�[0m 1889 / 2264 tests;�[0m Testing //java/test/org/openqa/selenium/edge:EdgeDriverFunctionalTest-spotbugs; 0s remote, remote-cache ... (48 actions, 0 running)
    2593:  (16:54:45) �[32m[15,686 / 15,870]�[0m 2009 / 2264 tests;�[0m Testing //dotnet/test/common:DevTools/DevToolsPerformanceTest-chrome; 1s remote, remote-cache ... (50 actions, 0 running)
    2594:  (16:54:51) �[32m[15,859 / 15,963]�[0m 2088 / 2264 tests;�[0m Testing //dotnet/test/common:BiDi/Script/ScriptEventsTest-chrome; 2s remote, remote-cache ... (50 actions, 0 running)
    2595:  (16:54:56) �[32m[15,991 / 15,992]�[0m 2198 / 2264 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:devtools-firefox-bidi; 0s remote, remote-cache
    2596:  (16:55:01) �[32m[16,013 / 16,014]�[0m 2220 / 2264 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:network-firefox-beta-remote; 0s remote, remote-cache
    2597:  (16:55:11) �[32m[16,018 / 16,019]�[0m 2225 / 2264 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-beta-bidi; 8s remote, remote-cache
    2598:  (16:56:43) �[32m[16,018 / 16,019]�[0m 2225 / 2264 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-beta-bidi; 99s remote, remote-cache
    2599:  (16:56:43) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-beta-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi/test_attempts/attempt_1.log)
    2600:  (16:56:51) �[32m[16,018 / 16,019]�[0m 2225 / 2264 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-beta-bidi; 108s remote, remote-cache
    2601:  (16:58:23) �[32m[16,018 / 16,019]�[0m 2225 / 2264 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-beta-bidi; 199s remote, remote-cache
    2602:  (16:58:23) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-beta-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi/test.log)
    2603:  �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-beta-bidi (Summary)
    2604:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi/test.log
    ...
    
    2610:  /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here
    2611:  /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here
    2612:  /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here
    2613:  browser: firefox
    2614:  driver: firefox
    2615:  version: 138.0
    2616:  platform: linux
    2617:  ci: github
    2618:  rbe: true
    2619:  ruby: jruby 9.4.12.0 (3.1.4) 2025-02-11 f4ab75096a OpenJDK 64-Bit Server VM 17.0.11+9-LTS on 17.0.11+9-LTS [x86_64-linux]
    2620:  Selenium::WebDriver::BiDi::BrowsingContext
    2621:  /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here
    2622:  /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here
    2623:  /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here
    2624:  closes a window
    2625:  sets the viewport (FAILED - 1)
    2626:  accepts users prompts without text
    2627:  accepts users prompts with text
    2628:  rejects users prompts
    2629:  activates a browser context
    2630:  #create
    2631:  without arguments
    2632:  accepts a tab type
    2633:  accepts a window type
    2634:  errors on unknown type (PENDING: Test guarded; Guarded by {:browser=>:firefox, :reason=>"Doesn't return the expected error"};)
    2635:  accepts a reference context
    2636:  Pending: (Failures listed here are expected and do not affect your suite's status)
    2637:  1) Selenium::WebDriver::BiDi::BrowsingContext#create errors on unknown type
    2638:  # Test guarded; Guarded by {:browser=>:firefox, :reason=>"Doesn't return the expected error"};
    2639:  Got 1 failure:
    2640:  1.1) Failure/Error:
    2641:  expect {
    2642:  described_class.new(bridge).create(type: :unknown)
    2643:  }.to raise_error(Error::WebDriverError, msg)
    2644:  expected Selenium::WebDriver::Error::WebDriverError with message matching /invalid argument: Invalid enum value. Expected 'tab' | 'window', received 'unknown'/, got #<Selenium::WebDriver::Error::WebDriverError: invalid argument: Expected "type" to be one of tab,wind...nsport.sys.mjs:127:18
    2645:  handleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14
    2646:  > with backtrace:
    2647:  # ./rb/lib/selenium/webdriver/bidi.rb:61:in `send_cmd'
    2648:  # ./rb/lib/selenium/webdriver/bidi/browsing_context.rb:94:in `create'
    2649:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:53:in `block in BiDi'
    2650:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:52:in `block in BiDi'
    2651:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:52:in `block in BiDi'
    2652:  Failures:
    2653:  1) Selenium::WebDriver::BiDi::BrowsingContext sets the viewport
    2654:  Failure/Error: expect(driver.execute_script('return window.devicePixelRatio')).to eq(2.0)
    2655:  expected: 2.0
    2656:  got: 1
    2657:  (compared using ==)
    2658:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:82:in `block in BiDi'
    2659:  Finished in 1 minute 26.7 seconds (files took 2.18 seconds to load)
    2660:  11 examples, 1 failure, 1 pending
    2661:  Failed examples:
    2662:  rspec ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:77 # Selenium::WebDriver::BiDi::BrowsingContext sets the viewport
    ...
    
    2668:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here
    2669:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here
    2670:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here
    2671:  browser: firefox
    2672:  driver: firefox
    2673:  version: 138.0
    2674:  platform: linux
    2675:  ci: github
    2676:  rbe: true
    2677:  ruby: jruby 9.4.12.0 (3.1.4) 2025-02-11 f4ab75096a OpenJDK 64-Bit Server VM 17.0.11+9-LTS on 17.0.11+9-LTS [x86_64-linux]
    2678:  Selenium::WebDriver::BiDi::BrowsingContext
    2679:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here
    2680:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here
    2681:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-beta-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here
    2682:  closes a window
    2683:  sets the viewport (FAILED - 1)
    2684:  accepts users prompts without text
    2685:  accepts users prompts with text
    2686:  rejects users prompts
    2687:  activates a browser context
    2688:  #create
    2689:  without arguments
    2690:  accepts a tab type
    2691:  accepts a window type
    2692:  errors on unknown type (PENDING: Test guarded; Guarded by {:browser=>:firefox, :reason=>"Doesn't return the expected error"};)
    2693:  accepts a reference context
    2694:  Pending: (Failures listed here are expected and do not affect your suite's status)
    2695:  1) Selenium::WebDriver::BiDi::BrowsingContext#create errors on unknown type
    2696:  # Test guarded; Guarded by {:browser=>:firefox, :reason=>"Doesn't return the expected error"};
    2697:  Got 1 failure:
    2698:  1.1) Failure/Error:
    2699:  expect {
    2700:  described_class.new(bridge).create(type: :unknown)
    2701:  }.to raise_error(Error::WebDriverError, msg)
    2702:  expected Selenium::WebDriver::Error::WebDriverError with message matching /invalid argument: Invalid enum value. Expected 'tab' | 'window', received 'unknown'/, got #<Selenium::WebDriver::Error::WebDriverError: invalid argument: Expected "type" to be one of tab,wind...nsport.sys.mjs:127:18
    2703:  handleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14
    2704:  > with backtrace:
    2705:  # ./rb/lib/selenium/webdriver/bidi.rb:61:in `send_cmd'
    2706:  # ./rb/lib/selenium/webdriver/bidi/browsing_context.rb:94:in `create'
    2707:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:53:in `block in BiDi'
    2708:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:52:in `block in BiDi'
    2709:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:52:in `block in BiDi'
    2710:  Failures:
    2711:  1) Selenium::WebDriver::BiDi::BrowsingContext sets the viewport
    2712:  Failure/Error: expect(driver.execute_script('return window.devicePixelRatio')).to eq(2.0)
    2713:  expected: 2.0
    2714:  got: 1
    2715:  (compared using ==)
    2716:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:82:in `block in BiDi'
    2717:  Finished in 1 minute 27 seconds (files took 2.16 seconds to load)
    2718:  11 examples, 1 failure, 1 pending
    2719:  Failed examples:
    2720:  rspec ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:77 # Selenium::WebDriver::BiDi::BrowsingContext sets the viewport
    2721:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChBjEN7faUpeU6SQjqi9TmMyEgdkZWZhdWx0GiUKILu5jPemUCc8L8L0CxR-WCmoewN9gZBn-K6uxUL3y3VGELwD
    2722:  ================================================================================
    2723:  (16:58:31) �[32m[16,025 / 16,026]�[0m 2232 / 2264 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-bidi; 6s remote, remote-cache
    2724:  (17:00:05) �[32m[16,025 / 16,026]�[0m 2232 / 2264 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-bidi; 99s remote, remote-cache
    2725:  (17:00:05) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi/test_attempts/attempt_1.log)
    2726:  (17:00:11) �[32m[16,025 / 16,026]�[0m 2232 / 2264 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-bidi; 106s remote, remote-cache
    2727:  (17:01:45) �[32m[16,025 / 16,026]�[0m 2232 / 2264 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-bidi; 200s remote, remote-cache
    2728:  (17:01:51) �[32m[16,025 / 16,026]�[0m 2232 / 2264 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-bidi; 206s remote, remote-cache
    2729:  (17:01:56) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi/test.log)
    2730:  �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-firefox-bidi (Summary)
    2731:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi/test.log
    ...
    
    2737:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here
    2738:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here
    2739:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here
    2740:  browser: firefox
    2741:  driver: firefox
    2742:  version: 137.0
    2743:  platform: linux
    2744:  ci: github
    2745:  rbe: true
    2746:  ruby: jruby 9.4.12.0 (3.1.4) 2025-02-11 f4ab75096a OpenJDK 64-Bit Server VM 17.0.11+9-LTS on 17.0.11+9-LTS [x86_64-linux]
    2747:  Selenium::WebDriver::BiDi::BrowsingContext
    2748:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here
    2749:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here
    2750:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here
    2751:  closes a window
    2752:  sets the viewport (FAILED - 1)
    2753:  accepts users prompts without text
    2754:  accepts users prompts with text
    2755:  rejects users prompts
    2756:  activates a browser context
    2757:  #create
    2758:  without arguments
    2759:  accepts a tab type
    2760:  accepts a window type
    2761:  errors on unknown type (PENDING: Test guarded; Guarded by {:browser=>:firefox, :reason=>"Doesn't return the expected error"};)
    2762:  accepts a reference context
    2763:  Pending: (Failures listed here are expected and do not affect your suite's status)
    2764:  1) Selenium::WebDriver::BiDi::BrowsingContext#create errors on unknown type
    2765:  # Test guarded; Guarded by {:browser=>:firefox, :reason=>"Doesn't return the expected error"};
    2766:  Got 1 failure:
    2767:  1.1) Failure/Error:
    2768:  expect {
    2769:  described_class.new(bridge).create(type: :unknown)
    2770:  }.to raise_error(Error::WebDriverError, msg)
    2771:  expected Selenium::WebDriver::Error::WebDriverError with message matching /invalid argument: Invalid enum value. Expected 'tab' | 'window', received 'unknown'/, got #<Selenium::WebDriver::Error::WebDriverError: invalid argument: Expected "type" to be one of tab,wind...nsport.sys.mjs:127:18
    2772:  handleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14
    2773:  > with backtrace:
    2774:  # ./rb/lib/selenium/webdriver/bidi.rb:61:in `send_cmd'
    2775:  # ./rb/lib/selenium/webdriver/bidi/browsing_context.rb:94:in `create'
    2776:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:53:in `block in BiDi'
    2777:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:52:in `block in BiDi'
    2778:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:52:in `block in BiDi'
    2779:  Failures:
    2780:  1) Selenium::WebDriver::BiDi::BrowsingContext sets the viewport
    2781:  Failure/Error: expect(driver.execute_script('return window.devicePixelRatio')).to eq(2.0)
    2782:  expected: 2.0
    2783:  got: 1
    2784:  (compared using ==)
    2785:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:82:in `block in BiDi'
    2786:  Finished in 1 minute 26.94 seconds (files took 2.18 seconds to load)
    2787:  11 examples, 1 failure, 1 pending
    2788:  Failed examples:
    2789:  rspec ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:77 # Selenium::WebDriver::BiDi::BrowsingContext sets the viewport
    ...
    
    2795:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here
    2796:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here
    2797:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here
    2798:  browser: firefox
    2799:  driver: firefox
    2800:  version: 137.0
    2801:  platform: linux
    2802:  ci: github
    2803:  rbe: true
    2804:  ruby: jruby 9.4.12.0 (3.1.4) 2025-02-11 f4ab75096a OpenJDK 64-Bit Server VM 17.0.11+9-LTS on 17.0.11+9-LTS [x86_64-linux]
    2805:  Selenium::WebDriver::BiDi::BrowsingContext
    2806:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here
    2807:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here
    2808:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-firefox-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here
    2809:  closes a window
    2810:  sets the viewport (FAILED - 1)
    2811:  accepts users prompts without text
    2812:  accepts users prompts with text
    2813:  rejects users prompts
    2814:  activates a browser context
    2815:  #create
    2816:  without arguments
    2817:  accepts a tab type
    2818:  accepts a window type
    2819:  errors on unknown type (PENDING: Test guarded; Guarded by {:browser=>:firefox, :reason=>"Doesn't return the expected error"};)
    2820:  accepts a reference context
    2821:  Pending: (Failures listed here are expected and do not affect your suite's status)
    2822:  1) Selenium::WebDriver::BiDi::BrowsingContext#create errors on unknown type
    2823:  # Test guarded; Guarded by {:browser=>:firefox, :reason=>"Doesn't return the expected error"};
    2824:  Got 1 failure:
    2825:  1.1) Failure/Error:
    2826:  expect {
    2827:  described_class.new(bridge).create(type: :unknown)
    2828:  }.to raise_error(Error::WebDriverError, msg)
    2829:  expected Selenium::WebDriver::Error::WebDriverError with message matching /invalid argument: Invalid enum value. Expected 'tab' | 'window', received 'unknown'/, got #<Selenium::WebDriver::Error::WebDriverError: invalid argument: Expected "type" to be one of tab,wind...nsport.sys.mjs:127:18
    2830:  handleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14
    2831:  > with backtrace:
    2832:  # ./rb/lib/selenium/webdriver/bidi.rb:61:in `send_cmd'
    2833:  # ./rb/lib/selenium/webdriver/bidi/browsing_context.rb:94:in `create'
    2834:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:53:in `block in BiDi'
    2835:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:52:in `block in BiDi'
    2836:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:52:in `block in BiDi'
    2837:  Failures:
    2838:  1) Selenium::WebDriver::BiDi::BrowsingContext sets the viewport
    2839:  Failure/Error: expect(driver.execute_script('return window.devicePixelRatio')).to eq(2.0)
    2840:  expected: 2.0
    2841:  got: 1
    2842:  (compared using ==)
    2843:  # ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:82:in `block in BiDi'
    2844:  Finished in 1 minute 27.8 seconds (files took 2.18 seconds to load)
    2845:  11 examples, 1 failure, 1 pending
    2846:  Failed examples:
    2847:  rspec ./rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb:77 # Selenium::WebDriver::BiDi::BrowsingContext sets the viewport
    2848:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChDN5EJ0xO5Z_J9uhmSFoXHaEgdkZWZhdWx0GiUKIPNYzvv5-X7dvNjWnJC4oTQYWyEwgL4Id6CPCrtSx-U-ELwD
    2849:  ================================================================================
    2850:  (17:01:56) �[32m[16,026 / 16,027]�[0m 2233 / 2264 tests, �[31m�[1m2 failed�[0m;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:bidi-firefox-beta-remote
    2851:  (17:02:06) �[32m[16,035 / 16,036]�[0m 2242 / 2264 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi; 6s remote, remote-cache
    2852:  (17:02:52) �[32m[16,035 / 16,036]�[0m 2242 / 2264 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi; 52s remote, remote-cache
    2853:  (17:03:01) �[32m[16,035 / 16,036]�[0m 2242 / 2264 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi; 61s remote, remote-cache
    2854:  (17:03:32) �[32m[16,035 / 16,036]�[0m 2242 / 2264 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi; 92s remote, remote-cache
    2855:  (17:03:32) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-chrome-bidi/test_attempts/attempt_1.log)
    2856:  (17:03:41) �[32m[16,035 / 16,036]�[0m 2242 / 2264 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi; 101s remote, remote-cache
    2857:  (17:04:01) �[32m[16,035 / 16,036]�[0m 2242 / 2264 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi; 121s remote, remote-cache
    2858:  (17:05:30) �[32m[16,035 / 16,036]�[0m 2242 / 2264 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi; 210s remote, remote-cache
    2859:  (17:05:30) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-chrome-bidi/test.log)
    2860:  �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-chrome-bidi (Summary)
    2861:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-chrome-bidi/test.log
    ...
    
    2867:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-chrome-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here
    2868:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-chrome-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here
    2869:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-chrome-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here
    2870:  browser: chrome
    2871:  driver: chrome
    2872:  version: 135.0.7049.42
    2873:  platform: linux
    2874:  ci: github
    2875:  rbe: true
    2876:  ruby: jruby 9.4.12.0 (3.1.4) 2025-02-11 f4ab75096a OpenJDK 64-Bit Server VM 17.0.11+9-LTS on 17.0.11+9-LTS [x86_64-linux]
    2877:  Selenium::WebDriver::BiDi::BrowsingContext
    2878:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-chrome-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here
    2879:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-chrome-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here
    2880:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-chrome-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.1.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here
    2881:  closes a window
    2882:  sets the viewport (FAILED - 1)
    2883:  accepts users prompts without text (PENDING: Test guarded; Guarded by {:browser=>[:chrome, :edge], :reason=>"The alerts disappear too quickly"};)
    2884:  acce...

    @titusfortner
    Copy link
    Member Author

    Hmm, should the alerts automatically disappear? Is this a bug. @pujagani do other bindings have this issue?

    Also @aguspe, what isn't updating on remote? (in case there is confusion, "remote" tags in Ruby guards is for tests running on "grid" not "rbe"). Sorry I'm not diving deep into these right now, we can discuss more later if we need.

    @aguspe
    Copy link
    Contributor

    aguspe commented Mar 23, 2025

    Hmm, should the alerts automatically disappear? Is this a bug. @pujagani do other bindings have this issue?

    Also @aguspe, what isn't updating on remote? (in case there is confusion, "remote" tags in Ruby guards is for tests running on "grid" not "rbe"). Sorry I'm not diving deep into these right now, we can discuss more later if we need.

    No problem @titusfortner I will try to give it a look tonight but I noticed that this test pass locally but fails in RBE and I wanted to investigate it properly, if this is not urgent I can take the time

    The same with the alerts flickering, it only happens in chromium based sessions, in firefox it works fine, but I do not know the root cause so I need to investigate more

    @titusfortner
    Copy link
    Member Author

    Look at the spec helper for what guard conditions have been added for this project. Rbe has its own guard.

    @titusfortner
    Copy link
    Member Author

    /help

    Copy link
    Contributor

    qodo-merge-pro bot commented Apr 3, 2025

    PR Agent Walkthrough 🤖

    Welcome to the PR Agent, an AI-powered tool for automated pull request analysis, feedback, suggestions and more.

    Here is a list of tools you can use to interact with the PR Agent:

    ToolDescriptionTrigger Interactively 💎

    DESCRIBE

    Generates PR description - title, type, summary, code walkthrough and labels
    • Run

    REVIEW

    Adjustable feedback about the PR, possible issues, security concerns, review effort and more
    • Run

    IMPROVE

    Code suggestions for improving the PR
    • Run

    UPDATE CHANGELOG

    Automatically updates the changelog
    • Run

    HELP DOCS

    Answers a question regarding this repository, or a given one, based on given documentation path
    • Run

    ADD DOCS 💎

    Generates documentation to methods/functions/classes that changed in the PR
    • Run

    TEST 💎

    Generates unit tests for a specific component, based on the PR code change
    • Run

    IMPROVE COMPONENT 💎

    Code suggestions for a specific component that changed in the PR
    • Run

    ANALYZE 💎

    Identifies code components that changed in the PR, and enables to interactively generate tests, docs, and code suggestions for each component
    • Run

    ASK

    Answering free-text questions about the PR

    [*]

    GENERATE CUSTOM LABELS 💎

    Automatically retrieves and presents similar issues

    [*]

    CI FEEDBACK 💎

    Generates custom labels for the PR, based on specific guidelines defined by the user

    [*]

    CUSTOM PROMPT 💎

    Generates feedback and analysis for a failed CI job

    [*]

    IMPLEMENT 💎

    Generates custom suggestions for improving the PR code, derived only from a specific guidelines prompt defined by the user

    [*]

    (1) Note that each tool can be triggered automatically when a new PR is opened, or called manually by commenting on a PR.

    (2) Tools marked with [*] require additional parameters to be passed. For example, to invoke the /ask tool, you need to comment on a PR: /ask "<question content>". See the relevant documentation for each tool for more details.

    @titusfortner
    Copy link
    Member Author

    /config

    Copy link
    Contributor

    qodo-merge-pro bot commented Apr 3, 2025

    🛠️ Wiki configuration file settings:

    🛠️ Local configuration file settings:
     
    

    🛠️ Global configuration file settings:

    🛠️ PR-Agent final configurations:
    ==================== CONFIG ====================
    config.enable_custom_labels = False  
    config.model = 'claude-3-7-sonnet-20250219'  
    config.model_turbo = 'gpt-4o-2024-11-20'  
    config.fallback_models = ['gpt-4o-2024-11-20']  
    config.git_provider = 'github'  
    config.publish_output = True  
    config.publish_output_no_suggestions = True  
    config.publish_output_progress = True  
    config.verbosity_level = 0  
    config.use_extra_bad_extensions = False  
    config.publish_logs = False  
    config.use_wiki_settings_file = True  
    config.use_repo_settings_file = True  
    config.use_global_settings_file = True  
    config.disable_auto_feedback = False  
    config.ai_timeout = 120  
    config.response_language = 'en-US'  
    config.patch_extension_skip_types = ['.md', '.txt']  
    config.extra_allowed_extensions = []  
    config.allow_dynamic_context = True  
    config.max_extra_lines_before_dynamic_context = 10  
    config.patch_extra_lines_before = 5  
    config.patch_extra_lines_after = 1  
    config.cli_mode = False  
    config.calculate_context = True  
    config.disable_checkboxes = False  
    config.output_relevant_configurations = False  
    config.large_patch_policy = 'clip'  
    config.seed = -1  
    config.temperature = 0.2  
    config.allow_dynamic_context_ab_testing = False  
    config.choose_dynamic_context_ab_testing_ratio = 0.5  
    config.ignore_pr_title = ['^\\[Auto\\]', '^Auto']  
    config.ignore_pr_target_branches = []  
    config.ignore_pr_source_branches = []  
    config.ignore_pr_labels = []  
    config.allow_only_specific_folders = []  
    config.ignore_pr_authors = []  
    config.is_auto_command = False  
    config.enable_ai_metadata = True  
    config.present_reasoning = True  
    config.max_tickets = 10  
    config.max_tickets_chars = 8000  
    config.prevent_any_approval = False  
    config.enable_comment_approval = False  
    config.enable_auto_approval = False  
    config.auto_approve_for_low_review_effort = -1  
    config.auto_approve_for_no_suggestions = False  
    
    ==================== PR_REVIEWER ====================
    pr_reviewer.require_score_review = False  
    pr_reviewer.require_tests_review = True  
    pr_reviewer.require_estimate_effort_to_review = True  
    pr_reviewer.require_can_be_split_review = False  
    pr_reviewer.require_security_review = True  
    pr_reviewer.require_ticket_analysis_review = True  
    pr_reviewer.extra_issue_links = False  
    pr_reviewer.persistent_comment = True  
    pr_reviewer.extra_instructions = ''  
    pr_reviewer.final_update_message = True  
    pr_reviewer.enable_review_labels_security = True  
    pr_reviewer.enable_review_labels_effort = True  
    pr_reviewer.require_all_thresholds_for_incremental_review = False  
    pr_reviewer.minimal_commits_for_incremental_review = 0  
    pr_reviewer.minimal_minutes_for_incremental_review = 0  
    pr_reviewer.enable_intro_text = True  
    pr_reviewer.enable_help_text = False  
    pr_reviewer.max_number_of_rag_issues_rag_enabled = 2  
    
    ==================== PR_DESCRIPTION ====================
    pr_description.publish_labels = False  
    pr_description.add_original_user_description = True  
    pr_description.generate_ai_title = False  
    pr_description.extra_instructions = ''  
    pr_description.enable_pr_type = True  
    pr_description.final_update_message = True  
    pr_description.enable_help_text = False  
    pr_description.enable_help_comment = True  
    pr_description.bring_latest_tag = False  
    pr_description.publish_description_as_comment = False  
    pr_description.publish_description_as_comment_persistent = True  
    pr_description.enable_semantic_files_types = True  
    pr_description.collapsible_file_list = 'adaptive'  
    pr_description.collapsible_file_list_threshold = 6  
    pr_description.inline_file_summary = False  
    pr_description.use_description_markers = False  
    pr_description.include_generated_by_header = True  
    pr_description.enable_large_pr_handling = True  
    pr_description.max_ai_calls = 4  
    pr_description.async_ai_calls = True  
    
    ==================== PR_QUESTIONS ====================
    pr_questions.enable_help_text = False  
    
    ==================== PR_CODE_SUGGESTIONS ====================
    pr_code_suggestions.commitable_code_suggestions = False  
    pr_code_suggestions.dual_publishing_score_threshold = -1  
    pr_code_suggestions.focus_only_on_problems = True  
    pr_code_suggestions.allow_thumbs_up_down = False  
    pr_code_suggestions.enable_more_suggestions_checkbox = True  
    pr_code_suggestions.extra_instructions = ''  
    pr_code_suggestions.enable_help_text = False  
    pr_code_suggestions.enable_chat_text = False  
    pr_code_suggestions.enable_intro_text = True  
    pr_code_suggestions.persistent_comment = True  
    pr_code_suggestions.max_history_len = 4  
    pr_code_suggestions.apply_suggestions_checkbox = True  
    pr_code_suggestions.suggestions_score_threshold = 0  
    pr_code_suggestions.new_score_mechanism = True  
    pr_code_suggestions.new_score_mechanism_th_high = 9  
    pr_code_suggestions.new_score_mechanism_th_medium = 7  
    pr_code_suggestions.num_code_suggestions_per_chunk = 3  
    pr_code_suggestions.max_number_of_calls = 3  
    pr_code_suggestions.parallel_calls = True  
    pr_code_suggestions.final_clip_factor = 0.8  
    pr_code_suggestions.decouple_hunks = False  
    pr_code_suggestions.demand_code_suggestions_self_review = False  
    pr_code_suggestions.code_suggestions_self_review_text = '**Author self-review**: I have reviewed the PR code suggestions, and addressed the relevant ones.'  
    pr_code_suggestions.approve_pr_on_self_review = False  
    pr_code_suggestions.fold_suggestions_on_self_review = True  
    pr_code_suggestions.publish_post_process_suggestion_impact = True  
    pr_code_suggestions.wiki_page_accepted_suggestions = True  
    
    ==================== PR_CUSTOM_PROMPT ====================
    pr_custom_prompt.prompt = 'The code suggestions should focus only on the following:\n- ...\n- ...\n...\n'  
    pr_custom_prompt.suggestions_score_threshold = 0  
    pr_custom_prompt.num_code_suggestions_per_chunk = 4  
    pr_custom_prompt.self_reflect_on_custom_suggestions = True  
    pr_custom_prompt.enable_help_text = False  
    
    ==================== PR_ADD_DOCS ====================
    pr_add_docs.extra_instructions = ''  
    pr_add_docs.docs_style = 'Sphinx'  
    pr_add_docs.file = ''  
    pr_add_docs.class_name = ''  
    
    ==================== PR_UPDATE_CHANGELOG ====================
    pr_update_changelog.push_changelog_changes = False  
    pr_update_changelog.extra_instructions = ''  
    pr_update_changelog.add_pr_link = True  
    
    ==================== PR_ANALYZE ====================
    pr_analyze.enable_help_text = True  
    
    ==================== PR_TEST ====================
    pr_test.extra_instructions = ''  
    pr_test.testing_framework = ''  
    pr_test.num_tests = 3  
    pr_test.avoid_mocks = True  
    pr_test.file = ''  
    pr_test.class_name = ''  
    pr_test.enable_help_text = False  
    
    ==================== PR_IMPROVE_COMPONENT ====================
    pr_improve_component.num_code_suggestions = 4  
    pr_improve_component.extra_instructions = ''  
    pr_improve_component.file = ''  
    pr_improve_component.class_name = ''  
    
    ==================== PR_HELP ====================
    pr_help.force_local_db = False  
    pr_help.num_retrieved_snippets = 5  
    
    ==================== PR_NEW_ISSUE ====================
    pr_new_issue.label_to_prompt_part = {'general': 'general question', 'feature': 'feature request (may already be addressed in the documentation)', 'bug': 'possible bug report (may be a by design behavior)'}  
    pr_new_issue.supported_repos = ['qodo-ai/pr-agent']  
    
    ==================== PR_HELP_DOCS ====================
    pr_help_docs.repo_url = ''  
    pr_help_docs.repo_default_branch = 'main'  
    pr_help_docs.docs_path = 'docs'  
    pr_help_docs.exclude_root_readme = False  
    pr_help_docs.supported_doc_exts = ['.md', '.mdx', '.rst']  
    pr_help_docs.enable_help_text = False  
    
    ==================== PR_SIMILAR_ISSUE ====================
    pr_similar_issue.skip_comments = False  
    pr_similar_issue.force_update_dataset = False  
    pr_similar_issue.max_issues_to_scan = 500  
    pr_similar_issue.vectordb = 'pinecone'  
    
    ==================== PR_FIND_SIMILAR_COMPONENT ====================
    pr_find_similar_component.class_name = ''  
    pr_find_similar_component.file = ''  
    pr_find_similar_component.search_from_org = False  
    pr_find_similar_component.allow_fallback_less_words = True  
    pr_find_similar_component.number_of_results = 5  
    
    ==================== BEST_PRACTICES ====================
    best_practices.content = ''  
    best_practices.organization_name = ''  
    best_practices.max_lines_allowed = 800  
    best_practices.enable_global_best_practices = False  
    best_practices.allow_repo_best_practices = True  
    
    ==================== AUTO_BEST_PRACTICES ====================
    auto_best_practices.enable_auto_best_practices = True  
    auto_best_practices.utilize_auto_best_practices = True  
    auto_best_practices.extra_instructions = ''  
    auto_best_practices.content = '<b>Pattern 1: Add null checks for potentially null parameters and properties before using them to prevent NullReferenceExceptions. Always validate that parameters and properties are not null before accessing their members or methods.</b>\n\nExample code before:\n```\npublic Task SendAsJsonAsync<T>(T command, JsonSerializerContext jsonSerializerContext)\n{\n    return transport.SendJsonAsync(command.ToString());\n}\n```\n\nExample code after:\n```\npublic Task SendAsJsonAsync<T>(T command, JsonSerializerContext jsonSerializerContext)\n{\n    ArgumentNullException.ThrowIfNull(command, nameof(command));\n    ArgumentNullException.ThrowIfNull(jsonSerializerContext, nameof(jsonSerializerContext));\n    return transport.SendJsonAsync(command.ToString());\n}\n```\n\n\n\n\n___\n\n\n<b>Pattern 2: Use null-conditional operators (?.) and null-coalescing operators (??) instead of null-forgiving operators (!) to safely handle potentially null values and provide default values when needed.</b>\n\nExample code before:\n```\nreturn commandResponse.Value.ToString()!;\n```\n\nExample code after:\n```\nreturn commandResponse.Value?.ToString() ?? string.Empty;\n```\n\n\n\n\n___\n\n\n<b>Pattern 3: Initialize collections and properties with safe default values instead of null to prevent potential NullReferenceExceptions when the collections are accessed or modified later.</b>\n\nExample code before:\n```\npublic Func<HttpRequestData, bool> RequestMatcher { get; set; } = null!;\n```\n\nExample code after:\n```\npublic Func<HttpRequestData, bool> RequestMatcher { get; set; } = _ => false;\n```\n\n\n\n\n___\n\n\n<b>Pattern 4: Improve error message clarity by providing specific details about the error context, including the actual values that caused the error and clear instructions for resolution.</b>\n\nExample code before:\n```\nthrow new Error(`Params must be an instance of PartitionDescriptor. Received:\'${partition}\'`);\n```\n\nExample code after:\n```\nthrow new Error(`Params must be an instance of BrowsingContextPartitionDescriptor or StorageKeyPartitionDescriptor. Received:\'${partition}\'`);\n```\n\n\n\n\n___\n\n\n<b>Pattern 5: Use locale-independent string formatting for numeric values to ensure consistent behavior across different system locales, especially when formatting command-line arguments.</b>\n\nExample code before:\n```\nargs.add(String.format("--port=%d", getPort()));\n```\n\nExample code after:\n```\nargs.add("--port=" + String.valueOf(getPort()));\n```\n\n\n\n\n___\n'  
    auto_best_practices.min_suggestions_to_auto_best_practices = 10  
    auto_best_practices.number_of_days_to_update = 30  
    auto_best_practices.max_patterns = 5  
    auto_best_practices.minimal_date_to_update = '2025-01-26'  
    auto_best_practices.found_auto_best_practices = True  
    auto_best_practices.generate_new_best_practices = False  
    
    ==================== github_app ====================
    github_app.bot_user = 'github-actions[bot]'  
    github_app.override_deployment_type = True  
    github_app.handle_pr_actions = ['opened', 'reopened', 'ready_for_review']  
    github_app.pr_commands = ['/describe --pr_description.final_update_message=false', '/review', '/improve']  
    github_app.handle_push_trigger = False  
    github_app.push_commands = ['/describe', '/review']  
    github_app.ignore_pr_title = []  
    github_app.ignore_bot_pr = True  

    @titusfortner
    Copy link
    Member Author

    /config

    Copy link
    Contributor

    qodo-merge-pro bot commented Apr 3, 2025

    🛠️ Wiki configuration file settings:

    🛠️ Local configuration file settings:
     
    

    🛠️ Global configuration file settings:

    🛠️ PR-Agent final configurations:
    ==================== PR_REVIEWER ====================
    pr_reviewer.require_score_review = False  
    pr_reviewer.require_tests_review = True  
    pr_reviewer.require_estimate_effort_to_review = True  
    pr_reviewer.require_can_be_split_review = False  
    pr_reviewer.require_security_review = True  
    pr_reviewer.require_ticket_analysis_review = True  
    pr_reviewer.extra_issue_links = False  
    pr_reviewer.persistent_comment = True  
    pr_reviewer.extra_instructions = ''  
    pr_reviewer.final_update_message = True  
    pr_reviewer.enable_review_labels_security = True  
    pr_reviewer.enable_review_labels_effort = True  
    pr_reviewer.require_all_thresholds_for_incremental_review = False  
    pr_reviewer.minimal_commits_for_incremental_review = 0  
    pr_reviewer.minimal_minutes_for_incremental_review = 0  
    pr_reviewer.enable_intro_text = True  
    pr_reviewer.enable_help_text = False  
    pr_reviewer.max_number_of_rag_issues_rag_enabled = 2  
    
    ==================== PR_DESCRIPTION ====================
    pr_description.publish_labels = False  
    pr_description.add_original_user_description = True  
    pr_description.generate_ai_title = False  
    pr_description.extra_instructions = ''  
    pr_description.enable_pr_type = True  
    pr_description.final_update_message = True  
    pr_description.enable_help_text = False  
    pr_description.enable_help_comment = True  
    pr_description.bring_latest_tag = False  
    pr_description.publish_description_as_comment = False  
    pr_description.publish_description_as_comment_persistent = True  
    pr_description.enable_semantic_files_types = True  
    pr_description.collapsible_file_list = 'adaptive'  
    pr_description.collapsible_file_list_threshold = 6  
    pr_description.inline_file_summary = False  
    pr_description.use_description_markers = False  
    pr_description.include_generated_by_header = True  
    pr_description.enable_large_pr_handling = True  
    pr_description.max_ai_calls = 4  
    pr_description.async_ai_calls = True  
    
    ==================== PR_QUESTIONS ====================
    pr_questions.enable_help_text = False  
    
    ==================== PR_CODE_SUGGESTIONS ====================
    pr_code_suggestions.commitable_code_suggestions = False  
    pr_code_suggestions.dual_publishing_score_threshold = -1  
    pr_code_suggestions.focus_only_on_problems = True  
    pr_code_suggestions.allow_thumbs_up_down = False  
    pr_code_suggestions.enable_more_suggestions_checkbox = True  
    pr_code_suggestions.extra_instructions = ''  
    pr_code_suggestions.enable_help_text = False  
    pr_code_suggestions.enable_chat_text = False  
    pr_code_suggestions.enable_intro_text = True  
    pr_code_suggestions.persistent_comment = True  
    pr_code_suggestions.max_history_len = 4  
    pr_code_suggestions.apply_suggestions_checkbox = True  
    pr_code_suggestions.suggestions_score_threshold = 0  
    pr_code_suggestions.new_score_mechanism = True  
    pr_code_suggestions.new_score_mechanism_th_high = 9  
    pr_code_suggestions.new_score_mechanism_th_medium = 7  
    pr_code_suggestions.num_code_suggestions_per_chunk = 3  
    pr_code_suggestions.max_number_of_calls = 3  
    pr_code_suggestions.parallel_calls = True  
    pr_code_suggestions.final_clip_factor = 0.8  
    pr_code_suggestions.decouple_hunks = False  
    pr_code_suggestions.demand_code_suggestions_self_review = False  
    pr_code_suggestions.code_suggestions_self_review_text = '**Author self-review**: I have reviewed the PR code suggestions, and addressed the relevant ones.'  
    pr_code_suggestions.approve_pr_on_self_review = False  
    pr_code_suggestions.fold_suggestions_on_self_review = True  
    pr_code_suggestions.publish_post_process_suggestion_impact = True  
    pr_code_suggestions.wiki_page_accepted_suggestions = True  
    
    ==================== PR_CUSTOM_PROMPT ====================
    pr_custom_prompt.prompt = 'The code suggestions should focus only on the following:\n- ...\n- ...\n...\n'  
    pr_custom_prompt.suggestions_score_threshold = 0  
    pr_custom_prompt.num_code_suggestions_per_chunk = 4  
    pr_custom_prompt.self_reflect_on_custom_suggestions = True  
    pr_custom_prompt.enable_help_text = False  
    
    ==================== PR_ADD_DOCS ====================
    pr_add_docs.extra_instructions = ''  
    pr_add_docs.docs_style = 'Sphinx'  
    pr_add_docs.file = ''  
    pr_add_docs.class_name = ''  
    
    ==================== PR_UPDATE_CHANGELOG ====================
    pr_update_changelog.push_changelog_changes = False  
    pr_update_changelog.extra_instructions = ''  
    pr_update_changelog.add_pr_link = True  
    
    ==================== PR_ANALYZE ====================
    pr_analyze.enable_help_text = True  
    
    ==================== PR_TEST ====================
    pr_test.extra_instructions = ''  
    pr_test.testing_framework = ''  
    pr_test.num_tests = 3  
    pr_test.avoid_mocks = True  
    pr_test.file = ''  
    pr_test.class_name = ''  
    pr_test.enable_help_text = False  
    
    ==================== PR_IMPROVE_COMPONENT ====================
    pr_improve_component.num_code_suggestions = 4  
    pr_improve_component.extra_instructions = ''  
    pr_improve_component.file = ''  
    pr_improve_component.class_name = ''  
    
    ==================== PR_HELP ====================
    pr_help.force_local_db = False  
    pr_help.num_retrieved_snippets = 5  
    
    ==================== PR_NEW_ISSUE ====================
    pr_new_issue.label_to_prompt_part = {'general': 'general question', 'feature': 'feature request (may already be addressed in the documentation)', 'bug': 'possible bug report (may be a by design behavior)'}  
    pr_new_issue.supported_repos = ['qodo-ai/pr-agent']  
    
    ==================== PR_HELP_DOCS ====================
    pr_help_docs.repo_url = ''  
    pr_help_docs.repo_default_branch = 'main'  
    pr_help_docs.docs_path = 'docs'  
    pr_help_docs.exclude_root_readme = False  
    pr_help_docs.supported_doc_exts = ['.md', '.mdx', '.rst']  
    pr_help_docs.enable_help_text = False  
    
    ==================== PR_SIMILAR_ISSUE ====================
    pr_similar_issue.skip_comments = False  
    pr_similar_issue.force_update_dataset = False  
    pr_similar_issue.max_issues_to_scan = 500  
    pr_similar_issue.vectordb = 'pinecone'  
    
    ==================== PR_FIND_SIMILAR_COMPONENT ====================
    pr_find_similar_component.class_name = ''  
    pr_find_similar_component.file = ''  
    pr_find_similar_component.search_from_org = False  
    pr_find_similar_component.allow_fallback_less_words = True  
    pr_find_similar_component.number_of_results = 5  
    
    ==================== BEST_PRACTICES ====================
    best_practices.content = ''  
    best_practices.organization_name = ''  
    best_practices.max_lines_allowed = 800  
    best_practices.enable_global_best_practices = False  
    best_practices.allow_repo_best_practices = True  
    
    ==================== AUTO_BEST_PRACTICES ====================
    auto_best_practices.enable_auto_best_practices = True  
    auto_best_practices.utilize_auto_best_practices = True  
    auto_best_practices.extra_instructions = ''  
    auto_best_practices.content = '<b>Pattern 1: Add null checks for potentially null parameters and properties before using them to prevent NullReferenceExceptions. Always validate that parameters and properties are not null before accessing their members or methods.</b>\n\nExample code before:\n```\npublic Task SendAsJsonAsync<T>(T command, JsonSerializerContext jsonSerializerContext)\n{\n    return transport.SendJsonAsync(command.ToString());\n}\n```\n\nExample code after:\n```\npublic Task SendAsJsonAsync<T>(T command, JsonSerializerContext jsonSerializerContext)\n{\n    ArgumentNullException.ThrowIfNull(command, nameof(command));\n    ArgumentNullException.ThrowIfNull(jsonSerializerContext, nameof(jsonSerializerContext));\n    return transport.SendJsonAsync(command.ToString());\n}\n```\n\n\n\n\n___\n\n\n<b>Pattern 2: Use null-conditional operators (?.) and null-coalescing operators (??) instead of null-forgiving operators (!) to safely handle potentially null values and provide default values when needed.</b>\n\nExample code before:\n```\nreturn commandResponse.Value.ToString()!;\n```\n\nExample code after:\n```\nreturn commandResponse.Value?.ToString() ?? string.Empty;\n```\n\n\n\n\n___\n\n\n<b>Pattern 3: Initialize collections and properties with safe default values instead of null to prevent potential NullReferenceExceptions when the collections are accessed or modified later.</b>\n\nExample code before:\n```\npublic Func<HttpRequestData, bool> RequestMatcher { get; set; } = null!;\n```\n\nExample code after:\n```\npublic Func<HttpRequestData, bool> RequestMatcher { get; set; } = _ => false;\n```\n\n\n\n\n___\n\n\n<b>Pattern 4: Improve error message clarity by providing specific details about the error context, including the actual values that caused the error and clear instructions for resolution.</b>\n\nExample code before:\n```\nthrow new Error(`Params must be an instance of PartitionDescriptor. Received:\'${partition}\'`);\n```\n\nExample code after:\n```\nthrow new Error(`Params must be an instance of BrowsingContextPartitionDescriptor or StorageKeyPartitionDescriptor. Received:\'${partition}\'`);\n```\n\n\n\n\n___\n\n\n<b>Pattern 5: Use locale-independent string formatting for numeric values to ensure consistent behavior across different system locales, especially when formatting command-line arguments.</b>\n\nExample code before:\n```\nargs.add(String.format("--port=%d", getPort()));\n```\n\nExample code after:\n```\nargs.add("--port=" + String.valueOf(getPort()));\n```\n\n\n\n\n___\n'  
    auto_best_practices.min_suggestions_to_auto_best_practices = 10  
    auto_best_practices.number_of_days_to_update = 30  
    auto_best_practices.max_patterns = 5  
    auto_best_practices.minimal_date_to_update = '2025-01-26'  
    auto_best_practices.found_auto_best_practices = True  
    auto_best_practices.generate_new_best_practices = False  
    
    ==================== CONFIG ====================
    config.enable_custom_labels = True  
    config.model = 'claude-3-7-sonnet-20250219'  
    config.model_turbo = 'gpt-4o-2024-11-20'  
    config.fallback_models = ['gpt-4o-2024-11-20']  
    config.git_provider = 'github'  
    config.publish_output = True  
    config.publish_output_no_suggestions = True  
    config.publish_output_progress = True  
    config.verbosity_level = 0  
    config.use_extra_bad_extensions = False  
    config.publish_logs = False  
    config.use_wiki_settings_file = True  
    config.use_repo_settings_file = True  
    config.use_global_settings_file = True  
    config.disable_auto_feedback = False  
    config.ai_timeout = 120  
    config.response_language = 'en-US'  
    config.patch_extension_skip_types = ['.md', '.txt']  
    config.extra_allowed_extensions = []  
    config.allow_dynamic_context = True  
    config.max_extra_lines_before_dynamic_context = 10  
    config.patch_extra_lines_before = 5  
    config.patch_extra_lines_after = 1  
    config.cli_mode = False  
    config.calculate_context = True  
    config.disable_checkboxes = False  
    config.output_relevant_configurations = False  
    config.large_patch_policy = 'clip'  
    config.seed = -1  
    config.temperature = 0.2  
    config.allow_dynamic_context_ab_testing = False  
    config.choose_dynamic_context_ab_testing_ratio = 0.5  
    config.ignore_pr_title = ['^\\[Auto\\]', '^Auto']  
    config.ignore_pr_target_branches = []  
    config.ignore_pr_source_branches = []  
    config.ignore_pr_labels = []  
    config.allow_only_specific_folders = []  
    config.ignore_pr_authors = []  
    config.is_auto_command = False  
    config.enable_ai_metadata = True  
    config.present_reasoning = True  
    config.max_tickets = 10  
    config.max_tickets_chars = 8000  
    config.prevent_any_approval = False  
    config.enable_comment_approval = False  
    config.enable_auto_approval = False  
    config.auto_approve_for_low_review_effort = -1  
    config.auto_approve_for_no_suggestions = False  
    config.enable_labeler = True  
    config.labels_mode = 'custom_only'  
    
    ==================== github_app ====================
    github_app.bot_user = 'github-actions[bot]'  
    github_app.override_deployment_type = True  
    github_app.handle_pr_actions = ['opened', 'reopened', 'ready_for_review']  
    github_app.pr_commands = ['/describe --pr_description.final_update_message=false', '/review', '/improve']  
    github_app.handle_push_trigger = False  
    github_app.push_commands = ['/describe', '/review']  
    github_app.ignore_pr_title = []  
    github_app.ignore_bot_pr = True  

    @titusfortner titusfortner merged commit 218b5bb into trunk Apr 3, 2025
    9 checks passed
    @titusfortner titusfortner deleted the rbe_eif branch April 3, 2025 19:53
    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.

    2 participants