Skip to content

docs(cache): show how to restore skipped generator outputs - #3483

Merged
fengmk2 merged 5 commits into
mainfrom
triagebot/fix-3482
Nov 19, 2026
Merged

fengmk2 merged 5 commits into
mainfrom
triagebot/fix-3482

Conversation

@voidzero-bot

@voidzero-bot voidzero-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Some generators skip files that are already up to date. Automatic output tracking leaves these files out of the cache. If you delete the generated files, a later cache hit can leave some or all of them missing.

The guide shows how to use an output glob in cache.output to restore the generated files. The example excludes these files from cache.input because the generator checks its previous outputs. The cache.output reference links to the example.

Closes #3482

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://triagebot-fix-3482-viteplus-dev.voidzero-docs.workers.dev (commit 5f47208)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d1b02278-viteplus-dev.voidzero-docs.workers.dev 5f47208 2026-11-19T06:02:57.553Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d3de664c-viteplus-dev.voidzero-docs.workers.dev 36b41c2 2026-11-19T05:09:02.239Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://c865ebbc-viteplus-dev.voidzero-docs.workers.dev 8c23c30 2026-11-19T04:05:43.002Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://6c7e7c0d-viteplus-dev.voidzero-docs.workers.dev 2c5a5a1 2026-11-19T04:00:29.509Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://ac39a705-viteplus-dev.voidzero-docs.workers.dev 56c4564 2026-11-18T16:39:20.203Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://5308854a-viteplus-dev.voidzero-docs.workers.dev c5cf2d3 2026-11-18T09:39:04.914Z Visit the dashboard ↗

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: 5f47208

@fengmk2 fengmk2 changed the title docs(cache): warn that auto output tracking only records files the run wrote docs(cache): show how to restore skipped generator outputs Nov 18, 2026
@fengmk2 fengmk2 self-assigned this Nov 19, 2026
@fengmk2
fengmk2 merged commit 5fcc5f7 into main Nov 19, 2026
54 checks passed
@fengmk2
fengmk2 deleted the triagebot/fix-3482 branch November 19, 2026 06:18
@fengmk2

fengmk2 commented Nov 19, 2026

Copy link
Copy Markdown
Member

cc @wan9chi You can take a look at this special case after you return.

@fengmk2 fengmk2 mentioned this pull request Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(cache): say that output: [{ auto: true }] records only files the run wrote

1 participant