[pr-fix][startup] Retry incomplete F1 home moves before switching saves #42
Loading…
Reference in a new issue
No description provided.
Delete branch "holoslicer/Darner:fix-home-migration-retry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
6f6aaeadedhas the same Git tree as tested commit1d20c30415. Both have upstream parent4a92569fb8.picked_foldersintegration 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.cargo clippy --workspace --all-targets --locked --offline -- -D warningsand the same command with--all-featurespassed. The asset policy passed across 542 files.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
main.docs/asset-policy.md.Checked for overlap