feat: add targeted album list sync background task (#558)
adds sync_album_list task to sync album ATProto list records immediately
after track operations, rather than waiting for the user's next login.
changes:
- add sync_album_list task and schedule_album_list_sync to background_tasks.py
- refactor _register_tasks to use docket.register_collection() per Guidry's advice
- call sync on: track upload, track delete, track album change, record restore
- mock schedule_album_list_sync in affected tests
fixes the issue where albums created during track upload didn't get
ATProto list records until the user logged in again.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
authored by
zzstoatzz.io
Claude
and committed by
GitHub
57b60c65
fe1ea78c