[🚀 Feature]: Selenium GHA Testing Plan
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Bắt đầu bằng cách so sánh các workflow ci.yml và ci-rbe.yml, đồng thời theo dõi cách các target Bazel bị ảnh hưởng được chọn. Xem lại các bộ lọc GHA runner hiện có, cách xử lý .skipped-tests và các mục workflow được lên lịch/thủ công. Hoàn tất khi các workflow tránh việc bao phủ dư thừa trên mỗi PR, đồng thời luôn chạy nhất quán các bài kiểm thử Windows, Mac và Linux được chỉ định.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
This supersedes #16809 - a lot of underlying work has been done on build process across the bindings since that issue was created to support a slightly better vision.
Problem
- Github Actions runs are taking too long, especially when multiple small PRs are being made.
- ci.yml workflow has significant overlap with ci-rbe.yml workflow
- There are things that can't be tested in RBE that aren't being tested on a GHA Runner
- Tests are inconsistent across bindings
Proposal
RBE remains the primary per-PR test gate. GHA Runners should only run tests that provide sufficient additional signal.
GHA runners should be scoped by affected Bazel targets (this is wired up but not used yet).
GHA Tests
Update: I think we move all browser tests that aren't se-manager or os-sensitive to manual/scheduled; Same with unit test matrix; we should trust that RBE will find enough of the unit test issues that it isn't worth rerunning every combination on every PR.
Run every time there are affected targets:
- Windows: Affected targets list filtered for
Edge+ se_manager + os_sensitive-safari -ie(large & small tests) - Mac: Affected targets list filtered for
Safari+ se_manager + os_sensitive-ie(large & small tests) - Linux: Affected targets list filtered for se_manager + rbe_skipped
-safari -ie
Run when tagged with [language]
4. Unit Test Matrix: first/last version and alternate interpreters as applicable
Run manually and/or scheduled:
- Additional unit tests for alternate interpreters or other versions
- Updated: Windows: chrome-beta, firefox-beta, edge (local)
- Updated: Mac: safari (local)
Additional/Future Considerations
- consider running periodically all targets on windows not filtering to just edge as a stopgap
Ideally we can replace .skipped-tests with bazel tags or test runner guards/annotationsUpdate: Donefix Java to use target_compatible_with instead of generating targets for everything and filteringUpdate: Done- consider splitting skip-rbe tag into a reason for skipping
- consider running scheduled ci.yml workflow 1x a day instead of 2x a day. We've averaged 4 commits a day on trunk for the past year; 90% of days are < 9 commits. We run this much more frequently than we evaluate it.
- Ngôn ngữ chính
- Java
- Star
- 34.6k
- Fork
- 8.7k
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 107
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SeleniumHQ/selenium
-
C-py I-defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
SeleniumHQ/selenium#18438 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
SeleniumHQ/selenium#18323 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
B-build C-py I-enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
SeleniumHQ/selenium#18435 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[🐛 Bug]: Bindings change the user's options when Selenium Manager supplies a browserCó thể đã có người làm @Liz-Lian đã nhận 2 ngày trước. Đang mởC-dotnet C-java C-nodejs C-py C-rb I-defect
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
SeleniumHQ/selenium#18428 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[🐛 Bug]: [rust] Selenium Manager can return a browser from the cache before it finishes copyingCó thể đã có người làm @Liz-Lian đã nhận 2 ngày trước. Đang mởC-rust I-defect
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
SeleniumHQ/selenium#18427 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SeleniumHQ/selenium
Issue tương tự
-
area-integrations
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
? - Needs Triage bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NVIDIA/cudf-spark-jni#5598 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
oracle/graalvm-reachability-metadata#12264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[source-facebook-pages] post stream never returns attachments.media_typeCó thể đã có người làm @v-k-data đã nhận hôm nay. Đang mởarea/connectors needs-triage type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] AppSync: GetIntrospectionSchema wraps the schema in JSON instead of returning the raw SDL bodyĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
floci-io/floci#10107 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày