[PR #1325] Shader checks: preserve subprocess diagnostics and validate probe output #1355

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

📋 Pull Request Information

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

Base: main ← Head: gpu-check-subprocess-output


📝 Commits (1)

  • dc64524 Shader checks: preserve subprocess diagnostics and validate probe output

📊 Changes

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

View changed files

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

📄 Description

Claimed in the coordination issue as: GPU-CHECK-CLI-OUTPUT, GPU-CHECK-MESH-OUTPUT, GPU-CHECK-PROBE-JSON
Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145499474

  • Escape undecodable bytes from ordinary shader test processes, preserving their return code and diagnostics.
  • Apply the same capture policy to the wave64 mesh harness, which captures its output separately.
  • Treat non-object JSON from the barycentric capability probe as unavailable and keep the fallback disabled for that response. Valid object responses still work.

Reproduced all three failures on Windows before the change and verified all three afterward with synthetic subprocess output: invalid bytes in both streams for the ordinary and mesh paths, and JSON arrays/null plus a valid object for the capability probe. All 219 related unit tests and git diff --check passed. No GPU execution or 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/1325 **Author:** [@delysidemanYT1](https://github.com/delysidemanYT1) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `gpu-check-subprocess-output` --- ### 📝 Commits (1) - [`dc64524`](https://github.com/ubiquitarianism/leonida/commit/dc64524e46e726bd408b23867bdc5c0f5b6f4dee) Shader checks: preserve subprocess diagnostics and validate probe output ### 📊 Changes **1 file changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/shaders/check.py` (+6 -4) </details> ### 📄 Description Claimed in the coordination issue as: GPU-CHECK-CLI-OUTPUT, GPU-CHECK-MESH-OUTPUT, GPU-CHECK-PROBE-JSON Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145499474 - Escape undecodable bytes from ordinary shader test processes, preserving their return code and diagnostics. - Apply the same capture policy to the wave64 mesh harness, which captures its output separately. - Treat non-object JSON from the barycentric capability probe as unavailable and keep the fallback disabled for that response. Valid object responses still work. Reproduced all three failures on Windows before the change and verified all three afterward with synthetic subprocess output: invalid bytes in both streams for the ordinary and mesh paths, and JSON arrays/null plus a valid object for the capability probe. All 219 related unit tests and git diff --check passed. No GPU execution or 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#1355
No description provided.