Skip to content

Download Electron's types for the vscode scenario - #161

Merged
Jake Bailey (jakebailey) merged 1 commit into
mainfrom
vscode-electron-types
Oct 20, 2026
Merged

Jake Bailey (jakebailey) merged 1 commit into
mainfrom
vscode-electron-types

Conversation

@jakebailey

@jakebailey Jake Bailey (jakebailey) commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

VS Code dropped its electron dependency (microsoft/vscode#331833) and now downloads electron.d.ts in a postinstall script, which npm ci --ignore-scripts skips. Without those types, the scenario reports almost 400 errors and checks every Electron-facing file against missing declarations, so it measures a different and less realistic workload than before.

The file is fetched on the host because the sandbox proxy does not allow GitHub's release asset hosts, and it is verified against VS Code's checksum manifest without running any VS Code code.

VS Code dropped its electron dependency (VS Code PR 331833) and now
downloads electron.d.ts in a postinstall script, which npm ci
--ignore-scripts skips. Without those types, the scenario reports
almost 400 errors and checks every Electron-facing file against
missing declarations, so it measures a different and less realistic
workload than before.

The file is fetched on the host because the sandbox proxy does not
allow GitHub's release asset hosts, and it is verified against VS
Code's checksum manifest without running any VS Code code.
@jakebailey
Jake Bailey (jakebailey) merged commit 8b9820e into main Oct 20, 2026
31 checks passed
@jakebailey
Jake Bailey (jakebailey) deleted the vscode-electron-types branch October 20, 2026 17:53
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