docs, tests: fix fidelityfx path and scope port/d3d12-nvidia paths in test_docs_repo_paths (DOCS-REPO-PATHS-PORT-DOCS) #2552
Closed
github-bot
wants to merge 2 commits from
github-bot/gh-2552 into main
AGit
pull from: github-bot/gh-2552
merge into: github:main
github:main
github:perf/darner-title-priority-ceiling
github:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
github:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
github:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
github:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
github:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
github:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
github:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
github:fix/runtime-test-conservative-fixtures
github:ci/shard-semantic-linux
github:docs/fg-limit-fps-switch
github:fix/runtime-test-fixture-paths
github:fix/runtime-test-fixture-readers
github:fix/read-file-hard-link
github:fix/book-slot-heap-never-read
github:fix/depth-resolve-spv-path
github:fix/indirect-unused-batched
github:gh-pr/3358/base
github:fix/xmem-refusal-diagnostics
github:gh-pr/3357/base
github:ci/shorten-ci-time
github:fix/alias-later-queued-submissions
github:claude/gallant-sagan-aamatr
github:gh-pr/3342/base
github:gh-pr/3341/base
github:d3d12/agility-sdk-621
github:gh-pr/3293/base
github:gh-pr/3319/base
github:gh-pr/3318/base
github:gh-pr/3315/base
github:gh-pr/3313/base
github:gh-pr/3314/base
github:claude/fervent-curie-m19lnr
github:gh-pr/3216/base
github:gh-pr/3272/base
github:gh-pr/3276/base
github:gh-pr/3279/base
github:gh-pr/3257/base
github:gh-pr/3258/base
github:gh-pr/3271/base
github:codex/skip-no-hit-ray-passes
github:gh-pr/3230/base
github:gh-pr/3266/base
github:gh-pr/3247/base
github:gh-pr/3246/base
github:gh-pr/3244/base
github:claude/sharp-sagan-1jqnp3
github:t3/preserve-fsr-sdk-restart-path
github:t3/propagate-host-failure-hresult
github:t3/launcher-custom-parameters
github:t3/series-x-2160-startup
github:codex/d3d12-uncapped-simulation
github:ci/less-to-run
github:perf/native-compute-shader-forms
github:claude/blissful-franklin-ukp7ag
github:codex/full-precompile-default
github:gh-pr/3166/base
github:gh-pr/3148/base
github:gh-pr/3138/base
github:gh-pr/3106/base
github:gh-pr/3057/base
github:gh-pr/2756/base
github:gh-pr/2812/base
github:gh-pr/3032/base
github:gh-pr/2992/base
github:notes/card-time-and-plant-flicker
github:gh-pr/2986/base
github:gh-pr/3000/base
github:gh-pr/2966/base
github:gh-pr/2924/base
github:gh-pr/726/base
github:gh-pr/2761/base
github:gh-pr/2663/base
github:gh-pr/2861/base
github:gh-pr/2862/base
github:gh-pr/2820/base
github:gh-pr/2811/base
github:gh-pr/2803/base
github:rt-call-trace
github:gh-pr/2802/base
github:gh-pr/2766/base
github:perf/ahead-split
github:gh-pr/2589/base
github:gh-pr/2699/base
github:gh-pr/2696/base
github:docs/readme-runtime-proposal
github:gh-pr/1346/base
github:codex/coord-claim-check-20261124-7e48
No reviewers
Labels
Clear labels
accessibility
Barrier affecting people with disabilities
area: ci
.github/ workflows and settings
area: d3d12
The D3D12 runtime in d3d12/ (Rust: leonida.exe and its crates)
area: docs
Documentation
area: launcher
The launcher (launcher/)
area: runtime (legacy)
The earlier Vulkan runtime in runtime/
area: shader translator
The shader translator (leonida-shader, tools/rdna2spirv) and its tests
area: tools
tools/ and scripts/
area: viewer
The map viewer (viewer/)
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
missing claim
Needs a claim in #14
needs in-game run
Changes the code a frame runs through: needs the 300 s in-game gate (docs/game_gate.md)
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
wontfix
This will not be worked on
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2552
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2552"
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?
@kirigayakazima on GitHub · 2026-11-28 01:57 UTC · original
kirigayakazima:fix/docs-repo-paths-port-docs→main· +313 −18 · 3 files · 4 commits · closed without mergingDOCS-REPO-PATHS-PORT-DOCS. Claim.
Commit
00131bb8imported the port documentation ontomainwhile leaving the branch-specificruntime/files onport/d3d12-nvidia. Onmain(1a441d336),tests/test_docs_repo_paths.pyfailed with 14 missing backticked paths:tests/fidelityfx.rsindocs/port_plan.md:164and 12 distinctruntime/files acrossdocs/port_status.md,docs/ultrawide.md,docs/victory_gap_gpu.md, anddocs/victory_gap_media.md.What changed:
docs/port_plan.md:164: renametests/fidelityfx.rstocrates/victory-hle/tests/fidelityfx.rsmatchingcrates/victory-hle/src/modules/fidelityfx.rsbeside it sodocs/port_plan.mdstays fully checked.tests/test_docs_repo_paths.py: add per-pagePORT_BRANCH_PATHSscoping only the 12 branch-onlyruntime/files (rather than adding whole pages toOTHER_PROJECTS) so any other missing backticked path in those four pages or any other page still fails CI. Addedtest_port_branch_allowlist_stays_scoped_to_named_pathsto enforce this scoping.Verification on Windows 11 (RTX 4070 Laptop host; stdlib/doc tests only, no game files or GPU execution tested):
1a441d336):python -I tests/test_docs_repo_paths.pyfailed (14 additional elements).python -I tests/test_docs_repo_paths.py(4 tests, OK),python -I tests/test_docs_links.py(17 tests, OK),python -I tests/test_docs_repeated_lines.py(3 tests, OK),python -m compileall -q tests/test_docs_repo_paths.py, andpython -I scripts/check_no_game_data.pyover both files passed.AI-assisted: Antigravity (Gemini).
@zmasi on GitHub · 2026-11-28 03:02 UTC · original
#2552 | head
751261f3eb(merged cleanly with main02f71ccfe) |python -I tests/test_docs_repo_paths.py| red on main: FAILED (failures=1) in 3 tests (14 missing backticked paths; failures=1 in 4 tests ondocs/port_plan.md:164with PR test file copied onto main) | green on PR+main: Ran 4 tests, OK | Windows 11, Python 3.12.10 | AI-assisted: yesDiff reviewed (
docs/port_plan.mdfixescrates/victory-hle/tests/fidelityfx.rs, andtests/test_docs_repo_paths.pyscopesPORT_BRANCH_PATHSper(doc, path)pair rather than exempting entire doc pages). Also verified on mergedPR+main:python -I tests/test_docs_links.py(17/17 OK),python -I tests/test_docs_repeated_lines.py(3/3 OK),python -I tests/test_text_write_line_endings.py(3/3 OK),git diff --check, andscripts/check_no_game_data.py(clean).github-bot referenced this pull request2026-11-28 12:57:20 +00:00
@Tauwni on GitHub · 2026-11-28 14:05 UTC · original
This now conflicts with
mainintests/test_docs_repo_paths.py:43128a9c1(inline external URLs and CommonMark fences) replacedin_fence = Falsewithfence = Noneinmissing_paths, the line before this pull request'sallowed = allowed_missing.get(page, ()). Keeping both resolves it:That merge is on
Tauwni:fix/2552-merge-main(d92101972, parentsmain7ce011205and this branch's head751261f3e), in case it saves the rebase. With it, on macOS (Apple M3, Python 3.15):python -I tests/test_docs_repo_paths.pyOK, 3/3 runs, andtest_docs_linksOK (MEASURED).To check that
PORT_BRANCH_PATHSstays narrow, I appended one backticked path to a doc and ran the test each time (MEASURED, 1 run each):runtime/src/brand_new_missing.hindocs/ultrawide.mdruntime/shims/media_foundation.cpp(allowed forvictory_gap_media.mdonly) indocs/ultrawide.mdruntime/src/aspect_fit.hindocs/running.mdruntime/src/aspect_fit.hagain indocs/ultrawide.mddocs/port_plan.md:164: thecrates/victory-hle/...paths are in VIctory, under "candidates to port", so the full crate path is right and the checker rightly doesn't look atcrates/.One non-blocking thought: nothing notices when an allowed pair stops being missing (when the code lands from
port/d3d12-nvidia), so a stale entry would stay in the list. A check that each(doc, path)inPORT_BRANCH_PATHSis still cited and still missing would keep it honest; fine as a follow-up.Not checked by a second agent or human yet.
AI-assisted (Claude Code).
@TheGeogeo on GitHub · 2026-11-28 23:37 UTC · original
Tested
8ee2b9014merged (no commit) withmainaa918e5d9: Python 3.12.4, Windows 11 10.0.26300, CPU only.check_no_game_data.pyis clean.tests/test_docs_repo_paths.py, 6 tests pass. Themainversion (5 tests) passes too.No blocker from my side.
AI-assisted (Claude Code).
@timbot103 on GitHub · 2026-11-29 01:07 UTC · original · reviewed
Static audit of
8ee2b9014against48bae6cad. Main already has the FidelityFX correction, and the existing path validator passes. All 13 added document/path exceptions are uncited. Attests/test_docs_repo_paths.py:37, please drop the allowlist and its fixture. I confirmed in memory that adding the missingruntime/src/aspect_fit.hreference back todocs/ultrawide.mdfails the base check and passes with this patch.AI-assisted.
@OreoFR on GitHub · 2026-11-29 02:56 UTC · original
Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS (case-insensitive), Python 3.12.16, main
c8bf0e7b6, PR head8ee2b9014: red 0 failures / green 6 OKpython3.12 -I tests/test_docs_repo_paths.py:bcpack_toolcommits are already in main by content).git merge --no-ff): 6 OK, skipped none.test_bcpack_tool28 OK;test_docs_cli_flagshas 1 failure already on main (test_fenced_commands_use_the_flags_of_their_tool,README.md:94 scripts/play-d3d12.ps1 -Game, 3/3), unrelated.PORT_BRANCH_PATHSallow-list is dead code on main — the 4 docs exist but none of main's docs still cite thoseruntime/...paths (git grep); the new unit test only checks the allow-list stays limited to the named (doc, path) pairs. No game data.Verdict: NO RED (nothing on main for the new test to catch; the allow-list may no longer be needed).
AI-assisted: Claude Code
@fiestorra on GitHub · 2026-11-29 17:24 UTC · original
This one does not apply to current
main: it conflicts, and the hunk is worth seeing before a rebase because it looks like a name that half-changed.Cherry-picking its two commits onto
origin/main4364a4fa6stops intests/test_docs_repo_paths.py:Two things point the same way:
maininitialisesfence = None(tests/test_docs_repo_paths.py:73), and this branch initialisesin_fence = False;mainand the branch share, still does_update_fence(fence, line)- so whichever name the loop uses, the initialisation andthe call have to agree.
That reads like a rename that reached the initialisation and not the loop (or the reverse in the branch's own history), rather than an unrelated conflict. It may well
resolve in favour of
fence = Noneplus theallowedline, but that is the author's call and I am not going to guess it into their branch.I did not run the tests: the file does not apply, so there is nothing to run.
tests/test_bcpack_tool.pyand the docs side may be fine on their own, but I cannotseparate them from here without deciding the conflict.
Written with an AI assistant.
@KelboLive on GitHub · 2026-11-30 16:38 UTC · original
Independent check on Windows (not the author), at
8ee2b9014.python -I tests/test_docs_repo_paths.py: 6 tests OK.python -I tests/test_bcpack_tool.py: 28 tests OK.Environment: Windows 11 Pro 10.0.26200.9711, Python 3.12.10.
AI-assisted: yes (opencode).
@aslan2142 on GitHub · 2026-12-01 11:01 UTC · original
Closing as obsolete on
main: thedocs/port_plan.mdFidelityFX path fix has already landed onmain, andtests/test_docs_repo_paths.pyalready passes cleanly onmainwithout exempting any paths (as confirmed by @timbot103 and @OreoFR). The only remaining effective diff againstmain(compare/main...8ee2b901) adds an unused 13-entry allowlist intests/test_docs_repo_paths.py.(AI-assisted review.)
Pull request closed