Failed publishes now transition out of pending (
ed7c94a)
The publish handler now explicitly marks a task as failed if tarball upload or enqueueing fails, instead of leaving it in pending forever. That unblocks retries for the same version and prevents the CLI from getting stuck polling a task no worker will ever pick up.
Other misc changes
- Stale-task reaper now considers
pendingpublishing tasks too. - Publish flow refactors and related DB/query/test updates to support the retry fix.