Parent
Sub-issue of #9515 (Rebuild Video.availableLanguages as one cycle-safe, recursively-correct source of truth).
What to build
Video.variantLanguages (a video's own direct variant languages, intentionally flat and unrelated to the recursive availableLanguages work) is missing the published: true filter that its sibling field variantLanguagesCount already has, so an unpublished variant's language can currently appear in a language picker meant to reflect only what's actually available. The filter is added to match. This is unrelated to and independent of the rest of #9515 — a small, adjacent, same-file bug fix.
Acceptance criteria
Blocked by
None (can start immediately) — unrelated field, independent fix.
Parent
Sub-issue of #9515 (Rebuild Video.availableLanguages as one cycle-safe, recursively-correct source of truth).
What to build
Video.variantLanguages(a video's own direct variant languages, intentionally flat and unrelated to the recursiveavailableLanguageswork) is missing thepublished: truefilter that its sibling fieldvariantLanguagesCountalready has, so an unpublished variant's language can currently appear in a language picker meant to reflect only what's actually available. The filter is added to match. This is unrelated to and independent of the rest of #9515 — a small, adjacent, same-file bug fix.Acceptance criteria
variantLanguagesfilters topublished: truevariants, matchingvariantLanguagesCount's existing filter.variantLanguagesreturns only the published variant's language.variantLanguages' semantics otherwise remain unchanged — it stays a flat, own-video-only field, not recursive.Blocked by
None (can start immediately) — unrelated field, independent fix.