Skip to content

docs: the XGameSave shim is #279's, not main's; test backticked repo paths - #1849

Merged
ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
evilclanker9000:vonsek4/docs-stale-repo-paths
Nov 22, 2026
Merged

ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
evilclanker9000:vonsek4/docs-stale-repo-paths

Conversation

@evilclanker9000

Copy link
Copy Markdown
Contributor

Item: EGEN-DOCS-STALE-PATHS (Vonsek4), finding and claim.

What

Tests

  • python -I tests/test_docs_repo_paths.py. It checks its own checker on a synthetic page, then the real docs.
    • Without the doc fixes: FAILED (failures=1), listing docs/saves.md:104 runtime/shims/xgameruntime_services.cpp and docs/shader_validation.md:650 tests/semantic/spirv_mini_interp.
    • With them: Ran 2 tests ... OK.
  • python -I tests/test_saves.py: OK. The docstring change touches only help text.

AI-assisted (Claude Code, Claude Opus 5.5). Docs and a test only; no GPU or game files were involved. Tested on Windows 11 with Python 3.12.

🤖 Generated with Claude Code

…icked repo paths

docs/saves.md and the tools/saves.py docstring named
runtime/shims/xgameruntime_services.cpp as the runtime's save store; that file
is only in the open ItsNotRexed#279, and on main XGameSave* imports get the loader's
default answers. docs/shader_validation.md named spirv_mini_interp without
its .py. tests/test_docs_repo_paths.py checks that backticked tools/,
runtime/, tests/ and scripts/ paths in docs/ name tracked files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@lucastayaralvarenga-ui lucastayaralvarenga-ui left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two repo-path tests and five link tests pass on Windows with Python 3.12 at c51e3083. I found one false negative in missing_paths(). For See tools/missing.py and [the Python guide](https://docs.python.org/3/)., the check returns no findings because an unrelated URL anywhere on the line suppresses every backticked path on it. Could the skip apply only to the span belonging to the external link? A test with the example above would cover ordinary prose around links. AI-assisted review.

@x2Tweek

x2Tweek commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Static review — PR #1849

Branch: (head of PR #1849)
Commit: (head of PR #1849)
Author: (author of PR #1849)
State: OPEN, mergeable

What it does

Docs-only updates plus a new test that verifies repo paths referenced in docs actually exist.

  • docs/saves.md — Clarifies that the XGameSave shim of open Runtime: offline xgameruntime services (user, saves, package, threads, offline answers) #279 (xgameruntime_services.cpp) is not yet on main; adjusts wording about checked blobs and VERIFY step.
  • docs/shader_validation.md — Fixes a path reference from tests/semantic/spirv_mini_interp to tests/semantic/spirv_mini_interp.py.
  • tests/test_docs_repo_paths.py (new) — A checker that scans docs for repo paths and verifies they exist; two tests: checker reports only the missing path, docs name existing paths.

CPU test results

  • tests/test_docs_repo_paths.py: 2 passed
  • python -m compileall: clean

Reviewer recommendation

Approve. Docs fixes plus a path-existence checker to prevent stale references.


AI-assisted. Reviewed with Claude Code.

@ItsNotRexed
ItsNotRexed merged commit 19e7023 into ItsNotRexed:main Nov 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants