[🚀 Feature]: Selenium GHA Testing Plan
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先比较 ci.yml 和 ci-rbe.yml 工作流,并追踪受影响的 Bazel 目标是如何选择的。检查现有的 GHA runner 过滤器、.skipped-tests 的处理方式,以及计划执行和手动执行的工作流条目。完成标准是:工作流避免每个 PR 的重复覆盖,同时持续运行指定的 Windows、Mac 和 Linux 测试。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Java
- 星标
- 34.6k
- 派生
- 8.7k
- 平均合并
- 1 天 16 小时
- 30 天内合并 PR
- 107
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SeleniumHQ/selenium 的其他 Issue
-
C-py I-defect
难度 2/5 1-3 小时 新手友好度 85/100
SeleniumHQ/selenium#18438 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
SeleniumHQ/selenium#18323 · 1 条评论 ·
维护者通常 1 天内回复
-
B-build C-py I-enhancement
难度 4/5 3-5 天 新手友好度 68/100
SeleniumHQ/selenium#18435 · 1 条评论 ·
维护者通常 1 天内回复
-
[🐛 Bug]: Bindings change the user's options when Selenium Manager supplies a browser可能已有人在做 @Liz-Lian 于 2 天前认领。 未关闭C-dotnet C-java C-nodejs C-py C-rb I-defect
难度 4/5 3-5 天 新手友好度 45/100
SeleniumHQ/selenium#18428 ·
维护者通常 1 天内回复
-
[🐛 Bug]: [rust] Selenium Manager can return a browser from the cache before it finishes copying可能已有人在做 @Liz-Lian 于 2 天前认领。 未关闭C-rust I-defect
难度 3/5 1-2 天 新手友好度 65/100
SeleniumHQ/selenium#18427 ·
维护者通常 1 天内回复
查看 SeleniumHQ/selenium 的全部 Issue
相似的 Issue
-
area-integrations
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
? - Needs Triage bug
难度 2/5 1-3 小时 新手友好度 82/100
NVIDIA/cudf-spark-jni#5598 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
oracle/graalvm-reachability-metadata#12264 ·
维护者通常 1 天内回复
-
[source-facebook-pages] post stream never returns attachments.media_type可能已有人在做 @v-k-data 今天认领。 未关闭area/connectors needs-triage type/bug
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
[BUG] AppSync: GetIntrospectionSchema wraps the schema in JSON instead of returning the raw SDL body未关闭
难度 2/5 1-3 小时 新手友好度 75/100
floci-io/floci#10107 · 1 条评论 ·
维护者通常 1 天内回复