Repository navigation
test(installer): preserve host Steam API in payload tests - #3
Merged
Merged
Conversation
Co-Authored-By: Codex <codex@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The aggregate default install now leaves steam_api.dll to the game, but the actual-payload test still required the installer to create that file. This caused MetaHookSv/MetaHookSv#896 CI to fail even though all CLI regression cases passed.
Model a game-provided Steam API DLL in the integration fixture and verify it is preserved when absent from the payload. Older/custom payloads containing the DLL still verify replacement with their supplied bytes. Add a focused regression covering both an absent and a pre-existing host runtime. Production installer behavior is unchanged.
Validation: reproduced the original failure using a newly staged aggregate install with SteamAppsLocation disabled (the clean CI default); the corrected integration now passes for simulated Sven Co-op and Half-Life. All 33 regression cases pass in Debug and Release; git diff --check passes. The earlier reused local build had SteamAppsLocation explicitly ON, which masked the old assertion.
Merge before the updated aggregate PR #896. No new Installer release is needed because this changes tests only.