Commit graph

2 commits

Author SHA1 Message Date
719946b3cd refactor/package-layout (#3)
All checks were successful
CI / backend-tests (push) Successful in 29s
CI / frontend-build (push) Successful in 9m48s
Reviewed-on: #3
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-04 20:47:12 +01:00
victorcavero14
d4480c6257 feat(queue): auto-retry transient failures, resume on shutdown, queue position
- A job that fails for a reason on our side (CUDA/OOM, NVENC, cublas,
  Gemini 5xx, no clip rendered) is re-queued once after 30 s, keeping its
  reservation and transcript checkpoint. Content failures stay final.
- main.py renders clips best-score first and retries each failed clip once.
- A deploy's drain timeout no longer fails and refunds running jobs: the
  child is killed, the manifest kept, and the next instance resumes it
  (22-sep-2026: 6 jobs failed at once this way). Mid-render manifests are
  resumed instead of being recovered as completed.
- /api/status returns the queue position and an ETA; the dashboard shows
  it with a 'paid plans skip the line' upsell.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-22 23:48:23 +02:00