[pr-fix][startup] Retry incomplete F1 home moves before switching saves #42

Manually merged
TrustNo1 merged 0 commits from holoslicer/Darner:fix-home-migration-retry into main 2026-12-03 18:36:49 +00:00
Contributor

Contributor role (optional)

What it changes

If an F1 home-folder move encounters a locked save, an unavailable source or a conflicting destination, Darner can switch to the incomplete destination and lose the record it needs to retry. This change keeps the previous home active until the copy succeeds. It preserves newer destination saves and retries on the next launch. A cache that follows the home waits with it. A separately selected cache can move independently.

How it was tested

Windows x64, Rust 1.98.1. Published commit 6f6aaeaded has the same Git tree as tested commit 1d20c30415. Both have upstream parent 4a92569fb8.

  • All eight picked_folders integration tests passed. The two new cases exercise retries across launches, preservation of an existing destination save, and an independent cache move. Both failed on the original unpatched base. A three-launch Windows CLI check on the original change also exercised file locks. These tests used synthetic saves.
  • Both cargo clippy --workspace --all-targets --locked --offline -- -D warnings and the same command with --all-features passed. The asset policy passed across 542 files.
  • The full workspace run (cargo --config 'profile.test.package.darner-shader.opt-level=3' test --workspace --locked --offline --no-fail-fast -- --test-threads=1) finished with 3,232 passed, four failed and 117 ignored. All four failures reproduced on unmodified upstream: the capped-draw wait, resource write-watch, DXIL depth-output validation and expected 32-lane wave size. Both GPU tests passed when rerun individually on this branch.

Checklist

  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • This change has no PR dependencies.

Checked for overlap

  • Searched the new forge's open and closed issues and PRs and checked the files changed by open PRs. No competing PR was found. The previously merged CodeFloe PR #353 addressed moving the shader cache.
## Contributor role (optional) <!-- Fluxer ID omitted. --> ## What it changes If an F1 home-folder move encounters a locked save, an unavailable source or a conflicting destination, Darner can switch to the incomplete destination and lose the record it needs to retry. This change keeps the previous home active until the copy succeeds. It preserves newer destination saves and retries on the next launch. A cache that follows the home waits with it. A separately selected cache can move independently. ## How it was tested Windows x64, Rust 1.98.1. Published commit `6f6aaeaded` has the same Git tree as tested commit `1d20c30415`. Both have upstream parent `4a92569fb8`. - All eight `picked_folders` integration tests passed. The two new cases exercise retries across launches, preservation of an existing destination save, and an independent cache move. Both failed on the original unpatched base. A three-launch Windows CLI check on the original change also exercised file locks. These tests used synthetic saves. - Both `cargo clippy --workspace --all-targets --locked --offline -- -D warnings` and the same command with `--all-features` passed. The asset policy passed across 542 files. - The full workspace run (`cargo --config 'profile.test.package.darner-shader.opt-level=3' test --workspace --locked --offline --no-fail-fast -- --test-threads=1`) finished with 3,232 passed, four failed and 117 ignored. All four failures reproduced on unmodified upstream: the capped-draw wait, resource write-watch, DXIL depth-output validation and expected 32-lane wave size. Both GPU tests passed when rerun individually on this branch. ## Checklist - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`. - [x] This change has no PR dependencies. ## Checked for overlap - [x] Searched the new forge's open and closed issues and PRs and checked the files changed by open PRs. No competing PR was found. The previously merged CodeFloe PR #353 addressed moving the shader cache.
TrustNo1 manually merged commit b70d1886bb into main 2026-12-03 18:36:49 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner!42
No description provided.