[PR #1350] GPU-TIMEOUT-OVERFLOW: Reject GPU timeouts that overflow platform waits #1382

Open
opened 2026-11-26 20:21:03 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1350
Author: @delysidemanYT1
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: gpu-timeout-overflow


📝 Commits (1)

  • 5ca1539 GPU-TIMEOUT-OVERFLOW: Reject GPU timeouts that overflow platform waits

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 runtime/test/shaders/check.py (+4 -0)

📄 Description

Claimed in the coordination issue as: GPU-TIMEOUT-OVERFLOW
Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145900346

Reject finite positive LEONIDA_GPU_TEST_TIMEOUT values above the signed 32-bit millisecond wait limit before launching a subprocess. Preserve the default, fractional timeouts and the existing unlimited setting.

Reproduced the Windows OverflowError at 1e300. Checked seven accepted and rejected boundary cases with synthetic subprocesses. All eight GPU timeout unit tests passed. No GPU run. git diff --check passed. No game files. AI-assisted (Codex).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1350 **Author:** [@delysidemanYT1](https://github.com/delysidemanYT1) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `gpu-timeout-overflow` --- ### 📝 Commits (1) - [`5ca1539`](https://github.com/ubiquitarianism/leonida/commit/5ca153985e4f261c01685a6c7cf2b69205439d95) GPU-TIMEOUT-OVERFLOW: Reject GPU timeouts that overflow platform waits ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/shaders/check.py` (+4 -0) </details> ### 📄 Description Claimed in the coordination issue as: GPU-TIMEOUT-OVERFLOW Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145900346 Reject finite positive LEONIDA_GPU_TEST_TIMEOUT values above the signed 32-bit millisecond wait limit before launching a subprocess. Preserve the default, fractional timeouts and the existing unlimited setting. Reproduced the Windows OverflowError at 1e300. Checked seven accepted and rejected boundary cases with synthetic subprocesses. All eight GPU timeout unit tests passed. No GPU run. git diff --check passed. No game files. AI-assisted (Codex). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#1382
No description provided.