Skip to content

tools/release: B8 release check (real-pixel refused-frame test against a build's runtime DLL) - #229

Draft
phantoslayer21 wants to merge 1 commit into
mainfrom
tools/release-refusal-check
Draft

phantoslayer21 wants to merge 1 commit into
mainfrom
tools/release-refusal-check

Conversation

@phantoslayer21

Copy link
Copy Markdown
Owner

Release check for 0.6.5 item B8 (oversight's #228 decision): a repository-defined check under tools/release/ with a working build command. It builds and runs the real-pixel integration test of the normal refused-frame paths (AMD FSR present / absent, the stand-in working / unavailable, the backend's last resort checked on every output pixel, model K and the model M control) against a build's own runtime DLL. The CI can't run it, because there is no runtime DLL there. The release lead runs it on the release candidate in C3.

  • tools/release/run_refusal_check.py --runtime-dll <build>\wronggpu_runtime.dll --work <new scratch folder>:

    1. generates the registry header (clean/wgshared/tools/gen_registry.py);
    2. compiles the test with the command its own header documents (clean/fsr/tests/test_refusal_integration.cpp, kept current by the test's owner in B8: a refused frame always has an explicit result; front end tested against the real backend #228; {a,b}.cpp groups expanded; a built-in list only if the header has none), inside the Visual Studio developer environment (vswhere → VsDevCmd) for the Windows SDK's d3d12 / dxgi;
    3. runs it against the DLL.

    The test run gets APPDATA, LOCALAPPDATA, ProgramData (and ALLUSERSPROFILE), TMP and TEMP redirected into the work folder. The compile moves only TMP / TEMP, because VsDevCmd needs the real ProgramData to find Visual Studio. The result goes to <work>\refusal-check.json. The exit code is the test's. A missing DLL or test file fails the check, never skips it.

  • tools/release/README.md lists the release checks (this one for now).

Tested (on this PC, against #228's head ede7894 in a scratch worktree with the script copied in):

Gates: the must-pass gates pass. LOOK counts equal main's (42 / 29 / 133).

Refs #15.

…egration test against a build's runtime DLL

Signed-off-by: phantoslayer21 <156617979+phantoslayer21@users.noreply.github.com>
@phantoslayer21
phantoslayer21 marked this pull request as ready for review November 15, 2026 03:29
@phantoslayer21 phantoslayer21 added this to the 0.6.6 milestone Nov 15, 2026
@phantoslayer21
phantoslayer21 marked this pull request as draft November 15, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant