Skip to content

launcher: identify staged provider before comparing revisions - #255

Draft
Valdi320 wants to merge 1 commit into
brcly:mainfrom
Valdi320:work/launch-provider-provenance-20261126
Draft

Valdi320 wants to merge 1 commit into
brcly:mainfrom
Valdi320:work/launch-provider-provenance-20261126

Conversation

@Valdi320

Copy link
Copy Markdown
Contributor

Follow-up to #231, where a before/after comparison unintentionally used the same staged provider DLL across checkouts. Log the staged D3D12 DLL SHA-256 and the local build's SHA-256 when available. Warn on mismatch by default. An explicit --require-current-provider refuses to prepare or launch unless the staged DLL matches the local build, including missing/ambiguous files. Never redeploy or modify a title. This checks file identity, not the source revision of a built file or the actual Wine module loader's choice.

Five new tests (matching files, same-size mismatch, missing build/staged, ambiguous case variants, and strict refusal before shader preparation/guest launch). 385 Python tests executed, 27 skipped, all six no-GPU groups passed. Also compared two actual previously built provider DLLs with different SHA-256 in a temporary directory: matching accepted, mismatching refused, staged bytes unchanged. No game launched or GPU behavior changed. Full GPU and AMD validation outstanding. Draft for review.

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