Repository navigation
fix(docs): generate new reference pipeline output before embeddings - #46611
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR updates the ChangesBuild Script Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Braintrust eval report
|
…46611) The embeddings workflow started failing after #46163 with `ENOENT: ... content/reference/javascript/v2/sections.json`. That PR routed the JS v2 search ingest through the new reference pipeline (`loadClientLibReferenceFromNewPipeline` in `apps/docs/scripts/search/sources/reference-doc.ts`), and updated `predev` and `prebuild` to run both `codegen:references` and `codegen:references:new`, but missed `preembeddings`. This chains `codegen:references:new` into `preembeddings` so `pnpm run embeddings` (and the `:nimbus` / `:refresh` variants that fan out to it) produces the new pipeline output before the search ingest reads it.
The embeddings workflow started failing after #46163 with
ENOENT: ... content/reference/javascript/v2/sections.json. That PR routed the JS v2 search ingest through the new reference pipeline (loadClientLibReferenceFromNewPipelineinapps/docs/scripts/search/sources/reference-doc.ts), and updatedpredevandprebuildto run bothcodegen:referencesandcodegen:references:new, but missedpreembeddings. This chainscodegen:references:newintopreembeddingssopnpm run embeddings(and the:nimbus/:refreshvariants that fan out to it) produces the new pipeline output before the search ingest reads it.