Repository navigation
shader_carve: restore previous payloads if index publication fails - #6031
Open
kacper-serewis wants to merge 2 commits into
Open
kacper-serewis wants to merge 2 commits into
kacper-serewis wants to merge 2 commits into
Conversation
SirKingg
approved these changes
Nov 23, 2026
SirKingg
left a comment
Contributor
There was a problem hiding this comment.
AI-assisted independent review of 4ce1aa0, Windows (build 26300), Python 3.11.3; CPU only, no GPU or game data.
python -I tests\test_shader_carve.py: 34 passed, including the real Windows locked-index rollback and retry.python -I tests\test_text_write_line_endings.py: 3 passed;git diff --checkpassed.- Independent synthetic fault injection: each of the five payload replace steps and the final index replace restored two old payloads and removed a new name. A second injected rollback failure preserved the guard and original backup; an injected post-commit guard-move failure left the new payload and index published.
Reviewed both commits, including the carried #5211 fix and its existing discussion. Readers still need coordination during publication; process crashes and actual hardware/filesystem failures during rollback were not tested. No blocking issue found.
Contributor
|
claiming: independent Windows review of PR #6031 at head Verdict: pass.
Three non-blocking notes from the probes:
Windows 11, Python 3.12.10, CPU only. No game files. AI-assisted. |
This was referenced Nov 23, 2026
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 SHADER-CARVE-PUBLISH in coordination #5934.
Depends on: #5211
Stages the payloads and index on the destination volume. Cooperating writers publish one at a time under an exclusive directory guard. If a payload install or index replacement fails, the publisher restores overwritten files and removes newly installed names. Successful reruns keep the original filenames and index format. The first commit carries #5211 on current main. The second implements this follow-up.
Readers must coordinate with a publisher for a consistent snapshot during replacement. A process crash or a second filesystem failure during rollback can require manual recovery. A cleanup failure after the index commit leaves the new output published.
AI-assisted with Codex. Tested on Windows, CPU only, no GPU or graphics driver involved.