crosslane_fuzz: reject dumps from failed GPU processes (OLD-10052) #716
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!716
Loading…
Reference in a new issue
No description provided.
Delete branch "restore/old-10052-crosslane-failed-dumps"
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?
Pull request successfully merged and closed
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
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.
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).
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)