Skip to content

Prevent music library loss during reload - #197

Merged
stevenmunn312-tech merged 1 commit into
Hardwarefrom
codex/fix-music-library-reload-race
Aug 24, 2026
Merged

Prevent music library loss during reload#197
stevenmunn312-tech merged 1 commit into
Hardwarefrom
codex/fix-music-library-reload-race

Conversation

@stevenmunn312-tech

Copy link
Copy Markdown
Owner

Summary

  • block autosave until the active project and its music library finish hydrating
  • wait across overlapping music-library restores before capturing a workspace
  • skip page-hide saves while restoration is in progress
  • add a regression test for overlapping restores

Verification

  • npm test -- src/state/tests/musicLibraryPersistence.test.ts src/state/tests/musicStore.test.ts src/state/tests/workspacePersistence.test.ts
  • npm run build

Co-Authored-By: Codex <noreply@anthropic.com>
@stevenmunn312-tech
stevenmunn312-tech merged commit 6a79974 into Hardware Aug 24, 2026
2 checks passed
@stevenmunn312-tech
stevenmunn312-tech deleted the codex/fix-music-library-reload-race branch August 24, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant