speedup: build the e2e test binaries once per run
Ninguém assumiu esta issue ainda.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
User Story
As a contributor waiting on Branch E2E, I want the e2e test binaries built once per run, so that about 14 jobs stop compiling the same Rust tests for 1.4–4.5 minutes each.
Description
Jobs that run directly on the runner (docker-e2e, podman-e2e, vm-e2e, kubernetes-e2e and friends) build the e2e/rust tests and some tests/suites/features tests with cargo test in each job. In run 44803367985, that compile took 1.4–4.5 min per job, in about 14 jobs. kubernetes-e2e compiles twice, for about 3.9–4.5 min.
Conformance already avoids this: build-conformance builds the program once and jobs download it.
Proposed change
- Build the test binaries these jobs run once per run, for example as a nextest archive per target, in a job beside
build-conformance. - Run them from the archive in each job, with no Rust toolchain build step.
This saves runner time now. It shortens the whole run only once kubernetes-e2e stops being near the end, which depends on the conformance changes under #5281. Many of these lanes will retire as tests move to testkit (#5297), so keep the change small.
Context
- Parent: #5281. Related: #5297, #5765.
e2e/rust/e2e-docker.sh,e2e-podman.sh,e2e-vm.sh,e2e-kubernetes.sh(cargo test,cargo nextest run --profile e2e-kubernetes),.github/workflows/branch-e2e.yml.
Definition of Done
- Jobs that run on the runner no longer compile Rust tests.
- The tests and filters each job runs are unchanged.
- Branch E2E passes, and the PR records before/after times for the affected jobs.
+++ Agent notes
- Compile times from logs of run 44803367985: first "Compiling" to last "Finished
testprofile" line per job. e2e-kubernetes.shrunscargo test --locked --manifest-path tests/suites/features/Cargo.tomltwice (lines ~108 and ~119) and thencargo nextest run --profile e2e-kubernetes.- arm64 jobs (docker-e2e runs on
ubuntu-24.04-arm) need an aarch64 archive.
+++
- Linguagem predominante
- Rust
- Estrelas
- 21.5k
- Forks
- 2.1k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NVIDIA/OpenShell
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failureTalvez já em andamento @TaylorMutch assumiu há 9 dias. Abertastate:accepted state:pr-opened
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
state:triage-needed
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Todas as issues de NVIDIA/OpenShell
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 2 dias
-
autofixer: follow-up
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
tursodatabase/turso#12531 ·
Mantenedores costumam responder em até 1 dia
-
bug help wanted ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
userFRM/egui-charts#4292 ·
Mantenedores costumam responder em até 1 dia
-
CHANGELOG.md out of dateAbertaIssue-Bug Need-Review
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 85/100
PowerShell/DSC#1832 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia