Files
SubMiner/backlog/tasks/task-249 - Fix-AniList-token-persistence-on-setup-login.md

1.6 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies, documentation, priority
id title status assignee created_date updated_date labels dependencies documentation priority
TASK-249 Fix AniList token persistence on setup login Done
2026-03-29 10:08 2026-03-29 19:42
anilist
bug
src/main/runtime/anilist-setup.ts
src/core/services/anilist/anilist-token-store.ts
src/main/runtime/anilist-token-refresh.ts
docs-site/anilist-integration.md
high

Description

AniList setup can appear successful but the token is not persisted across restarts. Investigate the setup callback and token store path so the app either saves the token reliably or surfaces persistence failure instead of reopening setup on every launch.

Acceptance Criteria

  • #1 AniList setup login persists a usable token across app restarts when safeStorage works
  • #2 If token persistence fails the setup flow reports the failure instead of pretending login succeeded
  • #3 Regression coverage exists for the callback/save path and the refresh path that reopens setup when no token is available

Final Summary

Pinned installed mpv plugin configs to the current SubMiner binary so standalone mpv launches reuse the same app identity that saved AniList tokens. Added startup self-heal for existing blank binary_path configs, install-time binary_path writes for fresh plugin installs, regression tests for both paths, and docs updates describing the new behavior.