sGPU Test Scheduling: Global Work Queue #696
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.47) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 498 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.372
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #696"
general
weight: 0.35
VeeraRajasekhar
What this changes
sGPU and mGPU tests now run as two seperate global work queue per box instead of a static suite-per-GPU split. A single script,
ci/run_queue.sh, drives both (--queue sgpu/--queue mgpu); items are dispatched to corresponding 4 gpu runner for sgpu and 8 gpu runner for mgpu , longest-first, from a duration table the queue learns from its own runs.Features added
ci/change_scope.pyreads a PR's changed paths and selects only the suites those paths can affect. A path matching no rule selects everything. Pushes to dev/release, manual runs, and theci-skip-scopelabel bypass it entirely.Flow
1. What runs, and why
Inside run_queue.sh (both queues share it)
How "Re-run failed jobs" narrows
How an item gets dispatched
The scheduler reconstructs nothing. It sets
TEST_FILTER=<tag>and re-enters the suite script, which replays that one call line with its own env prefix and-kexpression while every other item is filtered out. The tag is the only thing crossing the boundary, so per-item configuration cannot be dropped in transit. An mGPU item takes the GPU count its call site declares viaTE_CI_GPUS=N, or the whole box if it declares none.State carried between runs
| cache | holds | effect if missing |
|---|---|---|
|
ci-weights/| measured seconds per item, per (arch, level) | the run is unordered, never wrong ||
ci-rerun/| items that failed + their failing nodeids | a re-run runs everything |Both are GitHub Actions caches.
ci-rerunis keyed onrun_idso attempts ofthe same run chain, and parallel PRs never collide.
Results (level 3, gfx950, 4 GPUs)
| | wall clock |
|---|---:|
| static suite-per-GPU | 6935s |
| global queue | 2643s |
| theoretical optimum | 2624s |
2.62x, 99.3% GPU utilization. Test coverage is unchanged — same files, same
items; nothing is skipped to get there.