GPU-RUNNER-PROBE-JSON: Treat valid JSON that is not an object as an u… #1333
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!1333
Loading…
Reference in a new issue
No description provided.
Delete branch "gpu-runner-probe-json"
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
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).
Independent verification (AI-assisted, overnight review batch):
_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.Merged into
main(merge commit 8509d368b), 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.