Skip to content

refactor: remove book file cache and handle migration startup failures#578

Merged
everpcpc merged 4 commits intomainfrom
codex/remove-book-file-cache
Feb 28, 2026
Merged

refactor: remove book file cache and handle migration startup failures#578
everpcpc merged 4 commits intomainfrom
codex/remove-book-file-cache

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

@everpcpc everpcpc commented Feb 28, 2026

Summary

  • remove the deprecated BookFileCache implementation and settings UI
  • keep cleanup for the legacy KomgaBookFileCache namespace and remove stale docs/localization references
  • replace fatal ModelContainer initialization crashes with a startup failure screen and retry flow for migration errors
  • bump the build version to 329

Testing

  • make build
  • make localize
  • ./misc/translate.py list

Delete the unused BookFileCache implementation and remove its settings UI, localization entries, and docs references.

Keep cleanup of the historical KomgaBookFileCache namespace in CacheManager so old on-disk data can still be removed when clearing server caches.
Replace the fatal ModelContainer initialization crash with a startup failure state and retry flow.

Add a dedicated startup failure view and localized guidance so users see a recovery message instead of the app terminating when local data cannot be opened or migrated.
@everpcpc everpcpc changed the title refactor: remove deprecated book file cache refactor: remove book file cache and handle migration startup failures Feb 28, 2026
Clarify the startup failure copy for local data migration issues.

Explain that the problem can happen when upgrading from a much older KMReader version or when the local database is already corrupted, while keeping the retry and reinstall guidance.
@everpcpc everpcpc merged commit 781c595 into main Feb 28, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/remove-book-file-cache branch February 28, 2026 13:00
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