WIP: [pr-docs][startup] Add docs/testing-prs.md: build and test a pull request without having built Darner before #203
Loading…
Reference in a new issue
No description provided.
Delete branch "Jesper-A/Darner:up-docs-testing-prs"
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?
Related: #167 asks whether dev builds should have one way in; the page names today's
scripts\play-nvidia.ps1and will follow if that changes.What it changes
CONTRIBUTING.mdsays testing someone else's pull request is the most useful thing to do, but gives no steps.Adds
docs/testing-prs.md, a copy-and-paste guide, and one sentence inCONTRIBUTING.mdthat links to it. It covers:wingetinstalls of Git, Rustup and the Visual Studio 2022 Build Tools with the C++ workload (Microsoft.VisualStudio.Workload.VCTools, with--includeRecommended, and--wait --passivebecause--overridereplaces winget's own installer arguments);git fetch origin refs/pull/<N>/head, thengit checkout <the verified 40-character commit>;Get-NVIDIA-DLSS.cmd, thenscripts\play-nvidia.ps1 -Exe ... -More '<SWITCH>';-Dlss off);Why a pinned commit and a build, not a downloaded exe: testers build a commit that someone checked first, named by its full hash. A pull request can be changed after it was checked, and a downloaded exe from an unchecked pull request could be malicious. If the pull request moved,
git checkoutfails with "reference is not a tree" and the page tells the tester to wait. This came out of a Fluxer discussion on 2026-12-04 with xrobau and TrustNo1. The Fluxer bot will post a thread per pull request that fills in N, the commit and the switch, and links to this page.How it was tested
up-docs-testing-prs, based ontrustno1/mainf3840d73d).cargo clippy --workspace --all-targets --locked -- -D warnings, the same with--all-features,cargo test --workspace --locked) none applies to a docs-only diff and none was run.cargo xtask policy: not run. The facts the page states were checked againsttrustno1/mainby readingscripts/play-nvidia.ps1,rust-toolchain.tomlandGet-NVIDIA-DLSS.cmd.play-nvidia.ps1line with-Morewas not run end to end from a fresh clone of the final page.play-nvidia.ps1: without the NVIDIA files it printslauncher.sdk.nvidia_missingand plays on, and-Dlss offskips the check.scripts/build-darner.ps1andplay.ps1), the page follows the new names.Spec dependence
Likely general: the page is about Windows tools and git. The play line was read for an NVIDIA card; AMD and Intel are untested. Nothing here depends on the author's hardware (RTX 2070 SUPER, ReBAR off).
Checklist
main.docs/asset-policy.md. No game data, names or screenshots.Checked for overlap
README.mdonly, no install orrefs/pullsteps), #152 (docs/ab-testing.md). Related issue: #167 (question about launcher names).This change was made with AI assistance (Claude Code).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.