docs/testing: a Windows quick start and how to test someone else's PR (DOC-TESTING-WINDOWS-QUICKSTART) #1727
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!1727
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/project-thread-es80ya"
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?
Pull request successfully merged and closed
Claimed in the coordination issue as: DOC-TESTING-WINDOWS-QUICKSTART (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7158856504)
What and why
docs/testing.mdhas everything a Windows tester needs, but spread over many sections, so a first-time tester has to piece the order together. This adds two short sections near the top, linking to the detailed ones rather than repeating them:gpu-test-results/record: what to install,scripts\build_runtime.ps1, the native andLEONIDA_W64_EMULATE=1runs (with the--disasm-dirfallback whenllvm-mcis missing), the commands that collect commit, GPU, driver, subgroup range and Windows build, and which existing record to copy.main, and a one-line format for the result comment, since testing is what many open PRs wait for.Written after a first-time run on an RTX 4060. On that run the Visual Studio 2026 linker crashed (LNK1000), which upstream #1147 fixes; the quick start mentions building from a VS 2022 developer prompt as a fallback.
The quick start says Python 3.12+, matching #1471 (DOC-TESTING-PYTHON-MIN); the existing "What you need" line still says 3.11+ until that lands.
Tested
Docs only. Checked that every path and command referenced exists on current
main(scripts/build_runtime.ps1,scripts/build_llvm_mc.ps1,tools/vk_subgroup_info.py,tests/semantic/fixtures/disasm,gpu-test-results/RTX3060Ti-Windows.txt) and that the in-page anchors match existing headings.GPUs tested: n/a (docs only; the steps follow a run on NVIDIA GeForce RTX 4060, driver 621.14, Windows 11)
AI-assisted: yes (written and opened with Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a, docs only)🤖 Generated with Claude Code
I tested runtime-windows build #2676 on Windows 11 using its matching checkout (4eb6155d3). When I copied the command from the newer guide, that version of run_gpu_tests.py rejected --disasm-dir and --assembler before any GPU test started.
Could the Windows quick start remind readers using a prebuilt runtime to open docs/testing.md at the commit that built their artifact? A tip to run
py -3.12 -I scripts/run_gpu_tests.py --helpfrom that checkout would also help beginners see which options are available.Thanks @Rezn0r27, good catch. Added in
3f2bda31d: step 3 of the quick start now tells anyone using a prebuiltruntime-windowsartifact to check out the commit that built it and read this page at that commit, and to runpython -I scripts\run_gpu_tests.py --helpfrom that checkout to see which options it takes. Also rebased onmainbcaa13dad; thetests/test_docs*checks pass.AI-assisted (non-developer tester).
Thanks! The new note makes it clear which guide to use with a prebuilt runtime and how to check the supported options. That addresses the issue I ran into with build #2676 on Windows.
Small suggestion for “Testing someone else’s pull request”: could we add a note before git fetch origin ...? “Run git remote -v first. If the project repository is listed as upstream, use git fetch upstream in the example below.” In my clone, git ls-remote upstream refs/pull/1818/head returned 05626b30e, the exact commit I tested on Windows.
Merged into
main(merge commit 6a5219f60), approved by DadaCap (maintainer). Thanks!Checked before merging: Tested in our local release candidate (main + 41 PRs): translator suite 512 files / 6,442 tests clean, Python suite with no new failure versus main, and 360 s game runs on an RTX 5080 with no regression. The merge was pinned to the head commit that was tested (59c128236).
AI-assisted (Claude Code), posted for DadaCap.