fix(cache): add Package-scoped negative globs to prevent cache miss in monorepos#1198
Merged
graphite-app[bot] merged 1 commit intomainfrom Mar 30, 2026
Merged
fix(cache): add Package-scoped negative globs to prevent cache miss in monorepos#1198graphite-app[bot] merged 1 commit intomainfrom
graphite-app[bot] merged 1 commit intomainfrom
Conversation
This was referenced Mar 29, 2026
Member
Author
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. |
4 tasks
fengmk2
commented
Mar 29, 2026
fengmk2
commented
Mar 29, 2026
a72e61b to
bc5fcd7
Compare
fengmk2
commented
Mar 29, 2026
bc5fcd7 to
485d4ea
Compare
3fcad86 to
756e54f
Compare
485d4ea to
9e18cef
Compare
9e18cef to
a10da80
Compare
a10da80 to
92296d9
Compare
92296d9 to
1804447
Compare
538ff45 to
ffbfc0c
Compare
1804447 to
2b050e5
Compare
2b050e5 to
04abde5
Compare
82e412a to
110f3c9
Compare
04abde5 to
f8066fd
Compare
ea53d50 to
854d4c2
Compare
e60358a to
cf7593e
Compare
854d4c2 to
71a35e0
Compare
71a35e0 to
6cd75f4
Compare
✅ Deploy Preview for viteplus-preview canceled.
|
branchseer
approved these changes
Mar 30, 2026
Merge activity
|
…n monorepos (#1198) In monorepos, each package has its own node_modules/. When vp build/test/pack run, Vite creates .vite-temp/ config files and dist/ outputs that are both read and written during execution. The existing !node_modules/.vite-temp/** glob at Workspace scope only matched the workspace root, not package-level paths, causing perpetual cache misses due to read-write overlap detection. - Build: add Package-scoped !node_modules/.vite-temp/** and !dist/** - Test: add Package-scoped !node_modules/.vite-temp/** and !node_modules/.vite/**/results.json - Pack: add Package-scoped !node_modules/.vite-temp/** and !dist/**
6cd75f4 to
3fc8005
Compare
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.

In monorepos, each package has its own node_modules/. When vp build/test/pack
run, Vite creates .vite-temp/ config files and dist/ outputs that are both read
and written during execution. The existing !node_modules/.vite-temp/** glob at
Workspace scope only matched the workspace root, not package-level paths,
causing perpetual cache misses due to read-write overlap detection.