4cf8246550
CI/CD / Build & Push Docker Image (push) Successful in 1m16s
Add a fallback in onSuccess that ensures the torrent state is set to 'pausedUP' after updateTorrent returns. This catches edge cases where updateTorrent might not set the state correctly. The check: 1. Verifies state after updateTorrent returns 2. If state is not 'pausedUP' but we have a valid symlink path, force update 3. Logs a warning with diagnostic info when fallback triggers This should definitively fix the TorBox downloads stuck in 'downloading' state issue (dcy-355). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>