crosslane_fuzz: reject dumps from failed GPU processes (OLD-10052) #716
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/716"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-24T12:49:55Z.
Summary
Restores old upstream PR 10052 (OLD-10052, replaces draft #318) with original author attribution (@WebIdentity1) preserved.
\crosslane_fuzz.py::run_gpu\ used a fresh \VKC_DUMP\ even if \k_compute_test\ exited nonzero. A child that writes matching words and then fails could make the whole campaign report success. After preserving the intended successful and reserved exit-77 unpinned skips, the harness now rejects a failed process before reading its dump and reports its exit status and diagnostics.
Verification
Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-24T19:34:34Z.
Reviewed 3784d62:
python3 -I tests/test_crosslane_fuzz.pyOK (2 skipped) on Ubuntu 24.04 arm64, Python 3.12.3.Read the change: unpinned skip only on exit 0/77, then missing dump, then any other non-zero exit is a
HarnessError with the exit code and output; the new tests cover exit 1, -11, the unpinned-with-failure case and a
full run that continues. Note that exit 77 with a dump and no unpinned message is now a harness error rather than a
result, which looks intended. No issues found. AI-assisted review.
Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-25T21:56:36Z.
Rebased onto latest \main.
Updated \ ests/test_crosslane_fuzz.py\ to forward \pc_tail\ keyword argument across the mock harness to match \main's
un_gpu\ signature.
Verified \python3 -I tests/test_crosslane_fuzz.py\ (81/81 passed, 2 skipped), \scripts/check_no_game_data.py\ (clean), and \git diff --check.
AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T11:00:03Z.
Red/green: the PR's tests fail on main and pass with this PR (Linux, Python 3.13.18).
Targeted batch of 23 PRs (their tests, the tests importing the changed modules, the docs tests) on main
3ca0707: no new failure, Linux / Python 3.13.AI-assisted (Claude Code, Claude Opus 5.5)