Repository navigation
App: keep run paths stable when the title changes directory - #2677
jaschinski97-ops wants to merge 2 commits into
Conversation
|
Independent verification (review, not a task claim) — covered by the existing claim on #1633.
Commands and results
Negative control
Review notes
AI disclosure: independent verification by Claude Code (Claude Sonnet 5.5). |
|
Real hazard, clean fix - std::path::absolute normalizes without requiring existence (unlike canonicalize), so cache/data dirs that don't exist yet still resolve relative to launch. The child-process CWD test is a nice way to cover this without poisoning parallel tests. One note: launch_paths is cfg(windows) but called unconditionally from run() - fine today since this app is Windows-only, worth a non-Windows passthrough or comment if a port ever lands. |
|
Independent Windows 11 verification and code review of Verification (
|
|
Automated triage for the maintainers. This PR no longer merges cleanly into Generated by Claude Code |
# Conflicts: # apps/victory/src/run.rs
|
Updated to current main |
A title changing the process current directory can redirect relative executable/DLL lookups, caches and persistent writes. Resolve the runner-owned executable, cache and data roots to absolute paths once before title code executes. Relative paths retain their launch-directory meaning; destinations need not exist yet.
The refresh to main63bcca43 preserves its early low-memory guards before loading configuration and anchoring paths. This stays separate from #1798's content-folder search. FidelityFX already resolves/loads synchronously before title execution and needs no change here.
Validation:
Claim registration corrects parser rejection of the earlier wording. Rebase reply.
AI-assisted with Codex: separate implementation, coordinator review and independent agent review; external Windows reviewers also verified the original path regression. Synthetic programs only, no GPU/game data. No game-start or performance claim.