Repository navigation
feat(sanity): YouTube transcripts intelligence and nightly production to dev sync - #696
Merged
Merged
Conversation
…ataset sync - Add transcript document schema with cues, chapters, stats, and metadata - Add transcript reference to content partial inherited by posts, podcasts, pages, lessons, and courses - Implement sync-youtube-transcript Sanity function with YouTube Data API v3 and InnerTube caption fetching - Restrict transcript sync execution to production dataset and enforce YOUTUBE_API_KEY - Implement sync-nightly-dataset scheduled function copying production -> dev nightly at 04:00 UTC - Update sanity.blueprint.ts registering both functions - Update search and shared queries to index and project transcripts
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
⚡ Cloudflare Worker Preview Ready!
|
codercatdev
added a commit
that referenced
this pull request
Oct 8, 2026
…ataset sync (#696) (#697) - Add transcript document schema with cues, chapters, stats, and metadata - Add transcript reference to content partial inherited by posts, podcasts, pages, lessons, and courses - Implement sync-youtube-transcript Sanity function with YouTube Data API v3 and InnerTube caption fetching - Restrict transcript sync execution to production dataset and enforce YOUTUBE_API_KEY - Implement sync-nightly-dataset scheduled function copying production -> dev nightly at 04:00 UTC - Update sanity.blueprint.ts registering both functions - Update search and shared queries to index and project transcripts
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
transcriptreference field to content partial inherited by posts, podcasts, pages, lessons, and courses.transcriptschema storing video title, YouTube ID/URL, channel details, ISO duration, seconds, description, tags, Wikipedia topic categories, timed-text cues, full text, summary, chapters, statistics, and fetch timestamps.youtubeis present.productiondataset (context.clientOptions.dataset === 'production').YOUTUBE_API_KEY(throws explicit error if missing; no degraded fallbacks).transcript-yt-${youtubeId}).0 4 * * *that resets and clonesproduction->devusing Sanity's Enterprise Cloud Clone API.semanticSearchQueryandtextSearchFallbackQueryto index and score transcript summaries and full text. UpdatedcontentFieldsto project transcript details.Verification
pnpm --filter @codingcatdev/sanity typegenpassed cleanly.pnpm --filter @codingcatdev/sanity buildsucceeded.pnpm --filter @codingcatdev/site typecheckpassed (0 errors, 0 warnings across 148 files).pnpm --filter @codingcatdev/site lintpassed.pnpm --filter @codingcatdev/site buildsucceeded.node apps/site/tests/run-e2e.mjspassed all 156 test cases.