Settle upload reference checks before uploading, not inside it

A job marked for a reference check was checked when the worker picked
it. A removal that kept failing then left it first in line on every
attempt, holding up the uploads behind it, and a staged job took the
removal on a path that could throw out of retryNow. A marked job now
never uploads: each retry first settles the checks it can (online, no
upload running), a failed removal leaves the job marked and waiting,
and every other job goes on.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
fab3270bf6Dara Adedeji committed on 9/28/2026, 5:27:30 PMparenta03bf21
2 files changedLine totals unavailable