Skip to content

v.6.1.3

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 13:32
53f554b

Docker:

docker pull ghcr.io/rix1337/quasarr:latest

Python:

uv tool upgrade quasarr

Fixes duplicate failure notifications and the lost failure reason when a late SponsorsHelper callback arrives for a package another flow already handled.

A package can be failed once by the browser userscript (for example "Package is offline (0 files online)") while SponsorsHelper is still working on it. The userscript deletes the protected record. Minutes later the helper's exhausted-attempts callback still called fail(), so Quasarr created a second failed history entry and a new Discord message whose reason was the generic after 3 attempts, overwriting the accurate reason. The screenshots show the same release failed twice, once offline and once after 3 attempts.

The helper failure paths now require the protected record to still exist before changing anything:

  • /sponsors_helper/api/fail/ returns 404 for a package that was already solved, failed, or removed.
  • mark_helper_package_failed applies the same guard to empty or invalid helper download payloads.
  • /sponsors_helper/api/disable/ returns 404 instead of raising on a stale package.
  • Failed-decryption counts are only incremented for packages that still exist.
  • HTTP aborts from the fail route are re-raised instead of being swallowed into a 500.

Existing FileCrypt solver-exhaustion behavior is unchanged: an existing protected package still keeps its record, is disabled for automatic helper retries, and goes to manual CAPTCHA solving.

Trail note: trail check --base origin/main flags this change against the 2026-10-31 learning that ruled out the old destructive helper failure endpoint. That behavior is not restored. The learning's manual-fallback path is untouched; the guard only drops callbacks for protected records that no longer exist, where there is nothing left to retain or solve manually.

Verification: uv run python -X utf8 pre-commit.py passed with the pinned uv 0.11.3, including the full 758-test suite, ruff, and the privacy check. Version bumped to 6.1.3. No hostname or configuration changes.

Changelog:

  • 53f554b - Merge pull request #506 from rix1337/fix/stale-sponsorshelper-failure
  • f8c89b9 - Ignore stale SponsorsHelper failure callbacks

Attestation