Repository navigation
make_game: find the Windows pipeline checker after a Visual Studio build - #3468
Desamodeth wants to merge 2 commits into
Conversation
|
AI-assisted independent review of
The built checker was never executed. No GPU, driver, or retail game data was used. |
|
Tested 8099faf merged onto AI-assisted (Claude Code); runs on my machine. |
|
Verified on Linux: the branch no longer merges cleanly — make_game.py and tests/test_make_game_platform.py conflict with the runtime_build parameter added to pipeline_check_exe on main. Resolving locally (supplied build, then flat local build, then the VS configuration folders) and keeping both tests: 40 tests pass in test_make_game_platform plus the other 18 test_make_game_* files. The PR point is real and visible on current main: pipeline_check_exe only probes the flat build path, so a plain Visual Studio build goes undetected. Note it shares both files with #4213, though in different functions. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
Keep the checker from --runtime-build first, followed by the flat local build and the four standard Visual Studio configurations. Cover lookup order and fallback when the supplied build has no checker. AI-assisted-by: Codex Astra 6.2 High
8099faf to
ae8d5ea
Compare
|
Tested ae8d5ea on Windows 11 (26200), Python 3.12: pass. |
AI-assisted-by: Codex Astra 6.2 High
|
Tested
No game files. AI-assisted (Claude Code). |
|
Independent Linux CPU check on a 40-core / 62 GiB server, head f24bd44, no GPU/game data:
Base main control: test_make_game_platform.py: 43/43 pass. The PR adds one passing regression test. No Linux blocking issue found. |
|
Tested
Code read: the candidate list is now flat-build first, then AI-assisted. |
…after a Visual Studio build Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BUILD-1016 · Coordination claim
A Visual Studio build puts the native checker under
runtime/build/<config>. On Windows,make_game.py --stages pipelinesstopped in preflight even after the checker had been built successfully. On Windows, preflight and the pipelines stage use the same search order forvk_pipeline_check.exe. If--runtime-build DIRis supplied, they first try the executable directly inDIR. If it is missing there, or if the flag is omitted, they tryruntime/build/, then itsRelWithDebInfo,Release,MinSizeRelandDebugsubdirectories, in that order. The flat-directory fallback already exists on main. This PR extends it to the four configuration directories. The first file found wins regardless of build date, so an older local checker can be selected when the supplied directory lacks one.Verified on Windows 11, MSVC 19.44, RTX 5070 (621.24), using a synthetic package manifest and one hand-written compute shader validated with
spirv-val. Onmain(f847748c), the CLI exited 1; invoking the Release binary directly created the pipeline. On this branch the same CLI exited 0, built one compute pipeline, skipped none and wrote a nonempty cache.The regression test failed for all four configuration folders on the base. All 278
test_make_game*.pytests passed on this branch. The hardware run used Release. No retail files used. AI-assisted.