Skip to content

chore: disable read only compile cache on posix - #338140

Merged
Robo (deepak1556) merged 1 commit into
mainfrom
robo/fix_node_compile_cache
Sep 26, 2026
Merged

Robo (deepak1556) merged 1 commit into
mainfrom
robo/fix_node_compile_cache

Conversation

@deepak1556

Copy link
Copy Markdown
Collaborator

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.

@deepak1556 Robo (deepak1556) added this to the 1.140.0 milestone Sep 26, 2026
@deepak1556 Robo (deepak1556) self-assigned this Sep 26, 2026
Copilot AI balanced review requested due to automatic review settings September 26, 2026 20:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-actions

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: f8db09b6 Current: 64226125

Changed (1)

chat/scrollAnchoring/chatScrollAnchoring/CompletedOffscreenHeader/Dark
Before After
before after

3 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details.

@deepak1556
Robo (deepak1556) marked this pull request as ready for review September 26, 2026 20:28
@deepak1556
Robo (deepak1556) enabled auto-merge (squash) September 26, 2026 20:28
@deepak1556
Robo (deepak1556) merged commit 157fc59 into main Sep 26, 2026
53 of 60 checks passed
@deepak1556
Robo (deepak1556) deleted the robo/fix_node_compile_cache branch September 26, 2026 20:31
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Nov 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants