Changelog

jsr-io/jsr · · 1 commit

Stuck publish tasks now self-heal

Adds a reaper for stale publishing tasks so stranded publishes can regenerate package metadata and unblock versions.

Self-heal stranded publishing tasks (crowlKatsd768249)

The publish system now detects tasks stuck in processing or processed and requeues them after they’ve been stale too long. This fixes cases where a publish was interrupted mid-flight, leaving version metadata incomplete or package-level meta.json never regenerated, which could hide versions from the resolver and block republishing.

Other misc changes

  • Database query added for stale publishing-task lookup
  • Tests added for the stale-task requeue path
  • Scheduler/task wiring and S3/db plumbing updates to support the reaper