What's fixed
Visiting "Create/View Kobo Auth Token" no longer queues a kepub conversion for every EPUB in your library. On large libraries (the upstream reporter has ~200k books), the old behavior flooded the worker queue, doubled disk usage, starved actual Kobo sync calls, and tripped the container healthcheck.
The fix scopes the auto-conversion to books on shelves you've enabled Kobo Sync for. Books outside those shelves still convert on-demand at sync time, so user-facing sync behavior is unchanged.
Mirrors upstream crocodilestick/Calibre-Web-Automated#817 (reporter @jderuiter).
docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.0.33
Regression coverage
tests/smoke/test_kobo_auth_shelf_scope_smoke.py (AST-pin) prevents a future refactor from quietly reintroducing the unbounded library walk.
Credits
Community contribution by @FRaccie and @ZanibytesDev. Reporter @jderuiter on CWA #817.