Skip to content

fix: clear LicenseDenied deferrals on account re-registration and clarify skip message - #2172

Merged
Mbucari merged 3 commits into
rmcrackan:masterfrom
wtanksleyjr:fix/clear-deferrals-on-reregistration
Nov 18, 2026
Merged

Mbucari merged 3 commits into
rmcrackan:masterfrom
wtanksleyjr:fix/clear-deferrals-on-reregistration

Conversation

@wtanksleyjr

Copy link
Copy Markdown
Contributor

Summary

  1. Clear stale LicenseDenied deferrals on account re-registration:
    • When an account hits legacy/throttled license denials (or the user forces re-registration by unchecking the account in Accounts or running libationcli login-external), DownloadAttemptFailureStore could leave the remaining queued titles deferred for ~24 hours even after the user re-authenticated with modern Widevine credentials (as seen in Throttled/content license denied #2140).
    • Added DownloadAttemptFailureStore.ClearForAccount(string? account, DownloadFailureKind kind), raised ApiExtended.AccountReRegistered when a forced login / re-registration succeeds, wired it in LibationScaffolding.wireUpSystemEvents, and called it from LoginExternalOptions on forced/re-registration logins.
    • AssetUnavailable (e.g. preorders) and other accounts' deferrals are preserved.
  2. Clarify the deferred-skip line in BackupRequest:
    • Changed SkipReason.WaitingToRetry from "Waiting before trying again after a recent failure" to "Titles waiting to retry after a recent failure" ("download a title on its own to try it now") so the trailing : <count> unambiguously refers to the title count rather than a wait duration.

Testing

  • ApplicationServices.Tests: 110 passed, 0 failed (including new ClearForAccount_clears_matching_kind_only_for_that_account)
  • LibationUiBase.Tests: 233 passed, 0 failed
  • LibationCli.Tests: 75 passed, 0 failed
  • dotnet build Source/Libation.slnx --no-restore: 0 warnings, 0 errors

@Mbucari
Mbucari merged commit c856093 into rmcrackan:master Nov 18, 2026
11 checks passed
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.

2 participants