Skip to content

fix: recover library covers when source URL goes stale#988

Open
neldra wants to merge 3 commits into
Aidoku:mainfrom
neldra:fix/cover-staleness-recovery
Open

fix: recover library covers when source URL goes stale#988
neldra wants to merge 3 commits into
Aidoku:mainfrom
neldra:fix/cover-staleness-recovery

Conversation

@neldra

@neldra neldra commented May 24, 2026

Copy link
Copy Markdown

Fixes #326.

On HTTP 403/404/410 from a library cover load, refetch manga details via MangaManager.resetCover and retry with the fresh URL. Throttled to one attempt per manga per session. Applied to both MangaGridCell and MangaListCell.

Also includes a small unrelated fix updating TrackerSyncTests for the trackItem rename in #976, so the test target compiles locally.

neldra added 2 commits May 24, 2026 13:35
On HTTP 403/404/410 from a library cover load, refetch manga details
via MangaManager.resetCover and retry with the fresh URL. Throttled to
one attempt per manga per session.
@CLAassistant

CLAassistant commented May 24, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Skittyblock Skittyblock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, i haven't tested but i think this is probably a good idea to have

Comment thread iOS/UI/Common/Manga/CoverRecovery.swift Outdated
Comment thread iOS/New/Views/Common/MangaListCell.swift Outdated
- replace the GCD lock with a private actor for the dedup set
- store MangaIdentifier in cells instead of separate source/manga ids
@neldra

neldra commented May 31, 2026

Copy link
Copy Markdown
Author

Addressed both: swapped the GCD lock for a private actor managing the attempt set, and switched the cells + recover over to MangaIdentifier. Thanks for the review!

@neldra neldra requested a review from Skittyblock May 31, 2026 08:28

@Skittyblock Skittyblock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, will merge before the next app update

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.

Refresh library covers option

3 participants