[🚀 Feature]: Selenium GHA Testing Plan
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 42/100
Direzione di ricerca
Inizia confrontando i workflow ci.yml e ci-rbe.yml e tracciando come vengono selezionati i target Bazel interessati. Esamina i filtri esistenti dei runner GHA, la gestione di .skipped-tests e le voci dei workflow pianificate e manuali. Il lavoro è completo quando i workflow evitano una copertura ridondante per PR eseguendo al contempo in modo coerente i test Windows, Mac e Linux specificati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 34.6k
- Fork
- 8.7k
- Merge medio
- 1g 16h
- PR unite (30g)
- 107
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SeleniumHQ/selenium
-
C-py I-defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
SeleniumHQ/selenium#18438 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
SeleniumHQ/selenium#18323 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
B-build C-py I-enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
SeleniumHQ/selenium#18435 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[🐛 Bug]: Bindings change the user's options when Selenium Manager supplies a browserForse già presa @Liz-Lian l’ha presa 2 giorni fa. ApertaC-dotnet C-java C-nodejs C-py C-rb I-defect
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
SeleniumHQ/selenium#18428 ·
I maintainer di solito rispondono entro 1 giorno
-
[🐛 Bug]: [rust] Selenium Manager can return a browser from the cache before it finishes copyingForse già presa @Liz-Lian l’ha presa 2 giorni fa. ApertaC-rust I-defect
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
SeleniumHQ/selenium#18427 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SeleniumHQ/selenium
Issue simili
-
area-integrations
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
? - Needs Triage bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NVIDIA/cudf-spark-jni#5598 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
oracle/graalvm-reachability-metadata#12264 ·
I maintainer di solito rispondono entro 1 giorno
-
[source-facebook-pages] post stream never returns attachments.media_typeForse già presa @v-k-data l’ha presa oggi. Apertaarea/connectors needs-triage type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] AppSync: GetIntrospectionSchema wraps the schema in JSON instead of returning the raw SDL bodyAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
floci-io/floci#10107 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno