fix(mount): prune stale private state temp files on remount - #399
fix(mount): prune stale private state temp files on remount#399khaliqgant wants to merge 1 commit into
Conversation
relayfile-mount --state-dir state accumulated stale private-state temp files across repeated remounts of the same box, degrading performance over time. On remount, quarantine/prune private state files that don't match the current mount's exact identity instead of leaving them to accumulate indefinitely. Fixes #219. Verified: - go build ./... - go test ./internal/mountsync/... -count=1 (113.8s, includes 10 new tests)
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Relayfile Eval ReviewRun: Passed: 4 | Needs human: 0 | Reviewable: 0 | Missing output: 0 | Failed: 0 | Skipped: 0 Human Review CasesNo reviewable human-review cases captured Relayfile output. |
Fixes #219.
`relayfile-mount --state-dir` state accumulated stale private-state temp files across repeated remounts of the same box, degrading performance over time. On remount, quarantine/prune private state files that don't match the current mount's exact identity instead of leaving them to accumulate indefinitely.
Test plan