GPU-RUNNER-PROBE-JSON: Treat valid JSON that is not an object as an u… #1333
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1333"
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 delysidemanYT1 on 2026-11-24T21:58:31Z.
Claimed in the coordination issue as: GPU-RUNNER-PROBE-JSON
Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145593530
Treat valid JSON that is not an object as an unavailable capability report in both launcher probes. The existing fallbacks, overrides and cache behavior remain intact.
Reproduced the previous AttributeError. Verified 14 synthetic probe cases including valid booleans, null, arrays and malformed output. All 95 GPU runner unit tests passed on Windows. No GPU execution. git diff --check passed. No game files. AI-assisted (Codex).
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-24T23:25:16Z.
Independent verification (AI-assisted, overnight review batch):
75a5d6e; diff is only scripts/run_gpu_tests.py (two probe sites,_device_per_vertexand_device_barycentric_fallback).[1,2,3],true,null,"str", malformed{bad json) returns None instead of raising AttributeError;{"per_vertex_inputs": false}still returns False. Matches the claimed fallback-to-unavailable behavior.python -I -m pytest tests/test_run_gpu_tests.py: 64 passed + 101 subtests passed.py -3.14 -m compileall -q tools tests make_game.py: clean.Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-28T08:03:16Z.
Merged into
main(merge commit8509d368b), approved by DadaCap (maintainer). Thanks!Checked before merging: Tested in our local release candidate (main + 41 PRs): translator suite 512 files / 6,442 tests clean, Python suite with no new failure versus main, and 360 s game runs on an RTX 5080 with no regression. The merge was pinned to the head commit that was tested (
75a5d6e96).AI-assisted (Claude Code), posted for DadaCap.