fix(preview): aria2c + 360p for age-restricted; surface Celery logs#104
Merged
Merged
Conversation
#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>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.&instead of--detach→ their task output (download/preview progress + failures) now shows indocker logs.Verified the rebuilt image boots with worker/beat logging to stdout + the po_token provider running. 321 passed, ruff clean.
🤖 Generated with Claude Code