Cloud Sync WebDAV auto-sync fails on game close (Windows) but manual sync succeeds
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Is there an existing issue for this?
- This is a bug in RetroArch frontend
- I have searched the existing issues
Description
On Windows, RetroArch Cloud Sync using a WebDAV backend consistently reports “Failed to sync” right after closing content, but performing a manual sync immediately after always succeeds.
Additional context
This looks like a timing/flush or Windows-specific auto-sync issue: the auto-sync path triggered on content close may be firing before save/state files are fully written or unlocked, causing a failure toast even though a later manual sync succeeds without changes to config.
Potential fix
Maybe adding a delay of 1 or 2 seconds after content close would give the core enough time to release the save file for a successful auto-sync?
Expected behavior
After closing content, Cloud Sync should complete successfully and match the behavior of manual sync.
Steps to reproduce the bug
- Install RetroArch on Windows.
- Configure Cloud Sync with a working WebDAV server.
- Launch any core/content and play until a save/state is created or updated.
- Close content / exit the game back to the menu.
- Observe the Cloud Sync status toast/message.
- Go to Main Menu → Cloud Sync → Sync Now (manual sync).
Version/Commit
1.22.2
Bisect Results
No response
Present in the nightly version
Yes, this is reproduced in the nightly build
Platform & operating system
Windows 11 25H2
Affected Cores
No response
Environment information
No response
Relevant log output
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Cloud Sync auto-sync path triggered when content closes and compare it with Main Menu → Cloud Sync → Sync Now on Windows. Reproduce with a WebDAV backend and inspect timing around save/state file writes and locks; done means auto-sync succeeds after closing content and matches manual sync.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cloud, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100