Shard the `test` suite in CI
@JasonAtClockwork đang làm issue này rồi.
Từ ngày 28/8/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
https://github.com/clockworklabs/SpacetimeDB/pull/5705 sharded the smoketests using nextest. We'd like to do something similar for the rust test suite. This is the job that runs cargo test with some exclusions.
Currently this job is the most expensive CI job at around 30 minutes. Our goal is to have individual jobs be bounded at around 5 minutes. Definitely no more than 10 minutes.
One of the biggest parts of the overall test suite is the sdk test suite. As a first step it would probably be useful to split that out into its own job. In principle, it should be very similar to the smoketests.
For reference, smoketest modules are compiled ahead-of-time in their own separate Smoketests Build job. Each individual shard downloads their build artifacts which include the cli, standalone, and the pre-built WASM modules. Each shard then executes each individual smoketest by starting spacetimedb in its own process, publishing the appropriate module, and executing the test. I think we should use the same pattern for the sdk tests too.
- Ngôn ngữ chính
- Rust
- Star
- 25.2k
- Fork
- 1.1k
- Merge trung bình
- 3 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 45
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 clockworklabs/SpacetimeDB
-
CI flake: Lints Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
clockworklabs/SpacetimeDB#5985 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
clockworklabs/SpacetimeDB#5943 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
clockworklabs/SpacetimeDB#5851 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
clockworklabs/SpacetimeDB#5693 ·
-
Railway Deployment Config Issues Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
clockworklabs/SpacetimeDB#5587 ·
Tất cả issue của clockworklabs/SpacetimeDB
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
nautechsystems/nautilus_trader#5095 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
stellar/rs-soroban-env#1739 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug good first issue package: quic
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100