Commit Graph

307 Commits

Author SHA1 Message Date
Robo
b0bdc05bbb fix: zip inflate with yauzl on node v24.16.0 (#318682) 2026-05-29 17:01:24 +10:00
Robo
8748be1f1a feat: update to Electron v42 (#316661)
* feat: update to Electron v42

* chore: drop support for arm 32-bit server

* chore: update types/node to v24.x

* chore: temporarily lock the target version for build/

* chore: update v8-source-location.patch

* chore: fix clippy

* chore: cleanup armhf server ci config

* fix: broken lock file

* fix: c++ version requirement for sysroot builds

* fix: msvc compilation of native modules

* fix: handle rejections for fire-and-forget loadurl

* fix: windows build

* ci: fix teardown of daemon process on windows

```
2026-05-15T20:55:09.7717127Z Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
```

* chore: update deb and rpm dependencies

* chore: update version info

* spec: improve reliablity of offscreencanvas tests

* spec: retry EPERM failures on teardown

* chore: update x86_64 rpm deps

* ci: exclude server binskim for armhf

* temp: bump distro

* test: ignore deprecation warnings treated as errors

* chore: update lockfile

* fix: externalize electron from auth extension bundles

 Error: Cannot find module 'c:\Users\cloudtest\AppData\Local\Temp\vscode-sanityQvCaze\vscode-server-win32-x64-web\extensions\github-authentication\dist\install.js'
     at Module._resolveFilename (node:internal/modules/cjs/loader:1476:15)
     at wrapResolveFilename (node:internal/modules/cjs/loader:1049:27)
     at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1073:10)
     at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1094:12)
     at Module._load (node:internal/modules/cjs/loader:1262:25)
     at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
     at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
     at node:internal/main/run_main_module:33:47 {
   code: 'MODULE_NOT_FOUND',
   requireStack: []
 }

 Node.js v24.15.0

* test: make wsl sanity tests reliable

* chore: bump electron@42.1.0

* temp: bump distro

* chore: bump electron@42.2.0

* chore: bump distro

* chore: update debian dependencies

* Revert "test: make wsl sanity tests reliable"

This reverts commit b3f2b63e83.

* test: do not fail for deprecation warnings

* chore: patch node24 server binary for wsl1

* chore: address review feedback

* chore: revert global navigation error handler in browserview

* chore: bump distro
2026-05-27 14:57:41 +02:00
dependabot[bot]
dd15009807 build(deps): bump uuid, @azure/cosmos, @azure/identity and @azure/msal-node in /build (#317843)
* build(deps): bump uuid, @azure/cosmos, @azure/identity and @azure/msal-node

Removes [uuid](https://github.com/uuidjs/uuid). It's no longer used after updating ancestor dependencies [uuid](https://github.com/uuidjs/uuid), [@azure/cosmos](https://github.com/Azure/azure-sdk-for-js), [@azure/identity](https://github.com/Azure/azure-sdk-for-js) and [@azure/msal-node](https://github.com/AzureAD/microsoft-authentication-library-for-js). These dependencies need to be updated together.


Removes `uuid`

Updates `@azure/cosmos` from 3.17.3 to 4.9.3
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/cosmos_3.17.3...@azure/cosmos_4.9.3)

Updates `@azure/identity` from 4.2.1 to 4.13.1
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/identity_4.2.1...@azure/identity_4.13.1)

Updates `@azure/msal-node` from 2.16.1 to 5.2.2
- [Release notes](https://github.com/AzureAD/microsoft-authentication-library-for-js/releases)
- [Commits](https://github.com/AzureAD/microsoft-authentication-library-for-js/compare/msal-node-v2.16.1...msal-node-v5.2.2)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version:
  dependency-type: indirect
- dependency-name: "@azure/cosmos"
  dependency-version: 4.9.3
  dependency-type: direct:development
- dependency-name: "@azure/identity"
  dependency-version: 4.13.1
  dependency-type: direct:development
- dependency-name: "@azure/msal-node"
  dependency-version: 5.2.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: cast AZDO JSON response to generic type in publish helper

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/281c0c8f-fd7e-49b9-99f3-eb9522cd6cee

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
2026-05-22 20:57:46 +00:00
Henning Dieterichs
c4471e24fa Adopt @vscode/ripgrep-universal (inline binaries, no postinstall)
Replace @vscode/ripgrep with @vscode/ripgrep-universal which bundles all platform binaries in a single package. Non-target platform binaries are stripped at packaging time via getRipgrepExcludeFilter.

- Add shared rgDiskPath() helper in src/vs/base/node/ripgrep.ts
- Convert all ripgrep consumers to use the async helper
- Add getRipgrepExcludeFilter for build packaging
- Update prepareBuiltInCopilotRipgrepShim for new bin layout
- Update eslint allowed-modules and require-interceptor aliases
- Fix platform mapping for Alpine + armhf
- Handle arch-specific binaries in macOS universal build / verify-macho
2026-05-18 18:46:04 +02:00
Johannes
2c368160e0 build: migrate tests from mocha to node native test runner 2026-04-10 10:49:47 +02:00
Matt Bierner
5e957b6922 Update build ts version 2026-04-08 20:49:29 -07:00
Osvaldo Ortega
0091ab1d49 missing updates 2026-03-10 17:34:48 -07:00
Robo
61a6cf5929 refactor: pull dmgbuild from repo (#291949)
* refactor: pull dmgbuild from repo

* ci: update python version

* chore: try with homebrew

* chore: fix binary path
2026-02-20 10:14:11 +01:00
Dirk Baeumer
743d8d5da7 Revert dmg-builder back to 26.5.0 2026-02-20 08:03:13 +01:00
dependabot[bot]
515078bdc0 Bump tar and dmg-builder in /build (#295921)
Bumps [tar](https://github.com/isaacs/node-tar) to 7.5.9 and updates ancestor dependency [dmg-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/dmg-builder). These dependencies need to be updated together.


Updates `tar` from 6.2.1 to 7.5.9
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.1...v7.5.9)

Updates `dmg-builder` from 26.5.0 to 26.7.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/dmg-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-builder@26.7.0/packages/dmg-builder)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.9
  dependency-type: indirect
- dependency-name: dmg-builder
  dependency-version: 26.7.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-19 16:10:21 +01:00
Johannes
7c6cca7b14 Add native private field to property transform for esbuild bundles 2026-02-13 14:44:33 +01:00
Robo
d565dc148b Revert "Bump tar and dmg-builder in /build (#293531)" (#293824)
This reverts commit aea8c3f92d.
2026-02-09 08:27:00 +00:00
dependabot[bot]
aea8c3f92d Bump tar and dmg-builder in /build (#293531)
Bumps [tar](https://github.com/isaacs/node-tar) to 7.5.7 and updates ancestor dependency [dmg-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/dmg-builder). These dependencies need to be updated together.


Updates `tar` from 6.2.1 to 7.5.7
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.1...v7.5.7)

Updates `dmg-builder` from 26.5.0 to 26.7.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/dmg-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-builder@26.7.0/packages/dmg-builder)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: indirect
- dependency-name: dmg-builder
  dependency-version: 26.7.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-06 21:31:33 +00:00
Benjamin Pasero
5bfd50175c Revert "chore: replace legacy watcher with @parcel/watcher for build file watching (#292803)" (#293152)
* Revert "ignore watch errors (#292873)"

This reverts commit 08f3997957.

* Revert "chore: replace legacy watcher with @parcel/watcher for build file watching (#292803)"

This reverts commit 82b251a409.
2026-02-05 16:49:17 +00:00
João Moreno
82b251a409 chore: replace legacy watcher with @parcel/watcher for build file watching (#292803) 2026-02-04 10:51:23 +00:00
Alex Ross
a1728b98fa Revert "Bump tar and dmg-builder in /build" (#291808)
Revert "Bump tar and dmg-builder in /build (#291331)"

This reverts commit fd3565eb6b.
2026-01-30 07:52:21 +00:00
dependabot[bot]
fd3565eb6b Bump tar and dmg-builder in /build (#291331)
Bumps [tar](https://github.com/isaacs/node-tar) to 7.5.7 and updates ancestor dependency [dmg-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/dmg-builder). These dependencies need to be updated together.


Updates `tar` from 6.2.1 to 7.5.7
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.1...v7.5.7)

Updates `dmg-builder` from 26.5.0 to 26.6.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/dmg-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-builder@26.6.0/packages/dmg-builder)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: indirect
- dependency-name: dmg-builder
  dependency-version: 26.6.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 20:25:06 +00:00
Robo
0ced11929b feat: add dmg for macOS (#289179)
* feat: add dmg for macOS arm64

* chore: create dmg for all archs

* chore: move zx dependency to build

* fix: invalid condition in universal build

* chore: update background

* fix: publishing universal dmg
2026-01-22 18:21:39 -08:00
Benjamin Pasero
8edf92d2af debt - update esbuild@0.27.2 (#286687) 2026-01-09 10:53:03 +00:00
dependabot[bot]
b5409bf1e0 Bump jws in /build (#281277)
Bumps [jws](https://github.com/brianloveswords/node-jws) to 3.2.3 and updates ancestor dependency . These dependencies need to be updated together.


Updates `jws` from 3.2.2 to 3.2.3
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v3.2.2...v3.2.3)

Updates `jws` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: jws
  dependency-version: 3.2.3
  dependency-type: indirect
- dependency-name: jws
  dependency-version: 4.0.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-08 10:13:35 -08:00
Matt Bierner
475d0c85af Remove build-script PR check
For #277526

Our build scripts no longer require being compiled so we can skip the extra check
2025-11-24 17:19:45 -08:00
Matt Bierner
2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
Christof Marti
470d7704a6 Support loading system certificates with Node 2025-11-02 23:19:00 +01:00
Paul
0ea6a23376 Modularize the policy generation script (#272332) 2025-10-22 00:08:32 +00:00
Paul
d72d6a2424 Generate policy data as JSON (#272368) 2025-10-21 12:48:33 -07:00
Paul
6025703c6a Revert "Generate policy data as JSON" (#272362) 2025-10-20 16:12:10 -07:00
Paul
99c299e880 Generate policy data as JSON (#272018) 2025-10-20 14:38:48 -07:00
Benjamin Pasero
56d04418cc chore - update @vscode/iconv-lite-umd to 0.7.1 (#271472)
* chore - update `@vscode/iconv-lite-umd` to `0.7.1`

* fix ci
2025-10-15 09:33:44 +00:00
Raymond Zhao
37958fc9ce chore: bump vscode/vsce (#268019) 2025-09-23 15:58:02 -07:00
Matt Bierner
d865a99c49 Clean up some typings in build
- Adding ts-check in a few more js files
- Switching to use `@types` for a few more packages
- Remove some unused code
2025-08-07 09:38:52 -07:00
Matt Bierner
12a275ffe7 Use ts-native to compile our build scripts
There are a few minor differences in output, mostly around formatting/comments. Const enums are also not inlined but that seems fine in these cases
2025-08-06 11:41:52 -07:00
Benjamin Pasero
27c10fba46 [chore] bump @types/mocha to match mocha (#260034) 2025-08-06 11:54:24 +00:00
Robo
bcf2f5ba2b chore: update to @electron/osx-sign@2.0.0 (#259758) 2025-08-05 04:30:58 -07:00
Robo
2305e3bbcd ci: fix linux node_modules publish pipeline (#256781)
* ci: fix linux node_modules publish pipeline

* fix: build
2025-07-21 18:09:57 +09:00
João Moreno
ff529acdac fixes #255743 (#255746) 2025-07-14 09:14:16 +00:00
Benjamin Pasero
94956d0b0b 🆙 esbuild@0.25.5 (#252382) 2025-06-25 10:35:13 +02:00
Raymond Zhao
8def6db21b chore: bump vscode/ripgrep (#251213)
* chore: bump vscode/ripgrep

* Update error message
2025-06-11 20:12:10 +02:00
Benjamin Pasero
1330a32f25 debt - use esbuild for CSS minification (#250820) 2025-06-06 03:04:01 -07:00
Benjamin Pasero
2e6ae92120 🆙 CSS build tools (#249855)
Our previous version had trouble minifying properties and animations.
2025-05-27 10:45:10 +02:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Ladislau Szomoru
7a92a7f53b Engineering - background codesign for Windows (#245885)
* Reapply "Engineering - background codesign for Windows stage (#245796)" (#245869)

This reverts commit 0bc678a5f4.

* Update version calculation

* Remove code that is not needed

* Add missing javascript file

* Fix server path

* Always publish artifacts
2025-04-07 18:04:30 +02:00
Ladislau Szomoru
0bc678a5f4 Revert "Engineering - background codesign for Windows stage (#245796)" (#245869)
This reverts commit e1ff10f3e2.
2025-04-07 13:05:04 +02:00
Ladislau Szomoru
e1ff10f3e2 Engineering - background codesign for Windows stage (#245796)
* Add zx package

* Add stub task and script

* Add missing file

* Remove code

* Another try

* Fingers crossed

* Another try

* Add remaining steps

* Add back tasks

* Fix things

* Another try

* More fixes

* Use deemon

* Fixing things

* watcher - perf improvements for non-recursive watching (#245644)

* Feedback: before / after selectors not rendering correctly (#245645)

Fixes #244575

* Add highlights rule  for character escapes (#245647)

* ci: split gnu arm targets for cli stage (#245651)

* Fix inline edit acceptance on click (#245649)

fix clicking insertion does not accept

* Feedback: variables render differently in Insiders (#245650)

Fixes #244579

* !important different color (#245654)

Fixes #244632

* @property css different color (#245656)

Fixes #244634

* > different color (#245658)

Fixes #244631

* notifications - adopt more `NotificationPriority.OPTIONAL` (#245664)

* Adds more inline completion tests

* Fixes CI

* feat: enable gpu channel async from the runtime (#241640)

* Update WinGet configuration file location & extension (#242241)

* Update WinGet configuration file location & extension

* Remove prerelease: true & add securityContext

* High CPU on large workspace with many TypeScript watched folders (fix #245366) (#245670)

* High CPU on large workspace with many TypeScript watched folders (fix #245366)

* reduce throttle delay

* Moving away from `execCommand` for pasting (#239233)

* adding code to invetsigate the clipboard

* adding more code

* adding change

* adding logs

* adding notes

* making deubgging easier

* adding code to fix paste

* adding code to allow await before trigger paste

* removing all logs

* removing log

* refactoring

* removing change

* adding fix after call

* polishing

* fixing merge conflict

* polishing

* Fixing property initializiation order (#245673)

fixing property initializiation order

* voice - fix some leaks (#245676)

* update css service (#245688)

* Engineering - bump deemon (#245634)

* Engineering - bump deemon

* Bump deemon again

* Always run the Codesign post-job

* Another fix

* Try signing in parallel

* Clean up signing script

Update task name

Tweak script

Some more cleanup

Some more cleanup

More cleanup

* Attempt to run signing in parallel

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Alex Ross <38270282+alexr00@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com>
Co-authored-by: Benjamin Christopher Simmonds <44439583+benibenj@users.noreply.github.com>
Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
Co-authored-by: Muhammad Danish <mdanishkhdev@gmail.com>
Co-authored-by: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2025-04-06 09:17:52 -07:00
João Moreno
b59ae26ad3 fix policy generation (#243429)
cc @justschen
2025-03-13 10:24:52 +01:00
dependabot[bot]
8b8ca3cc3a Bump esbuild from 0.23.0 to 0.25.0 in /build (#240433)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.23.0 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.23.0...v0.25.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 11:16:30 +01:00
João Moreno
d9069970f9 fix build (#238346) 2025-01-21 11:11:30 +01:00
João Moreno
681164aaaa Move to auth cert for Release service (#233841)
* wip

* move to auto provisioning, only cert based auth

* k

* missing compilation

* remove console logs

* extract get publish auth tokens, wait 5 seconds before polling for release
2024-11-15 11:54:43 +01:00
Alex Ross
3906f4cacc Make tree-sitter a required dependency for build (#231494) 2024-10-18 10:52:12 +02:00
Benjamin Pasero
c025c19d14 eng - reduce some unused deps (#231221) 2024-10-13 12:38:11 +02:00
Benjamin Pasero
dc265add0b esm - drop need for manual concat (#230571) 2024-10-06 14:12:20 +02:00