mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:50:51 +01:00
[PR #1302] GPU-RUNNER-TEMP-ERROR: report temporary directory creation failures #1332
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1332
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1302
Author: @delysidemanYT1
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:gpu-runner-temp-error📝 Commits (1)
e8960d3GPU-RUNNER-TEMP-ERROR: report temporary directory creation failures📊 Changes
1 file changed (+12 additions, -4 deletions)
View changed files
📝
scripts/run_gpu_tests.py(+12 -4)📄 Description
Claimed in the coordination issue as: GPU-RUNNER-TEMP-ERROR
Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145037818
When creating the default scratch directory fails, report the OS error, suggest a writable --work directory and exit with status 2 instead of a traceback. Explicit work directories still use the existing diagnostic. Temporary directories are still cleaned after the suite runs.
Verified on Windows: reproduced the uncaught PermissionError beforehand. After the fix, a mocked PermissionError returns 2, includes the OS error and --work hint, and does not start the suite. Also checked scratch cleanup for successful and failed suite returns. All 95 GPU runner unit tests and git diff --check passed. No GPU execution or game files required. AI-assisted (Codex).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.