Home

dev / openkara

publicthedavidweng/OpenKara· sync paused
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(remote): preserve RetryWait, bind batch song_ids, fix refresh/bootstrap races (#151)

2 months ago

0707c5f
Authored
Davy7/21/2026, 5:05:13 AM
Stop mark_upload_status from demoting executor RetryWait to terminal Failed so
durable retry and startup recovery keep working after network faults.

Bind import/batch song IDs onto the same prepared operation before pending so
crash recovery never parks on empty payloads, and cancel empty placeholders.

Install credential token + refresh epoch before clearing the single-flight
slot and notifying waiters. Share one activate_verified_database_candidate
helper for pull and bootstrap so LKG restore and schema checks stay equivalent.

Parent56daeac

6 files changed
  • src-tauri/src/audio/remote_source.rs+15−6
  • src-tauri/src/remote/atomic_download.rs+58−29
  • src-tauri/src/remote/bootstrap.rs+7−27
  • src-tauri/src/remote/mutation.rs+115−26
  • src-tauri/src/remote/sync/publish.rs+6−0
  • src-tauri/src/remote/sync/upload_status.rs+174−10