Skip to content

fix(preview): aria2c + 360p for age-restricted; surface Celery logs#104

Merged
windoze95 merged 1 commit into
mainfrom
fix/preview-aria2c-and-visible-celery-logs
Jun 29, 2026
Merged

fix(preview): aria2c + 360p for age-restricted; surface Celery logs#104
windoze95 merged 1 commit into
mainfrom
fix/preview-aria2c-and-visible-celery-logs

Conversation

@windoze95

Copy link
Copy Markdown
Owner

Follow-up to #103. #771 (a 2h9m age-restricted episode) instant-streams 502 as expected (no progressive), but its adaptive preview was failing — invisibly, because the Celery worker runs --detach'd so its logs never reach the container stream.

  • entrypoint: start worker + beat with & instead of --detach → their task output (download/preview progress + failures) now shows in docker logs.
  • download_preview: download the adaptive fallback with aria2c (parallel, like the HQ path) and prefer 360p — a single-connection pull of a 2h adaptive stream is too slow and hit the timeout. Timeout 300→600s.

Verified the rebuilt image boots with worker/beat logging to stdout + the po_token provider running. 321 passed, ruff clean.

🤖 Generated with Claude Code

#771 (a 2h9m age-restricted episode) instant-streams 502 as expected (no
progressive), then its adaptive preview was failing — invisibly, because the
Celery worker runs --detach'd and its logs never reach the container stream.

- entrypoint: start the worker + beat with `&` instead of `--detach` so their
  task output (download/preview progress + failures) shows up in `docker logs`.
- download_preview: download the adaptive fallback with aria2c (parallel, like
  the HQ path) and prefer 360p — a single-connection pull of a 2h adaptive
  stream is too slow and hit the timeout. Timeout 300->600s for headroom.

Verified the rebuilt image boots with worker/beat logging to stdout and the
po_token provider running. 321 passed; ruff clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@windoze95 windoze95 merged commit d1efe78 into main Jun 29, 2026
5 checks passed
@windoze95 windoze95 deleted the fix/preview-aria2c-and-visible-celery-logs branch June 29, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant