tests: drop the 27 DEBT entries of test_semantic_translator_use that no longer exempt anything (TEST-GUARD-STALE-DEBT) #764
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/764"
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 qhukz13 on 2026-11-24T13:34:47Z.
Claimed in the coordination issue as: TEST-GUARD-STALE-DEBT (narrowed in a follow-up comment: no new check, cleanup only)
Depends on: #746 (it removes four neighbouring DEBT entries; this branch is on top of it, so its commit shows here until #746 is merged)
What and why
tests/test_semantic_translator_use.pyexempts the files inDEBTfrom its check that everytests/semantictest reachesrdna2spirv. By the guard's own_reaches, 26 of those files already run the translator: the eightsaveexecfiles,add_sub_co,alignbyte,perm,sad_u32,lerp_u8,mul_hi,dot4/dot8,cndmask_b64,int_to_float, and the f16fract/pack/pk_*/rcp/rsq/sqrtfiles.test_lds_add_sub_src2_u32.pyno longer exists. Their entries kept those files out of the check they now pass, so if one stopped calling the translator nothing would notice.This removes the 27 entries.
DEBTkeeps the nine files that still model the answer themselves (div_fixup,fma_f64,fract_f64, the threefrexpfiles,minmax_f64,mul_f64,trig_f64).Not changed: the design in the comment above
DEBT. An entry still does not have to be removed by the PR that fixes the file, and there is no new staleness check, so fixing a file never conflicts with another PR here.Tested
python -I tests/test_semantic_translator_use.py: OK with the 27 entries gone (each of the 26 files passes the check on its own; the 27th file does not exist).tests/test_text_write_line_endings.py,scripts/check_no_game_data.py: OK.Linux, CPU only; no GPU, no game files.
AI-assisted (Claude Code).
🤖 Generated with Claude Code