Repository navigation
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Define the docs `generate` and `build` tasks in docs/vite.config.ts so `vp run` caches them, and run them through `vp run` from the root `docs:build` script. Deploy to Void now builds with `vp run` before `void connect` and `void deploy`, which deploys the built folder, and uploads the results on pushes to main. Docs Validation reads them. `void connect` writes docs/.void, which the docs build lists, so the build runs first to match the PR builds. The root `docs:void` script, which only Deploy to Void ran, is removed. The docs config reads the Algolia keys through `getEnv`, which makes them part of the build's cache key. Docs Validation's build gets the same keys, so its builds match the deploy's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wan9chi
force-pushed
the
ci/docs-remote-cache
branch
from
November 11, 2026 11:17
4540db1 to
9e08de9
Compare
This branch has not been 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.
Why
Docs Validation regenerates the API reference and rebuilds the docs on every PR push, even when nothing they depend on changed. This caches both tasks with
vp runand its remote task cache, so PRs reuse what main has built.Changes
docs/vite.config.tsdefinesgenerateandbuildasvp runtasks.vp runtracks the files each one reads, so they need no input config.void deployis split into build and deploy.void deploybuilt the site itself, so its build couldn't be cached. Deploy to Void now builds withvp run docs:build, then deploys the result withvoid deploy --dir .vitepress/dist.Numbers
From replaying this workflow's runs from Oct 24 to Nov 9
generate, 67% forbuild.