tools: check POISON and arch errors in texoff_probe, close oracle in sampler_lod_probe (OLD-5289) #574
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!574
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/574/head"
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?
@Taffyyy-ops on GitHub · 2026-11-24 08:46 UTC · original
Taffyyy-ops:feat/probe-poison-and-oracle-close→main· +259 −40 · 4 files · 1 commits · merged 2026-11-24 09:27 UTCClaimed in the coordination issue as: OLD-5289 (#14)
What and why
Carried over from the closed upstream
ItsNotRexed/LeonidaPR #5289 and rebased cleanly ontoubiquitarianism/leonidamain(c2547f450).tools/texoff_probe.py: check forPOISONand unsupported-architecture oracle errors, returning exit code 2 cleanly and closing the oracle handle on error paths (except:/finally:).tools/sampler_lod_probe.py: ensure the hardware oracle is always closed across normal, mismatch, poison, bad-calibration, kernel-rejection, and unsupported-arch paths.tests/test_texoff_probe.pyandtests/test_sampler_lod_probe.py.Tested
On Windows 11 with Python 3.12+ after rebasing onto
1c93c8697:python -I tests/test_texoff_probe.py -v-> Ran 12 tests in 0.275s, OKpython -I tests/test_sampler_lod_probe.py -v-> Ran 14 tests in 1.384s, OKpython -m compileall -q tools/texoff_probe.py tools/sampler_lod_probe.py tests/test_texoff_probe.py tests/test_sampler_lod_probe.py-> exit 0python -I scripts/check_no_game_data.py-> exit 0git diff --check upstream/main..HEAD-> exit 0GPUs tested: n/a (mocked oracle lifecycle and stdlib probe tests; no hardware RDNA2 GPU required)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).@QemmHD on GitHub · 2026-11-24 09:27 UTC · original
Merging. Why merged: sampler_lod_probe and texoff_probe close the oracle on every path, report kernel-build errors, and refuse POISON (misaligned texture) results.
Why it's good: sampler tests 7 -> 14 passed, texoff 11 -> 12; clean on main
7430f59; consistency 565/0.AI-assisted (Claude Code, Claude Opus 5.5).