Repository navigation
docs(platform): state the video proxy attempt cap per fetch - #5067
Merged
Merged
Conversation
The video ingestion page and rule VID-R7 said each step of a video makes at most five attempts and starts none after 90 seconds. The cap of five is per yt-dlp call, and the 90-second window bounds only its retries. A Vimeo video whose watch page fails makes a second call in the metadata step, through Vimeo's embedded player, with attempts of its own; its first attempt can start after the window, on a proxy that has not failed the video. Say that in EN, DE and FR, and in the rule.
yannickmonney
enabled auto-merge
October 28, 2026 20:05
yannickmonney
added this pull request to the merge queue
Oct 28, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 28, 2026
yannickmonney
added this pull request to the merge queue
Oct 29, 2026
This was referenced Oct 29, 2026
Closed
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.
Summary
Since #5066, the video ingestion page (EN/DE/FR) and rule VID-R7 say that each step of a video (metadata, captions, audio) makes at most five attempts and starts none after 90 seconds. The code differs in two ways:
MAX_PROXY_RUNS(5) applies to each yt-dlp call, and the step's 90-second window limits only that call's retries (runYtdlpchecksroute.windowOpen()beforemoveOn).beginCallcan move it to a proxy that has not failed the video after the window has closed.This was found while fact-checking the v0.5.94 notes, which were corrected in #5065. The page now says that fetching the metadata, the captions or the audio makes at most five attempts, and retries only within the first 90 seconds of that step. It also explains the Vimeo embed fallback. VID-R7 gets the same correction and now reads "a fetch through a single proxy is not retried", instead of saying that a single proxy is not tried again within a step, which the embed fallback contradicts.
Checklist
bun run check: the parts this change touches pass locally on the pinned Bun 1.4.2. These are the domain-spec guard (15 tests), the docs structural suite (38 files, 716 tests) andbun run lint:links(502 pages, every link lands). No code changed.bun run lint:sast: N/A, Markdown only.docs/{en,de,fr}/self-hosted/configuration/video-ingestion.md.README.md/README.de.md/README.fr.md: N/A, they don't cover this.Test plan
/self-hosted/configuration/video-ingestion(and/de/…,/fr/…) againstrunYtdlpandYtdlpRouteinservices/platform/backend/core/video_links/ytdlp.ts, and againsttryEmbedFallbackiningest_video_link.ts.