GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(cache): hide remote caching, an internal feature not ready for public use by wan9chi · Pull Request #820 · voidzero-dev/vite-task

Conversation

@wan9chi

@wan9chi wan9chi commented Oct 8, 2026

Copy link
Copy Markdown
Member

Motivation

Remote caching is an internal feature that is not ready for public use, but it's currently advertised: the vite.config.* TypeScript types that Vite+ ships include cache.remote, vp run --help lists --remote-cache, and the changelog announces it. This hides it from those places while keeping it working for anyone who turns it on with VP_REMOTE_CACHE / VP_REMOTE_CACHE_URL or cache.remote.

Changes

  • Leave cache.remote, both per task and in the workspace root, out of the generated TypeScript types with ts(skip). Serde still parses both fields.
  • Hide --remote-cache from vp run --help with hide = true. The flag is still accepted, so nested vp run --remote-cache=… in scripts keeps working.
  • Remove the remote caching changelog entry. fix(cache): fail the run when a cache hit's outputs can't be restored #770 also fixed local caching, where a cache hit whose outputs couldn't be restored exited 0, and that fix was only mentioned inside the remote caching entry, so it gets its own entry.

Remote cache output, such as remote hits, upload warnings, and VP_REMOTE_CACHE errors, only appears once remote caching is turned on, so it's unchanged. docs/ stays as internal developer docs.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@wan9chi @claude
chore(cache): hide remote caching, an internal feature not ready for …
7f8337e
…public use

Remote caching is an internal feature that is not ready for public use.
Hide it from the public surface while keeping it working for anyone who
turns it on with `VP_REMOTE_CACHE`, `VP_REMOTE_CACHE_URL`, or
`cache.remote`:

- Leave `cache.remote` out of the generated `vite.config.*` TypeScript
  types. The config is still parsed.
- Hide `--remote-cache` from `vp run --help`. The flag is still accepted.
- Remove the remote caching changelog entry, and give the local cache
  fix from #770, which was only mentioned inside it, its own entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

fspy benchmark

linux

dynamic/launch             change  +0.52%  [ -3.28% ..  +5.22%]  overhead   +52.97%
dynamic/access             change  -0.42%  [ -2.31% ..  +2.22%]  overhead   +12.89%
dynamic/access-relative    change  +0.43%  [ -5.70% ..  +9.79%]  overhead   +60.71%
dynamic/access-contended   change  +2.81%  [ -7.19% .. +18.05%]  overhead   +15.98%
static/launch              change  +1.72%  [ -2.46% ..  +7.13%]  overhead  +188.63%
static/access              change  +0.04%  [ -0.98% ..  +2.57%]  overhead  +799.47%
static/access-relative     change  -0.07%  [ -3.04% ..  +2.24%]  overhead +1364.00%
static/access-contended    change  +0.61%  [ -1.64% ..  +4.71%]  overhead +3146.48%

macos

dynamic/launch             change  -0.03%  [ -3.90% ..  +3.66%]  overhead  +217.06%
dynamic/access             change  +0.70%  [ -3.46% ..  +6.83%]  overhead   +11.38%
dynamic/access-relative    change  -1.23%  [ -5.26% ..  +3.20%]  overhead  +274.99%
dynamic/access-contended   change  +2.43%  [ -3.32% .. +13.13%]  overhead    +6.57%

windows

dynamic/launch             change  +0.23%  [ -6.41% ..  +7.39%]  overhead   +24.09%
dynamic/access             change  +1.08%  [-14.72% .. +21.96%]  overhead    +2.64%
dynamic/access-relative    change  +0.51%  [-10.34% .. +15.62%]  overhead    +1.89%
dynamic/access-contended   change  -1.04%  [ -8.15% ..  +0.96%]  overhead    +1.58%
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@wan9chi
wan9chi merged commit 5e77d9b into main Oct 8, 2026
20 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@wan9chi
wan9chi deleted the claude/remote-caching-visibility-76242c branch October 8, 2026 03:08
@wan9chi wan9chi mentioned this pull request Oct 8, 2026
chore: bump vite-task to 5e77d9b voidzero-dev/vite-plus#2842
Closed
@yuta-shacho yuta-shacho mentioned this pull request Oct 26, 2026
[調査] Vite Task のキャッシュで void の CI を速くできるか yuta-shacho/enikki-with-ai#11
Closed
5 tasks done
This was referenced Nov 2, 2026
A remote cache hit is never stored back, so a server that shares entries across endpoints can't keep each endpoint's own entries current #924
Open
Remote cache keys always include the OS and architecture, so a task whose outputs are the same on every platform can't share entries between macOS and Linux #926
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@wan9chi
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.