Skip to content

Fix simultaneous cold startup and release 0.12.2 - #92

Merged
Vorta merged 1 commit into
mainfrom
fix/0.12.2-cold-start
Nov 11, 2026
Merged

Vorta merged 1 commit into
mainfrom
fix/0.12.2-cold-start

Conversation

@Vorta

@Vorta Vorta commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Starting two freshly extracted copies together can let one process publish and load a WPF mixed-mode assembly between the other's cache check and atomic move. Windows then rejects replacement of the loaded DLL and the second application aborts during startup. This was reproduced from the published 0.12.1 ZIP.

Accept a competing publisher only after verifying the entire cached assembly against the embedded bytes. Missing, unreadable or mismatching files preserve the publication error. Add a deterministic locked-target regression with a same-length mismatching control, document the cache behavior and prepare the user-approved 0.12.2 release. The 0.12.1 tag and assets remain immutable.

Validation: Release build with no warnings/errors; all 3,219 solution tests passed on a private desktop/profile; a fresh read-only adversarial review covered the whole loader, embedding/exclusion targets, startup consumers, package publication/verifier and regression. The actual candidate package passed 20 simultaneous cold-cache GUI pairs, with installed runtime discovery disabled, plus packaged helper version, 112-tool/2-resource discovery, concurrent first calls, reconnect/shutdown, all six compiled MW3 maps and representative native c1 source/valve checks. All 105 compiled and 9,315 native source input hashes were unchanged. The prior release's corpus, all 48 native mission variants and presented GPU checks remain applicable to the unchanged feature code.

Closes #91.

@Vorta
Vorta merged commit 2a6a999 into main Nov 11, 2026
1 check passed
@Vorta
Vorta deleted the fix/0.12.2-cold-start branch November 11, 2026 18:23
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.

Fix simultaneous cold startup of bundled WPF assemblies

1 participant