Skip to content

feat(cache): runner-aware auto output tracking + ignore consumption#431

Draft
wan9chi wants to merge 1 commit into
infra-env-trackfrom
auto-output-track
Draft

feat(cache): runner-aware auto output tracking + ignore consumption#431
wan9chi wants to merge 1 commit into
infra-env-trackfrom
auto-output-track

Conversation

@wan9chi
Copy link
Copy Markdown
Member

@wan9chi wan9chi commented Jun 7, 2026

PR 2 of 2 — splits #410 into a Graphite stack.

Stack:

Completes runner-aware caching on top of the IPC infra from #430. This PR's tree is identical to the original #410 tip.

  • output: None resolves to auto inference again, so fspy-written files are archived and restored on a cache hit (auto output restoration).
  • ignoreInput/ignoreOutput reported over IPC are now applied: vite excludes its out dir and write-then-read temp files from the input fingerprint and read-write overlap check, so vite build caches and restores dist/ without manual !-glob exclusions.
  • Re-adds the e2e coverage: ignoreInput keeps the cache valid, ignoreOutput allows a read-write overlap, and vite build caches and restores its outputs end-to-end.

🤖 Generated with Claude Code

Completes runner-aware caching on top of the IPC infra:

- `output: None` resolves to auto inference again, so fspy-written files
  are archived and restored on a cache hit (auto output restoration).
- `ignoreInput`/`ignoreOutput` reported over IPC are now applied: vite
  excludes its out dir and write-then-read temp files from the input
  fingerprint and read-write overlap check, so `vite build` caches and
  restores `dist/` without manual `!`-glob exclusions.
- Re-adds the e2e coverage: ignoreInput keeps the cache valid,
  ignoreOutput allows a read-write overlap, and vite build caches and
  restores its outputs end-to-end.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy link
Copy Markdown
Member Author

wan9chi commented Jun 7, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

wan9chi added a commit to voidzero-dev/vite-plus that referenced this pull request Jun 7, 2026
Repoints the vite-task git deps to the tip of the split stack
(voidzero-dev/vite-task#431, the auto-output-track branch), whose crates
tree is identical to the prior pin plus the runner env-change message
refinement. Regenerates the two snapshots whose `VITE_*` cache-miss line
now renders as "envs changed" (matching manual env config) instead of
"tracked env glob 'VITE_*' changed".

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant