Skip to content

Commit 1e84a2b

Browse files
committed
Merge branch 'trunk' into annotate-relative-by
2 parents 012d7f7 + b3fc1b3 commit 1e84a2b

File tree

1,965 files changed

+72638
-105416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,965 files changed

+72638
-105416
lines changed

.bazelignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ java/build/production
2323
java/client/build
2424
java/server/build
2525
javascript/grid-ui/node_modules
26-
javascript/node/selenium-webdriver/node_modules
26+
javascript/selenium-webdriver/node_modules
2727
node_modules

.bazelrc

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ try-import %workspace%/.bazelrc.windows.local
88
# https://github.com/bazelbuild/bazel/issues/20369
99
# https://github.com/bazelbuild/bazel/issues/21491
1010

11-
common --enable_bzlmod --lockfile_mode=off
11+
common --lockfile_mode=off
12+
13+
# Prepare for Bazel 8. These become the default in 8.0.0
14+
common --incompatible_disallow_empty_glob
15+
common --incompatible_use_plus_in_repo_names
1216

1317
# Ensure Windows support is accurate.
1418

@@ -20,10 +24,10 @@ build --flag_alias=headless=//common:headless
2024

2125
# Set the default java toolchain
2226

23-
build --java_language_version=17
24-
build --java_runtime_version=remotejdk_17
25-
build --tool_java_language_version=17
26-
build --tool_java_runtime_version=remotejdk_17
27+
build --java_language_version=21
28+
build --java_runtime_version=remotejdk_21
29+
build --tool_java_language_version=21
30+
build --tool_java_runtime_version=remotejdk_21
2731

2832
# We target java 11 by default
2933

@@ -101,6 +105,7 @@ test --test_env=JRUBY_OPTS="--dev"
101105

102106
test:windows --test_env=PATH
103107
test:windows --test_env=LOCALAPPDATA
108+
test:windows --test_env=PROCESSOR_ARCHITECTURE
104109
test:windows --test_env=PROGRAMFILES="C:\\Program Files"
105110
test:windows --test_env=PROGRAMFILES(X86)="C:\\Program Files (x86)"
106111

@@ -114,9 +119,9 @@ build:release --stamp
114119
build:release --compilation_mode=opt
115120

116121
# As regular `release` but all the build work happens on the RBE
117-
build:remote_release --config=release
118-
build:remote_release --config=remote
119-
build:remote_release --remote_download_toplevel
122+
build:rbe_release --config=release
123+
build:rbe_release --config=rbe
124+
build:rbe_release --remote_download_toplevel
120125

121126
# RBE
122127
import %workspace%/.bazelrc.remote

.bazelrc.remote

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,68 @@
11
# The RBE to use
2-
build:remote --bes_results_url=https://gypsum.cluster.engflow.com/invocation
3-
build:remote --bes_backend=grpcs://gypsum.cluster.engflow.com
4-
build:remote --remote_executor=grpcs://gypsum.cluster.engflow.com
5-
build:remote --remote_cache=grpcs://gypsum.cluster.engflow.com
2+
build:rbe --bes_results_url=https://gypsum.cluster.engflow.com/invocation
3+
build:rbe --bes_backend=grpcs://gypsum.cluster.engflow.com
4+
build:rbe --remote_executor=grpcs://gypsum.cluster.engflow.com
5+
build:rbe --remote_cache=grpcs://gypsum.cluster.engflow.com
66

77
# The number of cores available
8-
build:remote -j 50
8+
build:rbe -j 50
99

10-
build:remote --define=EXECUTOR=remote
11-
build:remote --experimental_inmemory_dotd_files
12-
build:remote --experimental_inmemory_jdeps_files
13-
build:remote --remote_timeout=3600
14-
build:remote --spawn_strategy=remote,local
15-
#build:remote --nolegacy_important_outputs
16-
build:remote --incompatible_strict_action_env=true
10+
build:rbe --define=EXECUTOR=remote
11+
build:rbe --experimental_inmemory_dotd_files
12+
build:rbe --experimental_inmemory_jdeps_files
13+
build:rbe --remote_timeout=3600
14+
build:rbe --spawn_strategy=remote,local
15+
#build:rbe --nolegacy_important_outputs
16+
build:rbe --incompatible_strict_action_env=true
1717

18-
build:remote --crosstool_top=//common/remote-build/cc:toolchain
19-
build:remote --extra_execution_platforms=//common/remote-build:platform
20-
build:remote --extra_toolchains=//common/remote-build:cc-toolchain
21-
build:remote --host_platform=//common/remote-build:platform
22-
build:remote --platforms=//common/remote-build:platform
23-
build:remote --cxxopt=-std=c++14
18+
build:rbe --crosstool_top=//common/remote-build/cc:toolchain
19+
build:rbe --extra_execution_platforms=//common/remote-build:platform
20+
build:rbe --extra_toolchains=//common/remote-build:cc-toolchain
21+
build:rbe --host_platform=//common/remote-build:platform
22+
build:rbe --platforms=//common/remote-build:platform
23+
build:rbe --cxxopt=-std=c++14
2424

2525
# The Docker images are running Linux
26-
build:remote --cpu=k8
27-
build:remote --host_cpu=k8
26+
build:rbe --cpu=k8
27+
build:rbe --host_cpu=k8
2828

29-
build:remote --disk_cache=
29+
build:rbe --disk_cache=
3030

31-
build:remote --incompatible_enable_cc_toolchain_resolution
32-
build:remote --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
33-
test:remote --test_env=DISPLAY=:99.0
34-
test:remote --test_tag_filters=-skip-remote,-remote
31+
build:rbe --incompatible_enable_cc_toolchain_resolution
32+
build:rbe --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
33+
test:rbe --test_env=DISPLAY=:99.0
34+
test:rbe --test_tag_filters=-skip-rbe,-remote
3535

3636
# Env vars we can hard code
37-
build:remote --action_env=HOME=/home/dev
38-
build:remote --action_env=PATH=/bin:/usr/bin:/usr/local/bin
39-
test:remote --test_env=PATH=/bin:/usr/bin:/usr/local/bin
40-
test:remote --test_env=HOME=/home/dev
37+
build:rbe --action_env=HOME=/home/dev
38+
build:rbe --action_env=PATH=/bin:/usr/bin:/usr/local/bin
39+
test:rbe --test_env=PATH=/bin:/usr/bin:/usr/local/bin
40+
test:rbe --test_env=HOME=/home/dev
4141

4242
# Make sure we sniff credentials properly
43-
build:remote --credential_helper=gypsum.cluster.engflow.com=%workspace%/scripts/credential-helper.sh
43+
build:rbe --credential_helper=gypsum.cluster.engflow.com=%workspace%/scripts/credential-helper.sh
4444

4545
# Use pinned browsers when running remotely
46-
build:remote --//common:pin_browsers
46+
build:rbe --//common:pin_browsers
4747

4848
# The remote build machines are pretty small, and 50 threads may leave them
4949
# thrashing, but our dev machines are a lot larger. Scale the workload so we
5050
# make reasonable usage of everything, everywhere, all at once.
51-
build:remote --local_resources=cpu='HOST_CPUS*10'
52-
build:remote --local_resources=memory='HOST_RAM*4.0'
51+
build:rbe --local_resources=cpu='HOST_CPUS*10'
52+
build:rbe --local_resources=memory='HOST_RAM*4.0'
5353

5454
# A small hint that we're running our tests remotely
55-
test:remote --test_env=REMOTE_BUILD=1
55+
test:rbe --test_env=REMOTE_BUILD=1
5656

5757
# Wait for up to 5 minutes for a test to pass
58-
test:remote --test_timeout=600
58+
test:rbe --test_timeout=600
5959

6060
# Extend the remote config for CI
61-
build:remote-ci --config=remote
62-
build:remote-ci --curses=no --color=yes --show_timestamps --show_progress_rate_limit=5
63-
build:remote-ci --bes_upload_mode=wait_for_upload_complete
64-
build:remote-ci --remote_download_minimal
61+
build:rbe-ci --config=rbe
62+
build:rbe-ci --curses=no --color=yes --show_timestamps --show_progress_rate_limit=5
63+
build:rbe-ci --bes_upload_mode=wait_for_upload_complete
64+
build:rbe-ci --remote_download_minimal
6565

6666
# Configuration changes suggested by EngFlow
67-
build:remote --grpc_keepalive_time=30s
68-
build:remote --nolegacy_important_outputs
67+
build:rbe --grpc_keepalive_time=30s
68+
build:rbe --nolegacy_important_outputs
Lines changed: 94 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,128 @@
11
name: 🐛 Bug Report
22
description: File a bug report
33
title: "[🐛 Bug]: "
4-
labels: [ I-defect, needs-triaging ]
4+
labels: [ I-defect, A-needs-triaging ]
55
body:
6-
- type: markdown
7-
attributes:
8-
value: |
9-
Thanks for taking the time to fill out this bug report!
106
- type: textarea
11-
id: what-happened
7+
id: description
128
attributes:
13-
label: What happened?
14-
description: |
15-
Describe clearly and concisely the bug including instructions showing how to reproduce it.
9+
label: Description
1610
placeholder: |
17-
Please add as many details as possible to avoid assumptions from our side. How do you
18-
trigger this bug? What did you expect to happen? Please walk us through it step by step.
19-
Notes:
20-
If the issue is with Google Chrome consider logging an issue with ChromeDriver instead:
21-
https://bugs.chromium.org/p/chromedriver
22-
If the issue is with Firefox GeckoDriver (aka Marionette) consider logging an issue with
23-
Mozilla: https://bugzilla.mozilla.org/buglist.cgi?product=Testing&component=Marionette
24-
If the issue is with Microsoft Edge consider logging an issue with Microsoft instead:
25-
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/
26-
If the issue is with Safari, only Safari 10+ is supported. Please log any Safari issue
27-
with Apple: https://bugreport.apple.com/
11+
Include details like:
12+
- What you were trying to do
13+
- What you expected to happen
14+
- What actually happened
15+
- Any relevant context or configuration
16+
- Stacktrace or error message if applicable
2817
validations:
2918
required: true
3019
- type: textarea
31-
id: repro-command
20+
id: reproduction
3221
attributes:
33-
label: How can we reproduce the issue?
34-
description: |
35-
Share with a code snippet or a GitHub repo to reproduce the issue.
22+
label: Reproducible Code
3623
placeholder: |
37-
Please share the code script to reproduce the issue. If more than one file is needed,
38-
create a GitHub repository and share the link.
39-
This will be automatically formatted into code, so no need for backticks.
40-
Be sure to include an SSCCE (Short, Self Contained, Correct
41-
[compilable] example) http://sscce.org/
42-
Issues without a reproduction script are likely to stall and eventually be closed.
24+
(This section renders as code, no need for backticks)
25+
26+
* We can't fix an issue we can't reproduce.
27+
* If more than one file is needed, create a new GitHub repository and link it here.
28+
* Reproduction should be SSCCE: Short, Self Contained, Correct (Compilable), Example.
4329
render: shell
4430
validations:
4531
required: true
4632
- type: textarea
4733
id: logs
4834
attributes:
49-
label: Relevant log output
50-
description: |
51-
Please copy and paste any relevant log output.
52-
Ideally, turn on more detailed logging: https://www.selenium.dev/documentation/webdriver/troubleshooting/logging/
53-
This will be automatically formatted, so no need for backticks.
54-
render: shell
55-
validations:
56-
required: true
35+
label: Debugging Logs
36+
placeholder: |
37+
Note: the stack trace should be in the explanation section above
38+
Instructions for enabling and referencing logs can be found in the links below
39+
render: logs
40+
- type: markdown
41+
id: link
42+
attributes:
43+
value: |
44+
**Read our [logging documentation](https://www.selenium.dev/documentation/webdriver/troubleshooting/logging/)**
45+
**Link to a [gist](https://gist.github.com/) if logs are too long**
46+
 
47+
48+
## Help us Address Your Issue Faster!
5749
- type: input
58-
id: operating-system
50+
id: selenium-version
5951
attributes:
60-
label: Operating System
61-
description: What host operating system are you using to run Selenium?
62-
placeholder: Windows 10? macOS BigSur? Ubuntu?
52+
label: What version of Selenium are you currently using?
53+
description: Important! The latest released version of Selenium is 4.32 and we can't fix old versions.
54+
placeholder: e.g., 4.17.0
6355
validations:
6456
required: true
65-
- type: input
66-
id: selenium-version
57+
- type: checkboxes
58+
id: prerequisites
59+
attributes:
60+
label: The following statements are true
61+
options:
62+
- label: This applies to the most recent version of Selenium (we can't fix old versions)
63+
required: true
64+
- label: This hasn't already been reported (I searched and didn't find it)
65+
required: true
66+
- label: All information necessary to reproduce the issue has been provided above
67+
required: true
68+
- type: dropdown
69+
id: regression
6770
attributes:
68-
label: Selenium version
69-
description: What programming language release version of Selenium?
70-
placeholder: Java 4.0.0? Ruby 4.0.3? (please use the full version number).
71+
label: Did this work for you before?
72+
options:
73+
- Not sure, this is my first time trying it
74+
- Yes this is a regression
7175
validations:
7276
required: true
7377
- type: input
74-
id: browser-versions
78+
id: last-good
79+
attributes:
80+
label: If yes, what version of Selenium did it work with?
81+
placeholder: "e.g., 4.8.0"
82+
validations:
83+
required: false
84+
- type: dropdown
85+
id: operating-system
7586
attributes:
76-
label: What are the browser(s) and version(s) where you see this issue?
77-
description: What browser and versions are you using?
78-
placeholder: Example - Chrome 90, Firefox 88, etc.
87+
label: Operating System
88+
options:
89+
- "--"
90+
- Windows
91+
- macOS
92+
- Linux (specify in the description)
7993
validations:
8094
required: true
81-
- type: input
82-
id: browser-driver-versions
95+
- type: dropdown
96+
id: bindings
8397
attributes:
84-
label: What are the browser driver(s) and version(s) where you see this issue?
85-
description: What browser driver(s) are you using?
86-
placeholder: Example - ChromeDriver 94.0.4606.61, GeckoDriver 0.30.0, etc.
98+
label: Selenium Language Binding
99+
options:
100+
- "--"
101+
- Java
102+
- Python
103+
- C#/.NET
104+
- JavaScript/Node.js
105+
- Ruby
87106
validations:
88107
required: true
89-
- type: input
90-
id: selenium-grid-version
108+
- type: dropdown
109+
id: browsers
110+
attributes:
111+
label: Which browsers are you experiencing the issue with?
112+
multiple: true
113+
options:
114+
- Chrome
115+
- Firefox
116+
- Edge
117+
- Safari
118+
- IE
119+
- Other (please specify in the description)
120+
- type: dropdown
121+
id: grid
91122
attributes:
92123
label: Are you using Selenium Grid?
93-
description: What version of Selenium Grid are you using?
94-
placeholder: Example - 4.0.0
124+
options:
125+
- "No"
126+
- "Yes"
127+
validations:
128+
required: true

0 commit comments

Comments
 (0)