Repository navigation
docs/runtime_imports: XAccessibilityImpl and XLauncherImpl are served (EGEN-RUNTIME-IMPORTS-SERVED) - #7677
Conversation
… (RT-5) runtime/shims/xgameruntime_offline.cpp serves both classes through QueryApiImpl (kAccessibilityClass at :532, kLauncherClass at :622), so the executable's class table no longer lists them as unserved and only XAppCaptureImpl is left (open pull request ItsNotRexed#4307). Re-measured with tools/gdk_runtime_calls.py on the retail executable: 161 thunks, 158 referenced, 17 classes.
The table's Served column and the sentence naming the unserved classes are answers about runtime/shims, which changes without the page. Compares both with tools/gdk_runtime_calls.py's served_classes() over runtime/shims/xgameruntime*.cpp, and exercises the checker on a table with one wrong cell so a check that accepts everything cannot pass. No game files, no GPU.
7916c34 to
0343b4e
Compare
|
Independent verification on Windows 11 x64 (Python 3.14.0rc2, CPU-only; pure synthetic fixtures, zero game data). Verification & Negative Controls
LGTM. Approved. AI-assisted. |
|
Tested 0343b4e on Arch Linux, Python 3.14.10, CPU only: pass — first Linux check. tests/test_runtime_imports_classes.py 4/4 OK; docs suites (table_rows, repeated_lines, table_ids) OK; compileall clean; check_no_game_data clean. Shim claim verified in source (kAccessibilityClass/kLauncherClass answered by QueryApiImpl). Negative control: doc reverted two commits → exactly the 2 named mismatches; restored, green. No game files. AI-assisted. |
|
Tested 0343b4e on Windows 11 (CPU only, no GPU needed): pass Windows 11 Pro, Python 3.14.7, no GPU or game files involved; pytest/numpy/Pillow pinned from
AI-assisted (Claude Code, Claude Opus 5.5). |
|
Tested 0343b4e on Windows 11, Python 3.15.2, NVIDIA RTX 4060 Ti (driver 621.24; CPU-only checks, no game files, no GPU/llvm-mc/MSVC used): pass. Ran the test files this PR adds or changes, from a clean checkout of the PR head: AI-assisted (Claude Code). |
The retail executable's class table in docs/runtime_imports.md still marked
XAccessibilityImplandXLauncherImplas not served, and the paragraph under it said three classes were unserved and named #4235/#4248 as the PRs that would serve two of them. Both are already served on main:runtime/shims/xgameruntime_offline.cppanswers QueryApiImpl forkAccessibilityClass(:532) andkLauncherClass(:622). OnlyXAppCaptureImplis still unserved (#4307). The page pointed shim work at two classes that need none.Measured with the repository's own tool on the retail executable:
So the Served cells for those two rows flip to
yes, the sentence names the one class that is left, and the section's measurement commit is re-dated (0d31cdd) because the numbers were re-measured. The speech-synthesizer and launcher slot measurements are kept.The test
A new test keeps the column in step with the shim sources, using the same reading the tool uses (every
constexpr GUID k...Classinruntime/shims/xgameruntime*.cpp). It also checks that the "The one that is not: ..." sentence names exactly the unserved rows, and exercises the checker on a table with one wrong cell.Before (docs/runtime_imports.md reverted to main, test in place):
After:
Also on the rebased tree:
python -I tests/test_docs_table_rows.py(OK),python -I tests/test_docs_repeated_lines.py(OK),python -m compileall -q tests/test_runtime_imports_classes.py(OK),python -I scripts/check_no_game_data.py tests/test_runtime_imports_classes.py docs/runtime_imports.md(clean).No GPU needed. No game data is added: the test reads only tracked files, and this text carries counts only.
Notes
tools/gdk_runtime_classes.jsonand the served set from the shims, so it needs neither the executable nor a GPU and runs in CI.AI-assisted.