Split CLI tests into smaller suite, run in parallel
- Lingua principale
- Go
- Stelle
- 8
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Today a full run takes 1h45m.
This is mostly due to all tests running in a single go process, with parallel limited to the number of CPU cores.
If we split this monolith into 10+ test suites, running each suite as it's own process we should see a dramatic speed improvement.
We would also be able to target re-runs instead of needing to re-run all suites if a single test fails.
Investigate how we could best do this.
Github actions may be a limiting factor - could Jenkins help here?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Esamina la struttura esistente della suite di test CLI per capire come sono organizzati i test. Indaga gli strumenti di test di Go per la suddivisione delle suite e l'esecuzione parallela. Esamina l'attuale flusso di lavoro GitHub Actions e considera l'integrazione di Jenkins per la gestione dei processi paralleli. Determina i criteri per suddividere i test in 10+ suite indipendenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github-actions, go
- Ambito
- ci-cd, testing, tooling
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100