speedup: build the e2e test binaries once per run
Chưa có ai nhận issue này.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
+++
- Ngôn ngữ chính
- Rust
- Star
- 21.5k
- Fork
- 2.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- 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 NVIDIA/OpenShell
-
state:triage-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
state:triage-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failureCó thể đã có người làm @TaylorMutch đã nhận 9 ngày trước. Đang mởstate:accepted state:pr-opened
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
state:triage-needed
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
-
state:triage-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Tất cả issue của NVIDIA/OpenShell
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
autofixer: follow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
tursodatabase/turso#12531 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
userFRM/egui-charts#4292 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CHANGELOG.md out of dateĐang mởIssue-Bug Need-Review
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
PowerShell/DSC#1832 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ 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