Repository navigation
perf(build): overlap type checking and the AI index with the site build - #974
Open
letstokenize wants to merge 4 commits into
Open
letstokenize wants to merge 4 commits into
letstokenize wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…l-deploy-time-a9f1fa # Conflicts: # .github/workflows/verify.yml # vite.config.ts
…l-deploy-time-a9f1fa # Conflicts: # package.json
…l-deploy-time-a9f1fa # Conflicts: # vite.config.ts
This branch was successfully deployed
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
Docs deploys take about 4 minutes since #986. About a minute of that is waiting that doesn't need to happen: the type check runs alone before the site build starts, and the first build pass waits on the AI search index. This overlaps both with the build.
Changes
pnpm buildrunscheck:typesandbuild:siteconcurrently through pnpm's script selector, and still fails if either one fails. On Vercel the type check takes about 40s before the build starts today.llms.txtsources in the background. The scans discard module bodies anyway. The real RSC build still waits for the full manifest. In the latest production build, scan 1 took 42s and finished one second after the index. The scan itself takes about 20s.The Zyzz scan skip originally in this PR landed on
mainin #986 asskipReferenceScans. This branch now uses that.Testing
pnpm buildon the merged branch: passes in 3m01s locally, with type checking finishing during pass 3.main.pnpm check:types, Biome, andcheck-stylespass.CLOUDFLARE_API_TOKENis set.