fix(tools): keep debt entries without a core link in the index #6723
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6723"
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 boykopovar/AnyPS5. Originally posted by Tripchipp on 2026-10-16T07:12:36Z.
What
The
debt-filecheck only checked placement for entries that link acore/path. An entry indocs/dev/debt/<name>.mdthat links none was never reported, although CONTRIBUTING keeps such entries in the index. The check now expectsdocs/dev/TechnicalDebt.mdfor them, and the rule text says so.Two entries in
docs/dev/debt/link nocore/path. This PR fixes one:ANISO_OVERRIDEentry was inshader.md. The fault it describes is raised inlibSceAgcDriver/Graphics/src/ShaderResources.cpp. The entry now links that file and is moved tolibSceAgcDriver.md, next to the other image-table selection faults. Its text is unchanged.The other is left alone:
TYPE=0entry inlibSceAgcDriver.mddescribesnullImageDescriptorincore/shader/recompiler/Optimization/src/ResourceMaterializer.cpp. #5828 edits that line, so I left it to avoid a conflict. Once this PR is merged, that line needs acore/link when it is next changed.The check only looks at changed lines, so existing entries do not fail.
Tested
macOS (Apple Silicon), Python 3.14.4:
tools/tests/test_*.pypasses when run as CMake runs them (37 files).python3 tools/check_conventions.py --base origin/mainpasses.No C++ build: no C++ files are changed.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T07:34:13Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
docs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mdImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T08:18:14Z.
Independent check on PR head
bd9d0c3:git diff --checkandpython3 tools/check_conventions.py --base upstream/main --head HEADpass;python3 -m unittest tools.tests.test_check_conventions_comments -vpasses all 65 tests, including the new misplacement case. I did not find a concrete issue in the diff during this pass. No C++ build was run because the PR changes only documentation and Python tooling.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T10:10:56Z.
Checked the new
debt-filebranch for entries without acore/link (debt_namereturns None, expected file isdocs/dev/TechnicalDebt.md), that the new test covers it and fails without the change, and that theANISO_OVERRIDEentry moved tolibSceAgcDriver.mdis unchanged and now linksShaderResources.cpp. Merged.