[PR #1727] docs/testing: a Windows quick start and how to test someone else's PR (DOC-TESTING-WINDOWS-QUICKSTART) #1743

Open
opened 2026-11-26 21:18:48 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1727
Author: @potatoe0100
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: claude/project-thread-es80ya


📝 Commits (3)

  • 5669184 docs/testing: a short Windows quick start for GPU testers (DOC-TESTING-WINDOWS-QUICKSTART)
  • ca6101c docs/testing: how to test someone else's pull request on Windows
  • 59c1282 docs/testing: a prebuilt artifact runs with the scripts and page of its own commit

📊 Changes

1 file changed (+72 additions, -0 deletions)

View changed files

📝 docs/testing.md (+72 -0)

📄 Description

Claimed in the coordination issue as: DOC-TESTING-WINDOWS-QUICKSTART (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7158856504)

What and why

docs/testing.md has 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:

  • Quick start on Windows: five steps from a fresh PC to a gpu-test-results/ record: what to install, scripts\build_runtime.ps1, the native and LEONIDA_W64_EMULATE=1 runs (with the --disasm-dir fallback when llvm-mc is missing), the commands that collect commit, GPU, driver, subgroup range and Windows build, and which existing record to copy.
  • Testing someone else's pull request: fetching a PR branch, rebuilding, running it next to 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

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a, docs only)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1727 **Author:** [@potatoe0100](https://github.com/potatoe0100) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `claude/project-thread-es80ya` --- ### 📝 Commits (3) - [`5669184`](https://github.com/ubiquitarianism/leonida/commit/5669184f15e6be5ca1fe676f27ca76f2598d163f) docs/testing: a short Windows quick start for GPU testers (DOC-TESTING-WINDOWS-QUICKSTART) - [`ca6101c`](https://github.com/ubiquitarianism/leonida/commit/ca6101c50fd356d5c2bddbcd861a6d974d182030) docs/testing: how to test someone else's pull request on Windows - [`59c1282`](https://github.com/ubiquitarianism/leonida/commit/59c128236442b80c39e4cf295258553fcd155d45) docs/testing: a prebuilt artifact runs with the scripts and page of its own commit ### 📊 Changes **1 file changed** (+72 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/testing.md` (+72 -0) </details> ### 📄 Description Claimed in the coordination issue as: DOC-TESTING-WINDOWS-QUICKSTART (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7158856504) ### What and why `docs/testing.md` has 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: - **Quick start on Windows**: five steps from a fresh PC to a `gpu-test-results/` record: what to install, `scripts\build_runtime.ps1`, the native and `LEONIDA_W64_EMULATE=1` runs (with the `--disasm-dir` fallback when `llvm-mc` is missing), the commands that collect commit, GPU, driver, subgroup range and Windows build, and which existing record to copy. - **Testing someone else's pull request**: fetching a PR branch, rebuilding, running it next to `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 - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a, docs only) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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
starred/leonida#1743
No description provided.