Skip to content

ci: fix electron types in product builds - #332539

Merged
Robo (deepak1556) merged 4 commits into
mainfrom
robo/fix_runtime_types
Aug 25, 2026
Merged

Robo (deepak1556) merged 4 commits into
mainfrom
robo/fix_runtime_types

Conversation

@deepak1556

Copy link
Copy Markdown
Collaborator

Followup to #331833

@deepak1556 Robo (deepak1556) added this to the 1.136.0 milestone Aug 25, 2026
@deepak1556 Robo (deepak1556) self-assigned this Aug 25, 2026
Copilot AI balanced review requested due to automatic review settings August 25, 2026 11:37

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.

Pull request overview

Ensures product builds prepare Electron typings after distro overrides are applied.

Changes:

  • Updates the distro revision.
  • Adds Electron type preparation to all product compile pipelines.
  • Removes Electron typings from the shared node_modules cache.
Show a summary per file
File Description
package.json Updates distro revision.
build/azure-pipelines/win32/steps/product-build-win32-compile.yml Prepares product Electron types.
build/azure-pipelines/win32/sdl-scan-win32.yml Prepares types before SDL compilation.
build/azure-pipelines/web/product-build-web.yml Prepares types before web compilation.
build/azure-pipelines/product-quality-checks.yml Prepares types for quality checks.
build/azure-pipelines/linux/steps/product-build-linux-compile.yml Prepares Linux build types.
build/azure-pipelines/darwin/steps/product-build-darwin-compile.yml Prepares macOS build types.
build/azure-pipelines/alpine/product-build-alpine.yml Prepares Alpine build types.
build/azure-pipelines/common/listNodeModules.ts Excludes Electron typings from dependency archives.
build/azure-pipelines/common/computeNodeModulesCacheKey.ts Removes the obsolete listing-script cache input.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 10/10 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@deepak1556
Robo (deepak1556) marked this pull request as ready for review August 25, 2026 15:25
@deepak1556
Robo (deepak1556) enabled auto-merge (squash) August 25, 2026 15:25
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Ladislau Szomoru (@lszomoru)

Matched files:

  • build/azure-pipelines/alpine/product-build-alpine.yml
  • build/azure-pipelines/common/computeNodeModulesCacheKey.ts
  • build/azure-pipelines/common/listNodeModules.ts
  • build/azure-pipelines/darwin/steps/product-build-darwin-compile.yml
  • build/azure-pipelines/linux/steps/product-build-linux-compile.yml
  • build/azure-pipelines/product-quality-checks.yml
  • build/azure-pipelines/web/product-build-web.yml
  • build/azure-pipelines/win32/sdl-scan-win32.yml
  • build/azure-pipelines/win32/steps/product-build-win32-compile.yml

@deepak1556
Robo (deepak1556) merged commit e79a9aa into main Aug 25, 2026
28 checks passed
@deepak1556
Robo (deepak1556) deleted the robo/fix_runtime_types branch August 25, 2026 16:32
Logan Ramos (lramos15) added a commit that referenced this pull request Aug 25, 2026
Electron types used to ride along in the node_modules cache. #332539 took
them out of it and added a download step to the Azure pipelines, but the
GitHub Actions compile job skips `npm ci` whenever that cache hits, so it
never downloaded them and every PR failed with "Cannot find module
'electron'".

Add the same step the Azure pipelines got. It re-checksums an existing file
and returns early, so a cache miss doesn't pay for it twice.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 376c7f32-2259-472d-a00a-ade0de4b8f11
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Oct 9, 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