The WARP tests cannot skip in silence any more #1360

Open
HailLucifer666 wants to merge 8 commits from upstream-pr/1360 into main
HailLucifer666 commented 2026-11-28 17:59:13 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by HailLucifer666 on 2026-11-28T17:59:13Z.


WarpHarness::new() returns an Option, and every acquire site did let Some(...) = ... else { return } — eight sites, all in indirect.rs — so on a machine with no WARP adapter each GPU test returned as passed having run nothing, and a whole-suite green said nothing about whether the GPU tests executed. That is the false-green class the test-gate PR (#1294) exists for, at the harness level.

The change: all eight sites are now

let mut warp = WarpHarness::new().expect("no WARP adapter: the GPU tests did not run and must not read as passed");

— a machine without WARP fails the GPU tests loudly instead of passing them silently.

Verification, and its honest hole. On this machine WARP exists: the indirect suite runs green with the expects in place (29 passed / 0 failed / 9 ignored, identical counts to before — nothing changes where WARP does exist), and the mechanical fact is counted: eight acquire sites, zero silent ones remaining. What cannot be tested here is the machine the change is for — a host without a WARP adapter would have to exist to watch the panic; the prime rule's written reason stands in for that test, in the commit.

Risk stated, not hidden: if CI's runner has no WARP adapter, CI goes red honestly — which is the point, and main's CI is red already (#1267). If the runner has one, nothing changes. Either way the answer stops being unknown; this is the follow-up #1294's body deferred until its first CI run could inform it.

Stacks on #1290 → #1294 → #1326 → #1328 → #1348 → #1357.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5543070810 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1360). Originally posted by [HailLucifer666](https://github.com/HailLucifer666) on 2026-11-28T17:59:13Z. --- `WarpHarness::new()` returns an `Option`, and every acquire site did `let Some(...) = ... else { return }` — **eight sites, all in `indirect.rs`** — so on a machine with no WARP adapter each GPU test returned as *passed* having run nothing, and a whole-suite green said nothing about whether the GPU tests executed. That is the false-green class the test-gate PR (#1294) exists for, at the harness level. **The change**: all eight sites are now ```rust let mut warp = WarpHarness::new().expect("no WARP adapter: the GPU tests did not run and must not read as passed"); ``` — a machine without WARP fails the GPU tests loudly instead of passing them silently. **Verification, and its honest hole.** On this machine WARP exists: the indirect suite runs green with the expects in place (**29 passed / 0 failed / 9 ignored**, identical counts to before — nothing changes where WARP does exist), and the mechanical fact is counted: eight acquire sites, zero silent ones remaining. What **cannot** be tested here is the machine the change is *for* — a host without a WARP adapter would have to exist to watch the panic; the prime rule's written reason stands in for that test, in the commit. **Risk stated, not hidden**: if CI's runner has no WARP adapter, CI goes red honestly — which is the point, and main's CI is red already (#1267). If the runner has one, nothing changes. Either way the answer stops being unknown; this is the follow-up #1294's body deferred until its first CI run could inform it. Stacks on #1290 → #1294 → #1326 → #1328 → #1348 → #1357.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1360:upstream-pr/1360'
git switch 'upstream-pr/1360'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1360'
git switch 'upstream-pr/1360'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1360'
git switch 'upstream-pr/1360'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1360'
git switch 'main'
git merge --squash 'upstream-pr/1360'
git switch 'main'
git merge --ff-only 'upstream-pr/1360'
git switch 'main'
git merge 'upstream-pr/1360'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!1360
No description provided.