ci: cache Vite Task output for docs builds#2006
Conversation
✅ Deploy Preview for viteplus-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
837109b to
b76ce04
Compare
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
e7e21a9 to
069097f
Compare
0bfe9c6 to
893293a
Compare
893293a to
16f8d05
Compare
How to use the Graphite Merge QueueAdd the label auto-merge to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
6792ba6 to
a0e4b7a
Compare
16f8d05 to
1fb0952
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1fb09521a7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
1fb0952 to
7ac4c51
Compare
7ac4c51 to
8013cb0
Compare
43ced42 to
a8e3267
Compare

Summary
docs:buildscript aspnpm -C docs build.docs/:docsnow runs installer asset copying first, then delegatesvitepress buildto the cacheable Vite Taskbuild:site.build:siteindocs/vite.config.tswith automatic input tracking, necessary generated-file exclusions, and explicit.vitepress/dist/**output tracking.deploy-docs.ymlanddeploy-docs-preview.ymlusingdocs/node_modules/.vite/task-cache.pnpm build:netlify, which runsvitepress builddirectly withoutvp.setup-vpnow that the task-cache behavior is available in v0.2.2.Time Saved
The cache-hit verification run reported
23.14s savedfor replayingvitepress build.13,374,673 B).Cache Verification
vitepress buildmissed withcache miss: output configuration changed, executing; saved a new PR cache key for96913ac2.96913ac2, thenvitepress buildhit withcache hit, replaying; saved a new PR cache key for0bfe9c6e. This verification commit was later dropped from branch history.vitepress build, and saved the current PR-head cache key for893293ac.Validation
vitepress build.vitepress build.Notes
The generated input exclusions remain necessary because VitePress reads and writes generated
.vitepressandnode_modules/.vite-tempfiles during the cacheable build. Explicitoutputis included so cached builds restore.vitepress/distreliably.