Repository navigation
chore: disable read only compile cache on posix - #338140
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The build-time and runtime guards consistently disable the affected POSIX cache paths without impacting Windows behavior.
Review effort: Balanced
Findings: None
What changed in this PR
Disables Node compile-cache generation and consumption on POSIX until runtime support is fixed.
Changes:
- Restricts packaged cache generation to Windows x64.
- Disables runtime compile-cache use on non-Windows platforms.
| File | Description |
|---|---|
src/vs/base/node/nodeCompileCache.ts |
Adds the non-Windows runtime guard. |
build/lib/nodeCompileCache.ts |
Restricts build-time generation to Windows x64. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Robo (deepak1556)
marked this pull request as ready for review
September 26, 2026 20:28
Robo (deepak1556)
enabled auto-merge (squash)
September 26, 2026 20:28
Bhavya U (bhavyaus)
approved these changes
Sep 26, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes https://github.com/microsoft/vscode-engineering/issues/3990
Switched to full eager in last commit of #336410 with product build run only on windows, which missed that portable and full eager still generates a UID based cache dir which will fail both validation and cache consumption on posix, disable on this platform till its addressed in the runtime.