Commit Graph

538 Commits

Author SHA1 Message Date
Ladislau Szomoru
0bb72be9d0 Engineering - linux codesign in the background (#246344)
* Try things oout

* Add sleep

* Bump deemon

* .

* Improve script

* bump deemon

* Revert some debugging changes

* Revert more code used for debugging

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-04-11 21:31:43 +02:00
João Moreno
77a0b47822 fix linux stage (#246235) 2025-04-10 20:33:31 +02:00
João Moreno
7ffe461fac inline linux snap (#246076)
* inline linux snap

* hm

* no need for tar

* hm

* hm

* debug

* hm

* 💄
2025-04-10 17:24:29 +02:00
Ladislau Szomoru
88b8f12fd4 Engineering - linux codesign in parallel (#246135)
* Set up the jobs and tasks

* Add codesign script

* Debug things

* Speed things up while testing

* Add more logging

* More debugging

* Try to use powershell

* Another try

* Another try

* Remove debugging code

* Remove debugging code

* .

* Try using pwsh

* Fix script

* Maybe now

* Maybe now

* Run the sign tasks in parallel

* Revert debug change
2025-04-09 22:02:25 +02:00
Robo
b952f59bea ci: remove explicit dbus setup (#246114) 2025-04-09 17:29:50 +02:00
Ladislau Szomoru
5631ffb317 Engineering - update test task display name (#245847) 2025-04-07 10:44:58 +02:00
Ladislau Szomoru
ba845a02f6 Engineering - fix check for running browser smoke tests (#245460) 2025-04-03 07:13:36 -07:00
Ladislau Szomoru
5f65e5f6e9 Engineering - run tests based on target (#245367) 2025-04-03 06:27:23 +00:00
Benjamin Pasero
3edf73df8a tests - drop more flags (#245357) 2025-04-02 11:33:09 -07:00
Ladislau Szomoru
d17c002ece Engineering - PR pipeline improvements (#245331) 2025-04-02 18:35:48 +02:00
Ladislau Szomoru
e09d79667b Engineering - switch over to the new build agents (#244964)
* Engineering - switch CLI stage agents

* Update the macOS stage

* Comment out policy generation to unblock

* ensure node modules cache takes agent's arch into account

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-03-31 16:56:23 +02:00
Robo
d1ce0bf2c1 chore: update electron@34.3.2 (#243032)
* chore: update electron@34.3.2

* chore: update node.js builds

* chore: update runtime builds

* chore: bump distro
2025-03-11 20:45:06 +09:00
Robo
31ec1c528f build: remove legacy server support (#235232)
* build: remove legacy server support

* chore: update rpm dependencies

* chore: fix publishing

* cli: provide option for unsupported glibc sysroot

* chore: add unsupported mode to prereq check

* chore: add logging

* chore: add comment about patchelf execution order
2025-03-10 17:54:23 +01:00
Robo
f8b29f8da2 chore: bump electron@34.2.0 (#241077)
* chore: bump electron@34.2.0

* chore: update builds

* chore: update builds

* chore: bump distro
2025-02-21 13:26:39 -08:00
Robo
f94b27000c chore: update to Electron 34 (#237557)
* chore: update electron@33.3.0

* chore: update for webFrameMain possibly being null

Refs ae9f2df082

* chore: update debian deps

* chore: update rpm deps

* chore: bump electron@34.0.0-beta.12

* temp: use std::format for spdlog

* chore: update debian deps

* chore: update rpm deps

* chore: bump electron@34.0.0

* chore: bump electron@34.0.1

* chore: bump electron@34.1.0

* chore: update required portal version

* chore: use enableDeprecatedPaste

* chore: update builds

* chore: bump distro
2025-02-12 10:36:35 +01:00
Robo
9df979cc9a ci: fix installation of build dependencies (#239290)
* ci: fix installation of build dependencies

* ci: add missing quality parameter
2025-01-31 09:27:39 +00:00
Robo
5ece69fbf3 ci: fix flaky client module installation in legacy stage (#235786) 2024-12-11 05:21:01 +01:00
João Moreno
dfe78a1fb9 use WIF for Codesign (#233908)
* use WIF for Codesign

* fix indentation

* fix tasks
2024-11-15 22:16:31 +01:00
João Moreno
0244c5edf7 move to new esrp service connection (#233591) 2024-11-11 12:52:05 -08:00
João Moreno
a46559966e move to new service connection, remove deprecated storage account upload (#233191) 2024-11-06 14:57:38 +01:00
Alex Ross
e6f2cc2f0a Add an easy way to run performance tests for tree-sitter (#233072)
* Add an easy way to run performance tests for tree-sitter
Part os #210475

* Compile build folder
2024-11-05 15:35:58 +01:00
Robo
6c2e9ffde1 chore: bump electron@32.2.1 (#231913)
* chore: bump electron@32.2.1

* chore: bump distro
2024-10-22 01:12:06 -07:00
Robo
f84b345a46 ci: cleanup snap publishing step (#231833) 2024-10-21 15:37:26 +02:00
Raymond Zhao
75caed98f2 chore: install make for snap (#231709)
* chore: install make for snap

* Also add g++

* Also list versions

* Again
2024-10-21 14:08:45 +09:00
Robo
ba6907515e fix: use xz compression when building deb package (#230471) 2024-10-04 13:25:06 +02:00
Robo
8422282f04 chore: update to Electron 32 (#218245)
* chore: update electron@31.0.1

* chore: bump electron@31.1.0

* chore: update sysroot download url

* chore: bump electron@31.3.0

* chore: update rpm deps for arm64

* chore: bump electron@31.4.0

* chore: bump electron@32.0.0

* fix: compile stage

* fix: install on windows

* fix: override node-addon-api to support c++20 with gcc-11

Brings in fed13534c5
to support compilation with gcc>=11

* ci: use gnu++2a for gcc <=9

* ci: fix sdl pipeline

* ci: web stage

* ci: fix alpine stage

* ci: fix legacy server stage

* fix: node-addon-api resolution for remote

* ci: fix legacy arm stage

* chore: sync npm dependencies

* chore: bump electron@32.0.1

* ci: fix monaco editor checks

* ci: fix legacy server stage

* ci: possible concurrent execution

* ci: use foreground scripts on windows

* chore: bump electron@32.0.2

* fix: compilation

Refs 204011c3f2

* Revert "wco - hardcode devtools location on Linux (#227084)"

This reverts commit dfb96d11d3.

* chore: bump electron@32.1.2

* ci: remove workaround for missing c++20 flags

* ci: use gnu++2a for gcc <=9

* chore: bump distro

* ci: use gnu++17 for legacy arm servers

* fixup! override node-addon-api to support c++20 with gcc-11

Scope to only the affected package versions

* chore: bump @vscode/policy-watcher

* chore: bump @vscode/sqlite3

* chore: bump node.js v20.17.0

* chore: bump distro

* chore: update @vscode/windows-ca-certs

* chore: update builds for electron@32.1.2

* chore: bump distro

* chore: bump dependencies

* ci: fix arm legacy servers
2024-10-04 19:19:06 +09:00
Johannes
6e4221f0ec remove swc 2024-10-04 11:23:51 +02:00
Benjamin Pasero
332b89f198 esm - remove AMD build scripts, tests and variables 2024-09-27 08:04:01 +02:00
Ladislau Szomoru
a86459a1f2 Engineering - update DownloadPipelineArtifact task (#228419) 2024-09-13 16:47:16 +09:00
Robo
b5a6aa14a8 feat: switch to npm as default package manager (#226927)
* feat: move from yarn to npm

* chore: skip yarn.lock files

* fix: playwright download

* chore: fix compile and hygiene

* chore: bump vsce@2.17.0

Refs 8b49e9dfdf

* test: update results for bat and sh colorizer tests

* fix: add missing lock files for windows

* fix: switch to legacy-peer-deps

* chore: update markdown-it@14.1.0

Refs 737c95a129

esbuild step in extensions-ci-pr was previously using markdown-it
from root which had userland punycode and was able to compile successfully.

* ci: increase pr timeout for windows integration tests

* chore: fix product build

* build: ignore extension dev dependency for rcedit

* build: fix working directory inside container

* build: fix dependency generation

* npm: update dependencies

* ci: use global npmrc

* ci: update cache

* ci: setup global npmrc for private npm auth

* build: fix extension bundling

* chore: sync npm dependencies

* ci: debug env variables for container

* ci: fix win32 cli pipeline

* build: fix npmrc config usage for build/ and remote/ dirs

* fix: windows build

* fix: container builds

* fix: markdown-language-features tests and bundling

```
[03:58:22] Error: Command failed: /Users/demohan/.nvm/versions/node/v20.15.1/bin/node /Users/demohan/github/vscode/extensions/markdown-language-features/esbuild-notebook.js --outputRoot /Users/demohan/github/vscode/.build/extensions/markdown-language-features
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds userland package based on beed9aee2c

* fix: container builds for distro

* chore: update yarn occurrences

* fixup! chore: bump vsce@2.17.0

Uses the closest version to `main` branch that does not
include d3cc84cdec
while still having the fix 8b49e9dfdf

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: throw error when yarn is used for installation

* chore: add review feedback

* chore: switch exec => run where needed

* chore: npm sync dependencies

* fix: markdown-language-features bundling

```
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds missing userland package based on markdown-it/markdown-it@beed9ae,
can be removed once we update markdown-it >= 14.1.0

* ci: rename no-yarn-lock-changes.yml

* chore: sync npm dependencies

* ci: restore no-yarn-lock-changes.yml

We can disable it in a separate PR to keep the required
checks happy and also need workflow edit perms.

* chore: sync npm dependencies

* ci: rebuild cache

* ci: fix no-package-lock-changes.yml

* chore: bump distro

* chore: rm yarn.lock files

* chore: rm yarn.lock files without dependencies

* chore: add vscode-selfhost-import-aid to postinstall dirs

* chore: bump distro
2024-09-06 22:18:02 +09:00
Kevin Cui
d1eab2bcf4 ci: ensure retry logic consistency (#226038)
Related PR: #171489

Signed-off-by: Kevin Cui <bh@bugs.cc>
2024-09-04 04:51:19 +00:00
Robo
8e0e3bfb18 ci: add retry logic for apt failures (#227420)
Based on https://github.com/actions/runner-images/blob/ubuntu22/20240825.1/images/ubuntu/scripts/build/configure-apt-mock.sh
2024-09-03 06:55:12 +02:00
Robo
adac839773 ci: use sysroots for stripping binaries in rpmbuild (#227397) 2024-09-03 06:01:02 +02:00
Ladislau Szomoru
310f0a3d85 Engineering - upgrade AzureKeyVault task (#227191) 2024-08-30 11:10:44 +02:00
Benjamin Pasero
6b924c5152 ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Benjamin Pasero
c3819e438c esm - pass build variable around properly (#225724) 2024-08-16 09:24:34 +02:00
Benjamin Pasero
02fcc994ac esm - port over unit test changes (#225711) 2024-08-15 19:58:52 +02:00
Peng Lyu
4a8f1db241 compile ipynb for smoke test 2024-08-02 11:55:13 -07:00
Matt Bierner
7174171947 Move MD server into own package (#212387)
* Move MD server into own package

* Remove a few more refs

* Try glob

* Move glob

* More glob

* Add logging

* Tweak glob again

* Use webpack to copy over files

* Remove a few more refs to server

* Fix debug check
2024-07-12 14:04:42 -07:00
Robo
cab98a1ca8 fix: bump minimum glibcxx version for armhf remote server (#221259) 2024-07-10 08:04:46 +09:00
Robo
2fe0527205 chore: update to electron 30 (#215406)
* chore: update electron@30.0.9

* chore: update rpm deps

* chore: bump electron@30.1.2

* fix: update kerberos for Node.js 20.x

Refs c1f7acafb2

* fix: use shell when spawning .bat or .cmd files

Refs https://github.com/nodejs/node/commit/6627222409

* fix: update @vscode/test-electron@2.4.0

Refs 3f7a3cc5c5

* fixup! use shell when spawning .bat or .cmd files

* chore: bump nodejs@20.14.0 internal build

* ci: skip nodejsMirror for 20.14.0 due to missing builds

* fixup! use shell when spawning .bat or .cmd files

* chore: update debian deps

* fixup! skip nodejsMirror for 20.14.0 due to missing builds

* fix: universal build

- Updates vscode-universal-bundler to support x64ArchFiles option
- Kerberos starts building universal binaries which should now be
  skipped from lipo step via x64ArchFiles
- Skips bundling *.mk files

* chore: bump distro
2024-07-09 14:33:22 +09:00
Robo
d550ede2c3 chore: update glibc version checker for remote (#215599) 2024-06-20 04:30:41 +02:00
Robo
56db61ec8a chore: update remote node.js (#213439)
* chore: update remote node.js to v20.11.1

* chore: remove io_uring workaround

* chore: update checksums

* temp: update distro

* ci: rebuild cache

* chore: bump distro
2024-05-26 07:12:14 +02:00
Robo
28ebd9176f chore: bump electron@29.4.0 (#213050)
* chore: bump electron@29.4.0

* chore: remove io_uring workaround

* chore: bump distro

* chore: update dialog result for canceled save dialogs

Refs fe01ed750a

* chore: add back io_uring workaround for remote oss tests

* chore: update nodejs v20.9.0 build

* chore: add back io_uring workaround for remote tests
2024-05-20 08:31:44 -07:00
Robo
e65febca09 ci: use sysroots for oss linux pipeline (#212895)
* ci: use sysroots for oss linux pipeline

* ci: update cache

* ci: cleanup conditions
2024-05-16 17:18:57 +02:00
Robo
5216c04428 chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

Refs https://github.com/microsoft/vscode/issues/212442

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
João Moreno
b40321263d fix legacy builds (#208314)
* fix legacy builds

* update regex

* extra ?

* argh
2024-03-21 17:25:26 +01:00
João Moreno
e5515ac702 Adopt 1ES PT (#207844)
* extend 1es pipeline template

* oops

* fix template references

* argh

* hmm

* hm

* hm

* use outputs for compilation artifact

* this

* use 1ES.PublishPipelineArtifact@1 instead of publish

* more 1ES.PublishPipelineArtifact@1 adoption

* provide windows pool for sdl sources

* sdl

* fix pools

* fix macos

* disable sbom for intermediate artifacts

* use mariner linux

* try inline tsa options

* fix credscan

* hm

* sudo it

* more suppressions

* be explicit with SBOM build drop paths

* fix indentation

* fix file extensions

* fix cli sbom build drop paths

* fix more build

* fix unzip cli

* careful with _manifest in artifacts

* do not close file

* add logging

* debug

* use snapcraft container

* remove size check

* fix macos cli step

* fix snap permissions

* fix macos

* better logs

* fix snap

* more cred scan suppressions

* even more supressiong

* alpine-arm64: try using x64

* Revert "alpine-arm64: try using x64"

This reverts commit bf2003bf60.

* test docker

* I wonder

* logs

* hm

* fix indentation

* hm

* hm

* fix snap finds

* remove auth

* use hostArchitecture

* snap: limit find

* hm

* sudo

* Add validateToolOutput: None to the build pipeline

* bring back sdl-scan

* try all tools: true

* use release

* Update Azure Pipelines YAML file for Linux product build and test

* hm

* hm

* same for win32

* hm

* hm

* Revert "hm"

This reverts commit 1b9dcae85b.

* use branch

* fix template file

* fix template paths
2024-03-21 14:16:32 +01:00
Robo
5e0394c8d1 fix: don't package detection script in legacy server (#208274)
* fix: don't package detection script in legacy server

* chore: address review feedback

* chore: rename download asset name
2024-03-21 14:11:57 +01:00
Robo
92e85248d7 fix: use different package name for legacy servers (#208088) 2024-03-19 13:16:17 +01:00