Repository navigation
Conversation
Contributor
|
Checked on Linux: merged onto main 77fa308 (merges cleanly).
|
Contributor
|
Tested 3e2978f on Windows 11, Python 3.15.2, NVIDIA RTX 4060 Ti (driver 621.24; CPU-only checks, no game files, no GPU/llvm-mc/MSVC used): pass. Ran the test files this PR adds or changes, from a clean checkout of the PR head: AI-assisted (Claude Code). |
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.
Claim: #7333 (comment)
saves.py extractcould overwrite its input when a generated output filename named the source container, including through a hard link or symlink.Check all generated JSAV and ASAV output paths using the shared
same_report_pathhelper before writing extraction files. Refused runs preserve the source and existing exports.Regression coverage includes direct filename collisions, hard links, symlinks where available, Windows case aliases, optional ASAV outputs, CLI errors, and successful extraction into another directory.
Validation on Windows, Python 3.14.6:
python -I tests/test_saves.py: 77 tests, OK, 5 skipped.git diff --check: passed.Related: #1438 checks the destination directory; #6823 and #5107 protect pack sources. This change protects the extract input.
AI-assisted (OpenAI Codex helped). Synthetic fixtures only; CPU only, no GPU testing or game files.