Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

ci(verify): per-tier shard counts

Richie McIlroy2061b4142c6a
diff --git a/scripts/verify/plan.py b/scripts/verify/plan.py
index e092bd683..37d4c31ec 100755
--- a/scripts/verify/plan.py
+++ b/scripts/verify/plan.py
@@ -180,7 +180,9 @@ def matrix(config, names, tier):
suites = [s["name"] for s in config["suites"] if s["name"] in names and platform in s["platforms"][tier]]
if not suites:
continue
- runner = config["runners"][platform]
+ runner = dict(config["runners"][platform])
+ if isinstance(runner["shards"], dict):
+ runner["shards"] = runner["shards"][tier]
include.append({
"platform": platform,
"runner": runner["runner"],
@@ -242,7 +244,8 @@ def cmd_test(_args):
(["apps/web/app/page.tsx", "README.md"], []),
(["crates/verify/tests/seek.rs"], ["seek"]),
(["crates/verify/tests/seek.rs", "crates/verify/tests/export.rs"], ["export", "seek"]),
- (["crates/verify/src/oracle.rs"], ["verify-self", "export", "playback", "seek"]),
+ (["crates/verify/src/oracle.rs"], ["verify-self", "export", "playback", "seek", "audio"]),
+ (["crates/verify/src/audio_model.rs"], ["audio"]),
(["crates/rendering/src/decoder/ffmpeg.rs"], [s["name"] for s in config["suites"]]),
(["crates/video-decode/src/ffmpeg.rs"], [s["name"] for s in config["suites"]]),
(["Cargo.lock"], [s["name"] for s in config["suites"]]),
diff --git a/scripts/verify/suites.json b/scripts/verify/suites.json
index 9a8746f38..da8a26bf8 100644
--- a/scripts/verify/suites.json
+++ b/scripts/verify/suites.json
@@ -260,19 +260,28 @@
"linux": {
"runner": "ubuntu-24.04",
"target": "x86_64-unknown-linux-gnu",
- "shards": 2,
+ "shards": {
+ "fast": 2,
+ "full": 3
+ },
"archive": false
},
"macos": {
"runner": "macos-15",
"target": "aarch64-apple-darwin",
- "shards": 2,
+ "shards": {
+ "fast": 2,
+ "full": 3
+ },
"archive": false
},
"windows": {
"runner": "windows-2022",
"target": "x86_64-pc-windows-msvc",
- "shards": 3,
+ "shards": {
+ "fast": 3,
+ "full": 4
+ },
"archive": false
}
}