Commit graph

1131 commits

Author SHA1 Message Date
Connor Peet 8ba5882fb8
Merge pull request #163971 from microsoft/connor4312/cli-vcpkg
cli: use vcpkg for everything
2022-10-20 16:45:18 -07:00
Connor Peet c536595a7f
cli: fallback to system installs in the standalone CLI
The standalone CLI should detect and fall back to using and
system-installed VS Code instance, rather than trying to download zips
and manage its own VS Code instances.

There are three approaches used for discovery:

- On Windows, we can easily and quickly read the register to find
  installed versions based on their app ID.
- On macOS, we initially look in `/Applications` and fall back to the
  slow `system_profiler` command to list app .app's if that fails.
- On Linux, we just look in the PATH. I believe all Linux installers
  (snap, dep, rpm) automatically add VS Code to the user's PATH.

Failing this, the user can also manually specify their installation dir,
using the command `code version use stable --install-dir /path/to/vscode`.

Fixes #164159
2022-10-20 10:54:13 -07:00
Connor Peet 8bfd07de06
update client builds to pull the right artifacts 2022-10-18 15:42:31 -07:00
Connor Peet 691ffd27c2
fix missing sudo 2022-10-18 15:05:49 -07:00
Connor Peet 067db8e75b
set linker for armhf correctly 2022-10-18 14:59:21 -07:00
Connor Peet ed0a21eda6
Merge remote-tracking branch 'origin/main' into connor4312/msrustup 2022-10-18 14:25:51 -07:00
Connor Peet 24a51e506f
try using vcpkg for everything 2022-10-18 10:58:50 -07:00
Connor Peet b987cb47f4
fix integrated cli check 2022-10-17 13:53:06 -07:00
Connor Peet 4e9bdbd44f
make self-update work on Linux 2022-10-17 13:38:52 -07:00
Connor Peet 7c3740a7e7
update prepare scripts, license, lockfile 2022-10-17 11:50:49 -07:00
Connor Peet 75dfb8993e
Merge branch 'main' into connor4312/cli-self-update 2022-10-17 11:15:23 -07:00
Connor Peet cb1b7ec10b
temporarily disable secret-service pending update 2022-10-17 11:13:51 -07:00
Connor Peet 450f8e65b6
run cli tests on pr 2022-10-17 09:56:15 -07:00
Connor Peet 84439a87f6
wip 2022-10-14 15:46:49 -07:00
Connor Peet 84a929b8b7
Merge remote-tracking branch 'origin/main' into connor4312/cli-self-update 2022-10-14 14:23:41 -07:00
João Moreno ac9aff3521
reenable terrapin (#163622)
* drop npx for terrapin

* enable terrapin by default
2022-10-14 01:35:15 -07:00
Connor Peet a5e9b83d65
ci: fix wrong file in cli tests 2022-10-12 17:05:41 -07:00
Connor Peet b42f25b50b
address pr comments 2022-10-11 08:30:43 -07:00
Connor Peet ebd59363f0
Merge branch 'build-integrated-cli-dev' into build-integrated-cli 2022-10-10 19:13:08 -07:00
Connor Peet dc69e22984
fix build 2022-10-10 15:59:55 -07:00
Connor Peet 191dc770d1
address pr comments 2022-10-10 10:40:01 -07:00
Connor Peet 1b11bc6724
address pr comments 2022-10-10 10:39:51 -07:00
Connor Peet 18f743d534
address pr comments 2022-10-05 12:56:07 -07:00
Connor Peet b401701d87
address pr comments 2022-10-05 11:46:24 -07:00
Connor Peet cbc174dcad
Merge remote-tracking branch 'origin/main' into build-integrated-cli 2022-10-05 10:00:18 -07:00
Tyler James Leonhardt d19445483e
use timeoutsec and log between irm and ea (#162695) 2022-10-04 14:12:53 -07:00
João Moreno 8da400cf70
make sure VSCODE_RELEASE works even if quality is frozen (#162556) 2022-10-03 03:06:08 -07:00
Tyler James Leonhardt 9cad027389
check artifact size after download and extraction (#162407)
* just log it for now

* add size check
2022-09-30 09:31:29 +02:00
Ladislau Szomoru 7ff04babc6
Revert "Engineering - use specific image version (#160878)" (#162052)
This reverts commit 924d7622fa.
2022-09-28 09:49:59 +02:00
João Moreno 70a7ce4d1a
Auto releasing a build needs peer approval (#161981)
* make sure VSCODE_RELEASE has peer approval

* boom
2022-09-27 16:55:34 +02:00
Connor Peet 889fbd2f1b
add detection for integrated cli, verify 2022-09-26 07:22:58 +02:00
Connor Peet 07453efc00
cli: implement better self-updating
- Start separating a "standalone" CLI. This is a little awkward with clap-
  derive, but I got it working. Detection of whether the CLI _is_
  standalone is still todo.
- Remove the old ad-hoc update code for code-server, and use the update
  service instead.
- Fix some of the "permission denied" errors people got while updating
  before. We need to rename the old running binary, not just overwrite it.
2022-09-23 17:47:39 -07:00
Connor Peet a9bcb15b75
cli: run ci on pr 2022-09-23 14:31:37 -07:00
Connor Peet 665eb030a6
Merge remote-tracking branch 'origin/main' into build-integrated-cli 2022-09-23 13:33:35 -07:00
Connor Peet 9bcc88eafe
cli: get builds in order 2022-09-23 13:28:26 -07:00
Robo 0d5fbcc577
chore: use plugin executable for utility process on macOS (#161102)
chore: update app entitlements
2022-09-21 08:18:39 -07:00
Alexandru Dima 869fd7bbfb
Only do the /build/ folder check on OSS, where we don't mixin (#161381) 2022-09-21 01:59:57 -07:00
Alexandru Dima 7041b71cd6
Retire basic checks GH action (#161376)
* Add /build/ folder checks (just like GH action)

* Add more checks that were only present in the GH action

* Disable basic checks GH action
2022-09-21 00:58:06 -07:00
Alexandru Dima 0bc9f9b606
Add missing build file (#161373) 2022-09-21 09:10:35 +02:00
Benjamin Pasero 772289fd6a
tests - update playwright (#161367) 2022-09-20 22:07:05 -07:00
Benjamin Pasero ca745eea7c
tests - do not retryCountOnTaskFailure playwright (#161299)
* tests - do not `retryCountOnTaskFailure` playwright

* compile
2022-09-20 09:55:06 +02:00
Connor Peet e02895941d
build: include the integrated CLI in product builds 2022-09-19 23:16:19 -07:00
Benjamin Pasero 42cbf7dde0
build - debug playwright install (#161099) 2022-09-16 06:52:48 -07:00
Tyler James Leonhardt 869733274b
Have createAsset not short circuit (#161030) 2022-09-16 06:34:58 -07:00
Rob Lourens c717237d7c
Reenable a couple notebook smoketests (#159521)
* Remove vscode-notebook-tests in favor of an .ipynb in vscode-smoketest-express

* Update build folder

* Add build task to correct platform

* Build for smoke tests on other platforms

* Fix repo url and remove comment

* Just -media?

* Update darwin/win32 as well
2022-09-14 13:22:16 -07:00
Ladislau Szomoru 924d7622fa
Engineering - use specific image version (#160878) 2022-09-14 09:14:46 +02:00
Ladislau Szomoru 95caaea452
Engineering - Add timeout and retries to the task to download Electron and Playwright (#160490)
Add timeout and retries to the task to download Electron and Playwright
2022-09-09 10:47:29 +02:00
João Moreno d868c444a8
Build: Properly verify signed macOS application bundle (#160056)
* properly test signed macos application

fixes #159873

* more checks

* hm
2022-09-05 07:54:37 +02:00
Johannes a252938303
Merge branch 'main' into joh/swc 2022-08-30 14:14:22 +02:00
Ladislau Szomoru 31acf4253d
Engineering - Disable Terrapin (#159441)
Disable Terrapin
2022-08-29 02:39:00 -07:00
Johannes 46bab7505c
let builds use transpile-client-swc 2022-08-26 15:03:31 +02:00
João Moreno 866bddc98b
build: retry policy generation (#158581)
Fixes: #157736
2022-08-19 15:38:35 +02:00
Tyler James Leonhardt bb158881a5
revert and still use PAT (#157955)
still use PAT
2022-08-11 15:55:57 -07:00
Tyler James Leonhardt 1246fe5f9c
try removing PAT from distro-build (#157950) 2022-08-11 15:47:40 -04:00
Connor Peet fbda011715
build: do proper hashing for built-in dependencies (#157295)
Fixes #157244
2022-08-05 13:00:33 -07:00
Benjamin Pasero ede1cd6a38
Windows: some Firefox web tests are timing out randomly (fix #155760) (#157125) 2022-08-04 20:41:00 +02:00
Benjamin Pasero 12300dac0c
Windows: some Firefox web tests are timing out randomly (#155760) (#157066) 2022-08-04 11:45:54 +02:00
Connor Peet c9df538b06
build: apply built-in ext cache to the rest of the pipeline (#156939) 2022-08-02 16:26:17 -07:00
Connor Peet ca48c64699
build: cache built-in extensions to avoid rate limiting (#156918) 2022-08-03 00:27:16 +02:00
Ladislau Szomoru 8ced34cb31
Engineering - unify all Code OSS pipeline jobs (#156552) 2022-07-28 12:38:45 +02:00
Ladislau Szomoru 96c1ab3fa9
Engineering - Add missing variable to cache maintenance job (#156540)
Add missing variable to cache maintenance job
2022-07-28 09:25:22 +02:00
Ladislau Szomoru c4d99090fc
Engineering - Code OSS pipeline to use generic node modules cache (#156537)
Code OSS pipeline to use generic node modules cache
2022-07-28 08:50:51 +02:00
Ladislau Szomoru 36a09b3cd2
Engineering - Tactical change so that we do not run the Test stage for CodeOSS CI builds (#155829) 2022-07-21 13:30:17 +02:00
Ladislau Szomoru 34f1bc679d
Engineering - update Code OSS pipeline (#155610) 2022-07-19 13:40:33 +00:00
João Moreno 17213dc9bd
Publish stage should wait for web stage (#155284)
publish stage should wait for web stage
2022-07-15 11:10:39 +02:00
Tyler James Leonhardt c1956b8cce
concat arrays instead of replace because we want all items in the array (#155228) 2022-07-14 12:57:48 -07:00
João Moreno 385c0818cd
Move Web job into its own stage (#155193)
* split web from linux

fixes #155191

* reorder
2022-07-14 14:19:25 +00:00
Robo 02d648f962
fix: compilation of vscode-encrypt for darwin arm64 (#154762) 2022-07-12 10:00:06 +00:00
Matt Bierner ad9675f099
Scaffold out basic markdown language server (#154293)
* Scaffold out basic markdown lsp

This scaffolds out a new markdown language server and then uses it to implement document symbols. After the change, the markdown extension will have the following structure:

- languageService — Where all the LSP language stuff will eventually land
- server — The actual language server. Consumes ` languageService`
- src — The current extension that launches the server and implements VS Code specific functions

* Adding build scripts

* a

* Use language service from github

* Remove ls build scripts

* Bump versions

* Only build ext

* Enable for web

* Fixing for browser
2022-07-06 16:03:24 -07:00
Tyler James Leonhardt 551cf46204
use extension id as key not folder name which is more accurate (#153178) 2022-06-24 23:31:22 +00:00
Matt Bierner bbe7b54cf4
Remove custom editor tests (#152777)
These tests are not actively being run or maintained. Removing them for now
2022-06-21 15:37:19 -04:00
Matt Bierner 2a84b0fb6d
Enable alwaysStrict for build scripts (#152778)
Turns on `alwaysStrict` and removes `'use strict';` from our `.ts` files
2022-06-21 19:00:43 +00:00
Benjamin Pasero 47f417529c
Revert "fix smoke tests on linux (#152232)" (#152418)
This reverts commit 5f696f9955.
2022-06-17 08:20:16 +02:00
Benjamin Pasero 5f696f9955
fix smoke tests on linux (#152232) 2022-06-15 11:07:42 -07:00
João Moreno 8e2ec5a7ee
Revert "remove UpdateMode policy (#150357)" (#152155)
This reverts commit 73dda0c06a.
2022-06-15 07:56:48 +00:00
Ladislau Szomoru df337d1502
Engineering - standardize macOS support jobs (#151954) 2022-06-14 16:04:17 +02:00
Martin Aeschlimann 527bc71786
add compile configuration-editing to pipeline (#152020) 2022-06-14 07:41:45 +00:00
Ladislau Szomoru 53130238b4
Engineering - fix macOS jobs (#151925) 2022-06-13 13:05:13 +02:00
Ladislau Szomoru e751ed6829
Engineering - do not run SBOM tasks in macOSTest (#151915) 2022-06-13 08:21:10 +00:00
Tyler James Leonhardt a1c801454b
Move sbom above publishing client (#151775)
move sbom above publishing client
2022-06-10 10:51:56 -07:00
Ladislau Szomoru 035a5ea306
Cache/restore the node_modules folder in the build directory (#151725) 2022-06-10 12:40:32 +00:00
Ladislau Szomoru 2be99473d5
Engineering - execute tests in parallel for the CI build (#151593) 2022-06-10 04:35:28 -07:00
Johannes ed9ed45794
Merge branch 'main' into joh/voluminous-lobster 2022-06-10 09:07:30 +02:00
Benjamin Pasero 14676ca481
ci - always publish log files (#151686) 2022-06-10 06:30:07 +00:00
Johannes 2c004b870f
recompile build folder with const over let 2022-06-09 10:59:11 +02:00
Johannes 43c31079ee
manual fixing of prefer-const violations 2022-06-09 10:19:56 +02:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Ladislau Szomoru 7734233bce
Engineering - macOS sign job optimization (#151120) 2022-06-08 10:06:41 +02:00
Ladislau Szomoru dc1ee4b14c
Engineering - Do not run macOSTest job if VSCODE_STEP_ON_IT is set (#150794)
Do not run macOSTest job if VSCODE_STEP_ON_IT is set
2022-06-08 10:06:18 +02:00
Rob Lourens 416eb0eb67
Increase config upload task timeout again (#151362) 2022-06-06 17:14:49 -04:00
Robo 9aa946329d
ci: fix 32-bit arm compilation (#150799) 2022-05-31 04:39:24 -07:00
Ladislau Szomoru 986ef1c76d
Disable Terrapin for OSS builds (#150374) 2022-05-25 13:43:11 +00:00
João Moreno 73dda0c06a
remove UpdateMode policy (#150357) 2022-05-25 05:42:17 -07:00
Robo 60e199cda4
chore: bump electron@17.4.4 (#149896) 2022-05-18 22:34:26 -07:00
Ladislau Szomoru d1f882f635
Engineering - Exploration to run tests in parallel (#149698) 2022-05-18 10:37:44 +02:00
Ladislau Szomoru f2380f2c90
Engineering - Run PR pipeline for the main branch (#149700)
* Add trigger for the main branch

* Add trigger for release branches
2022-05-17 12:49:52 +02:00
Ladislau Szomoru 83213f7bac
Switch agent pools (#149691) 2022-05-17 10:42:31 +02:00
Ladislau Szomoru 98d9782b8b
Only run arm64 server job if arm64 client job will be run (#149439) 2022-05-13 03:00:15 -07:00
João Moreno 5854ef865c
Generate policies again (#149322)
* Generate ADMX/ADML policy declaration files from static analysis

Fixes: #148941

* fix build

* move to optional dependencies
2022-05-12 09:16:03 +02:00
Ladislau Szomoru 49bdd857c4
Remove PR trigger (#149265) 2022-05-11 17:26:15 +02:00
Ladislau Szomoru 2a9f19d36f
Engineering - create pull request pipeline (#149171) 2022-05-11 03:08:54 -07:00
Rob Lourens 54c16e445f
Increase settings upload timeout. Fix #149089 (#149203) 2022-05-10 17:52:45 -07:00
Joyce Er ba8ced85c5
Revert "Generate ADMX/ADML policy declaration files from static analysis" (#149194)
This reverts commit dcfe6b3b84.
2022-05-10 16:30:34 -07:00
João Moreno dcfe6b3b84
Generate ADMX/ADML policy declaration files from static analysis
Fixes: #148941
2022-05-10 13:17:05 +02:00
Robo 42b1f560e3
ci: fix 403 when downloading ripgrep prebuilt (#149081) 2022-05-09 05:04:29 -07:00
Robo 3d7135a49f
ci: fix 32-bit builds of native modules (#149062)
* ci: fix 32-bit builds of native modules

* chore: bump distro
2022-05-09 10:00:18 +00:00
Daniel Imms a5f0a29527
Fix, re-enable or disable skipped terminal smoke tests
Fixes #146700
2022-05-06 08:11:50 -07:00
SteVen Batten 64d6fadbdc Revert "Trigger product build on PRs to release branches"
This reverts commit 9e41d534b4.
2022-05-04 14:14:33 -07:00
Alex Dima 9e41d534b4
Trigger product build on PRs to release branches 2022-05-04 13:49:59 +02:00
Alex Dima 909b5ca2ea
Avoid that Azure Pipelines trigger automatically for all topic branches 2022-05-04 11:40:30 +02:00
João Moreno 3f557f2d39
Remove unnecessary build step (#148081)
* remove unnecessary build step

* ok
2022-04-26 00:50:20 -07:00
Benjamin Pasero eedf60ead0
ci - only publish log files when there was a failure 2022-04-22 09:21:21 +02:00
deepak1556 87191b089d ci: fix downloading linux server dependencies 2022-04-21 01:59:16 +09:00
deepak1556 cf63e1839c ci: fix 403 when downloading ripgrep prebuilt 2022-04-19 20:19:47 +09:00
Robo d38141a519
ci: build arm64 server with centos7-devtoolset8 (#147676) 2022-04-19 03:34:10 -07:00
Joao Moreno c1eefb0170
add macOSTest job
Co-Authored-By: @TylerLeonhardt
2022-04-14 09:09:07 +02:00
Tyler Leonhardt a6fc7a58de
sort by length first and then name. 2022-04-13 14:54:28 -07:00
Joao Moreno 969a399ae9
fix build 2022-04-13 20:55:08 +02:00
Joao Moreno 30823fcbb4
build: split darwin universal 2022-04-13 20:38:30 +02:00
Joao Moreno eb4131fa6a
disable codeql 2022-04-13 14:46:18 +02:00
Benjamin Pasero fa8d1063f6
🆙 1.21.0 (#147348)
* 🆙 `playwright`

* fix install

* adopt latest apis

* comment
2022-04-13 08:43:17 +02:00
Connor Peet 5e86e40fab
extensions: pull from github in OSS build (#146863)
* extensions: pull from github in OSS build

* fixup! address pr comment
2022-04-10 22:36:12 -07:00
Benjamin Pasero 7e5c345ff2
smoke - remov verbose again 2022-04-08 09:45:40 +02:00
Benjamin Pasero c4de759c43
smoke - limit diagnostics to x64 platforms 2022-04-08 09:24:40 +02:00
Benjamin Pasero f4617bb774
tests - print diag also before smoke tests 2022-04-06 16:31:08 +02:00
Benjamin Pasero f4aebbc956
Print diag after smoke test (#146920)
* smoke - list processes after run

* print more diag on linux

* .
2022-04-06 16:29:23 +02:00
Benjamin Pasero 18377e6ee2
smoke - allow to enable verbose vscode logs and enable for now 2022-04-06 10:41:22 +02:00
Benjamin Pasero 82cac76aef
smoke - drop legacy tests 2022-04-06 08:00:42 +02:00
Benjamin Pasero 8212626e5f
smoke - disable verbose for windows 2022-04-05 18:56:59 +02:00
Benjamin Pasero 6508a29d23
smoke - more verbose logging on windows 2022-04-05 09:17:17 +02:00
Benjamin Pasero f707fd3b09
smoke - run legacy tests again, do not fail new playwright tests for a while to figure out flakiness 2022-04-04 15:03:17 +02:00
Benjamin Pasero 2ada17080c
Use playwright for desktop smoke tests (#146692)
* Use `playwright` for desktop smoke tests

* fix distro issues

* tests - enable prefs tests for web
2022-04-04 10:13:08 +02:00
Tyler Leonhardt f3a9245af9
comment out override commit because we shouldn't need it 2022-03-28 14:45:03 -07:00
Joao Moreno 66d1e5dac0
ups 2022-03-25 11:20:55 +01:00
Joao Moreno aa3bf656ca
make mooncake upload configurable 2022-03-25 10:57:18 +01:00
Joao Moreno 8062805325
Revert "Again disable mooncake upload"
This reverts commit 616cad0638.
2022-03-25 09:41:15 +01:00
Dirk Baeumer 616cad0638
Again disable mooncake upload 2022-03-25 09:08:27 +01:00
Dirk Baeumer 14a3095128
Revert "Temporarily disable mooncake upload"
This reverts commit c5dece632b.
2022-03-24 15:47:32 +01:00
Dirk Baeumer c5dece632b
Temporarily disable mooncake upload 2022-03-24 15:45:29 +01:00
João Moreno 9342d76f61
fix regular builds 2022-03-21 16:07:46 +01:00
João Moreno c5902c4e2b
hm 2022-03-21 14:46:14 +01:00
João Moreno 726eeffa71
introduce distro private builds 2022-03-21 14:40:00 +01:00
Robo b4b5c4d979
ci: fix published server arhive name on macOS (#145509) 2022-03-21 06:29:24 -07:00
Joao Moreno 29ef778b1c
fixes #145397 2022-03-18 13:54:12 +01:00
Robo 791b350c03
ci: unify artifacts processing on darwin (#145226)
* ci: unify artifacts processing on darwin

* chore: update displayName
2022-03-17 16:53:54 +09:00
Alex Dima c80ad9b72c
Keep legacy zip file names for darwin x64 2022-03-15 23:19:38 +01:00
Alex Dima a537cdb91c
update .js 2022-03-15 17:50:27 +01:00
Alex Dima 8070d2acc5
Add mapping for server darwin arm64 2022-03-15 16:57:09 +01:00
Alex Dima ed0cb70658
Don't run certain steps in the universal build 2022-03-15 09:09:51 +01:00
Alex Dima 9ea977e832
Fix paths 2022-03-14 19:20:07 +01:00
Alex Dima bd9d4d5b51
Add support for arm64 for server builds 2022-03-14 16:22:54 +01:00
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Henning Dieterichs 2076178ec0
Adds token to make 403s less likely when downloading ripgrep. (#144686) 2022-03-09 09:41:49 +09:00
deepak1556 c3e948aa30 ci: fix build with latest node-gyp 2022-03-02 10:16:53 +09:00
Matt Bierner 433bf7cd88
Update build scripts to target es2020 2022-02-28 14:00:17 -08:00
Robo df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Ladislau Szomoru 90e941d7c6
Switch to 1ES windows agent 2022-02-19 12:48:08 +01:00
deepak1556 0992d85866 ci: fix linux system services
Refs https://github.com/microsoft/vscode/issues/142572
2022-02-17 02:16:46 +09:00
Benjamin Pasero a53624cc51
Revert "linux: disable crash reporting in CI also in smoke tests (#142572)"
This reverts commit 5faea719c5.
2022-02-15 16:26:38 +01:00
Benjamin Pasero 5faea719c5
linux: disable crash reporting in CI also in smoke tests (#142572) 2022-02-15 08:45:36 +01:00
SteVen Batten 0c2f01428e
update .gdntsa 2022-02-11 11:56:26 -08:00
deepak1556 1aa9684ba8 chore: disable clang toolchain for arm 2022-02-10 11:36:32 +09:00
deepak1556 27db180263 chore: bump distro
Fixes https://github.com/microsoft/vscode/issues/142675
2022-02-10 10:18:33 +09:00
deepak1556 c8de43a7ca chore: fix linker flags for linux build
Fixes https://github.com/microsoft/vscode/issues/142574
2022-02-10 00:26:02 +09:00
Ladislau Szomoru f8fb697b82
Add variable for macOS stage 2022-02-09 09:36:40 +01:00
Robo 2d8e935714
ci: fix default gcc choice for remote (#142554) 2022-02-08 13:29:34 -08:00
Robo 01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

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

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

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

* ci: switch to buster for linux arm

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

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

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

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Ladislau Szomoru 200beb1a40
Update Linux agent pool 2022-02-08 16:37:56 +01:00
Ladislau Szomoru facb65e363
Ping windows agent version 2022-02-08 11:23:23 +01:00
Ladislau Szomoru efb9555199
Revert the agent pool 2022-02-08 10:54:30 +01:00
Ladislau Szomoru e6371384a4
Update agent pool 2022-02-08 10:39:42 +01:00
Ladislau Szomoru 559a11fff0
Engineering - bring back SBOM tasks (#142487) 2022-02-08 10:36:10 +01:00
Ladislau Szomoru 41306672e3
Update agent pool 2022-02-08 09:38:17 +01:00
Ladislau Szomoru 3706943977
Update agent pool 2022-02-08 09:31:34 +01:00
Ladislau Szomoru 5aade930b2
Switch agent pool 2022-02-08 09:27:36 +01:00
Ladislau Szomoru 97c1e76d66
Comment out SBOM tasks 2022-02-07 09:40:00 +01:00
Ladislau Szomoru 4336a744e2
Add conditions to the SBOM tasks 2022-02-07 09:31:50 +01:00
deepak1556 23731b5ff9 ci: fix server package folders
Publish step will move the contents of legacy server folder
vscode-reh-* to vscode-server-* leading to the SBOM step
failure

/cc @lszomoru
2022-02-07 16:40:31 +09:00
Ladislau Szomoru a0dd9ed39f
Engineering - update pipeline (#142326) 2022-02-06 16:44:53 +01:00
Robo b7712c07fa
refactor: build x64 remote modules with same toolchain as binary (#142023)
* refactor: build x64 remote modules with same toolchain as binary

Refs https://github.com/nodejs/node/blob/master/BUILDING.md#official-binary-platforms-and-toolchains
Fixes https://github.com/microsoft/vscode/issues/137659

* chore: split client and server stages for x64

* chore: add build dependencies

* Revert "chore: add build dependencies"

This reverts commit f9077c9ebd6017bd973db9366dc3d7f336293742.

* chore: build step requires root dependencies

* chore: only perform module installation in separate stage

* chore: fix target path

* chore: run server stage in parallel to compile

* chore: fix dependency chain

* chore: declare parallel dependecy

* chore: fix artifact name

* chore: publish as archive to preserve file types

* chore: fix target directory for extraction

* chore: update postinstall script
2022-02-03 07:56:21 -08:00
Johannes Rieken 4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Alex Dima cab9713422
Fixes #141994: Address eslint problems 2022-02-02 13:18:12 +01:00
Benjamin Pasero bd0040c74d
Smoketest timeout (fix #141918) 2022-02-01 08:02:06 +01:00
Daniel Imms bc71f7a343 Increase unit test timeout 7->15 on all platforms 2022-01-24 07:15:16 -08:00
Daniel Imms 337101b9b2 Increase integration test timeout for all platforms
Moving from 7 and 10 to 20 on all platforms as 10 can be exceeded on macOS (and
generally Windows is slower too)
2022-01-24 07:07:40 -08:00
Benjamin Pasero 0f89762b4b
Rename workbench.web.api.* to workbench.web.main.* (#141263)
* web - rename entry file

* web - rename entry file also for server

* rename main entry in copy
2022-01-24 12:45:49 +01:00
Joao Moreno 4ecbef411b
fixes #141067 2022-01-24 12:10:28 +01:00
Joao Moreno 1aa88f24a4
missing terrapin usage 2022-01-24 12:09:31 +01:00
Benjamin Pasero c9960f9cee
Cleanup package.json test scripts (#141210)
* tests - remove `yarn test`

* fix smoke test

* readme

* 💄

* ci - do not install playwright
2022-01-22 13:07:14 +01:00
Martin Aeschlimann 3640c1a425
move remote and web tests to scripts folder 2022-01-21 14:33:34 +01:00
Benjamin Pasero 0c6d1e9f7e
fix path to telemetry extractor @lramos15 2022-01-20 07:14:52 +01:00
Logan Ramos 8b1dfc2b9e
vscode-telemetry-extractor -> @vscode/telemetry-extractor 2022-01-19 13:48:12 -05:00
Benjamin Pasero 0b46b25c29
tests - disable Firefox on macOS again 2022-01-19 19:34:12 +01:00
Benjamin Pasero 8c86ae971e
publish node modules (#140966)
* publish node modules

* enable
2022-01-19 12:53:09 +01:00
Joao Moreno dbde3101cb
more bump 2022-01-18 11:05:50 +01:00
Joao Moreno 37ae63bd5e
bump timeout 2022-01-18 11:01:17 +01:00
Joao Moreno 0db0a0d31c
add mixin --server 2022-01-17 08:15:45 +01:00
Tyler Leonhardt 0f8ae22ade
up timeout to give time to build 2022-01-13 11:45:14 -08:00
Benjamin Pasero 90ab95c46f
tests - increase timeout for sequential test runs 2022-01-11 11:48:55 +01:00
Benjamin Pasero af5de88a44
tests - add --sequential option and use in CI runs 2022-01-11 10:48:20 +01:00
Benjamin Pasero baf7c08411
tests - enable firefox testing again with debugging
https://github.com/microsoft/playwright/issues/11130#issuecomment-1008779735
2022-01-10 14:50:39 +01:00
João Moreno 44452718b8
Web: publish web files.txt (#140163)
* build: publish web files.txt

* fix cdn
2022-01-05 09:31:08 -08:00
SteVen Batten c0c135f120
update ob pipeline 2022-01-04 14:40:30 -08:00
Benjamin Pasero 4d4c4acd5f
unit tests - disable firefox on macOS
Refs: https://github.com/microsoft/playwright/issues/11130
2021-12-30 11:33:57 +01:00
Benjamin Pasero ea66836050
smoke - drop duplicate compile task for smoke tests (#139582) 2021-12-21 16:33:51 +01:00
Ladislau Szomoru a186ab5b51
Add checkout step 2021-12-21 10:30:59 +01:00
Ladislau Szomoru 0b2bdcbfb1
Disable pipeline triggers 2021-12-21 10:25:03 +01:00
Ladislau Szomoru e200e9a4e0
Change job name 2021-12-21 10:23:46 +01:00
Ladislau Szomoru 7f81f4cc45
Add OneBranch pipeline 2021-12-21 10:08:51 +01:00
Rob Lourens 3e11f32956 Run browser smoke tests first because we can get playwright traces for them 2021-12-15 14:27:40 -08:00
Joao Moreno 17c93e8564
increase build timeout on windows 2021-12-15 10:48:06 +01:00
Joao Moreno 39f1f7bd41
remove bogus build steps, added retries to yarn install in new places
fixes #138983
2021-12-13 14:25:12 +01:00
Joao Moreno 0d9f75df79
remove bogus build step 2021-12-13 14:25:12 +01:00
Benjamin Pasero 27e38a8e27
smoke - always create screenshot on failure on desktop 2021-12-09 09:51:55 +01:00
Benjamin Pasero 52eaad0761
ci - add name of browser to web tests 2021-12-08 10:17:19 +01:00
Benjamin Pasero fbad065eea
Playwright: record a trace per failing test, not suite (#138600)
* smoke - record traces per test and not entire suite

* smoke - only persist failing tests

* smoke - cleanup

* smoke - more logging

* smoke - push a test failure to proof the point

* smoke - switch back to chrome for smoke tests

* smoke - warn when exit takes 10s

* Revert "smoke - push a test failure to proof the point"

This reverts commit e572a0c40d.
2021-12-08 10:09:30 +01:00
Tyler James Leonhardt f8455fc38e
update to windows latest in azure pipelines (#137691)
* update to windows latest

* use ExtractFile task instead of tar directly
2021-12-07 11:58:07 -08:00
Benjamin Pasero 7aaa0aefd9
smoke - always print tasks 2021-11-29 13:40:27 +01:00
Benjamin Pasero 687521092d
smoke - print running tasks after smoke test run 2021-11-29 10:12:42 +01:00
deepak1556 d18d093403 ci: remove xcode switch step
Refs 480888c7ce
2021-11-26 15:19:42 +09:00
deepak1556 480888c7ce ci: unset SDKROOT
macOS 11 is the default agent that has the correct headers
by default to build for arm target. The hack was needed when
the agent was still Catalina and the arm headers were not
available by default.
2021-11-26 13:19:47 +09:00
Benjamin Pasero 754190f326
Run unit tests against node.js too (#137790)
* tests - run unit tests also against node.js

* fixes

* fail if major node.js version mismatch

* -tfs is unsupported

* Add `@ts-check` and remove `jsdom`

* tests - process.env layer breaker

* Improve loader config

* skip one test

* address todos

* try to force color output

* Use a file: URI as baseUrl

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2021-11-24 13:45:17 +01:00
João Moreno 37f68b4803
Revert "builds: disable caching"
This reverts commit 2ec3bfc440.
2021-11-24 13:04:43 +01:00
Benjamin Pasero 23d5cb019d
💄 CI names 2021-11-23 15:50:13 +01:00
João Moreno 6f2ad1994c
More RBAC usage (#137579)
* ci: 👷 remove secret references

* inline web storage account

* remove unused reference

* inline storage accounts

* formatting

* formatting

* drop ticino-storage-key, web-storage-key

* remove leftovers

* fix build

* fix build

* catch errors on all upload* scripts

* bump gulp-azure-storage
2021-11-20 09:01:39 -08:00
João Moreno a71275a72f
increase smoke test limits 2021-11-19 16:55:07 +01:00
João Moreno e53aa2a0dc
fix snap 2021-11-19 16:53:55 +01:00
João Moreno 2ec3bfc440
builds: disable caching 2021-11-19 15:07:35 +01:00
João Moreno f5be473ddf
fix snap build 2021-11-19 13:43:38 +01:00
João Moreno 780cf1c4e4
fix snap build 2021-11-19 10:45:19 +01:00
deepak1556 d495934fe4 fix: loading unsigned native modules from Ext host
Fixes https://github.com/microsoft/vscode/issues/137312
2021-11-19 15:06:35 +09:00
João Moreno 6ac63ccffb
Use RBAC for builds (#137473)
* build: 👷 adopt latest azure storage account

* build: 💄

* missing compilation

* iterate faster

* try using AzureCliCredential

* fix indentation

* arg

* fix build

* use MSI for storage

* fix dependency

* argh

* debug

* fix!

* bring back

* argh

* use RBAC for cosmos

* empty
2021-11-18 12:37:23 -08:00
João Moreno acfb946ec1
ci: 👷 no need for yarninstaller task 2021-11-18 15:57:11 +01:00
Johannes Rieken da967b591e
add generated file api proposal names, add compile script that generates this file 2021-11-10 11:54:24 +01:00
Johannes Rieken d90dd1355b
Merge branch 'main' into joh/vscode-dts 2021-11-10 08:40:26 +01:00
Benjamin Pasero bef4dba21f
Parcel update and CI improvements (#136830)
* 🆙 product

* 🆙 parcel/watcher

* 🆙 parcel/watcher

* tests - separate remote logs from others

* store server logs too

* more tweaks

* fix name

* error when 10s passed
2021-11-10 08:13:56 +01:00
Johannes Rieken 9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Tyler James Leonhardt 74f5177f75 update slack channel 2021-11-04 13:14:01 -07:00
Tyler James Leonhardt 0cc0f5f234 try to fix publish types 2021-11-04 13:13:14 -07:00
Benjamin Pasero f9e8dc2095
🆙 playwright 2021-11-04 09:27:22 +01:00
João Moreno 97018d742e
fix windows build 2021-10-21 10:54:04 +02:00
João Moreno 41f79ee0e9
fix distro build vmImage 2021-10-19 13:59:03 +02:00
deepak1556 fb4d7cfb62 ci: update sdl-scan exports 2021-10-15 21:54:53 +09:00
deepak1556 fbbb4d7515 chore: remove redundant build_from_source env
Follow-up d0f1a89682
2021-10-15 21:53:06 +09:00
João Moreno 6e0f56f0a9
build schedule 2021-10-13 20:58:18 +02:00
João Moreno 01a10db550
remove cron 2021-10-13 11:43:10 +02:00
João Moreno 7fcd5bb094
fix 2021-10-12 17:57:59 +02:00
João Moreno 8b1f10af35
more web changes 2021-10-12 17:55:24 +02:00
Benjamin Pasero 284e0db6c4 fix build 2021-10-12 07:29:11 +02:00
Benjamin Pasero 85c5eb7281 Enable parcel-watcher as new default watcher (#132483) 2021-10-11 11:17:05 +02:00