Commit Graph

526 Commits

Author SHA1 Message Date
Peng Lyu
eeca8c6a90 use large runners 2025-09-19 08:19:11 -07:00
Peng Lyu
67ed568d37 ubuntu-latest-4-cores 2025-09-17 21:19:54 -07:00
Peng Lyu
d0fd753cdc Merge remote-tracking branch 'origin/main' into rebornix/minimum-newt 2025-09-17 09:43:29 -07:00
Peng Lyu
9aba23589d maybe macos 2025-09-17 09:31:07 -07:00
Alexandru Dima
aead51d8a2 Define GitHub Copilot coding agent environment (#267117) 2025-09-17 01:35:53 +02:00
Peng Lyu
c34285217c experiment ubuntu-4-core 2025-09-16 10:07:31 -07:00
Peng Lyu
f39ac34be8 Update .github/workflows/copilot-setup-steps.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-15 22:30:14 -07:00
Peng Lyu
1541d753b8 Improve copilot coding agent setup 2025-09-15 22:28:45 -07:00
dependabot[bot]
62dbaa0e77 Bump actions/setup-node from 4 to 5 (#265655)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Logan Ramos <lramos15@gmail.com>
2025-09-08 17:17:09 +00:00
João Moreno
8d7e69612d revert back to official nodejs mirror (#265692)
maybe the issue is gone by now 🤞:
- https://github.com/microsoft/azure-pipelines-tasks/issues/18280
- https://github.com/nodejs/nodejs.org/issues/4495
2025-09-08 17:14:10 +00:00
Robo
9d7c34c96a chore: update electron@37.3.1 (#263552)
* chore: update electron@37.3.1 (#262877)

* chore: update electron@37.3.1

* chore: remove workaround for npm scripts argument parsing

Refs f99aa748c0

* chore: update node.js@22.18.0

* temp: bump distro

* chore: bump distro
2025-08-27 13:08:07 +00:00
dependabot[bot]
5cd72cdafe Bump actions/checkout from 4 to 5 (#263345)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-27 08:02:07 +00:00
Raymond Zhao
80c270d20f Revert "chore: update electron@37.3.1" (#263488)
Revert "chore: update electron@37.3.1 (#262877)"

This reverts commit ad0b5d23c1.
2025-08-26 23:04:57 +00:00
Robo
ad0b5d23c1 chore: update electron@37.3.1 (#262877)
* chore: update electron@37.3.1

* chore: remove workaround for npm scripts argument parsing

Refs f99aa748c0

* chore: update node.js@22.18.0

* chore: bump distro
2025-08-26 15:40:21 +02:00
Ladislau Szomoru
8a9f44d3ab Engineering - fix node modules cache action (#262282) 2025-08-19 11:26:23 +02:00
Robo
10575e19aa (partial revert) ci: remove install build dependencies step on linux (#257064) 2025-07-21 11:25:26 +00:00
Robo
b37c013d08 ci: remove install build dependencies step on linux (#257050) 2025-07-21 09:38:54 +00: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
Ladislau Szomoru
b5d2dfbd11 Engineering - more github action cleanup (#255987) 2025-07-15 12:03:59 +02:00
Ladislau Szomoru
f6545f394c Engineering - fix built-in extension cache population (#255963) 2025-07-15 10:57:33 +02:00
Alexandru Dima
c068082c35 Build tweaks (#255857)
* Revert "remove unnecessary build step (#255764)"

This reverts commit 50bf321791.

* Add `enableCrossOsArchive: true`
2025-07-14 20:08:36 +02:00
João Moreno
50bf321791 remove unnecessary build step (#255764) 2025-07-14 16:24:59 +02:00
João Moreno
398b4a9be6 build: restoring built-in extensions on windows should reuse other OSs caches (#255761) 2025-07-14 15:05:12 +02:00
Ladislau Szomoru
d8367188a0 Engineering - use different token for topic branches (#254714)
Engineering - use different token from topic branches
2025-07-08 19:43:08 +00:00
Ladislau Szomoru
716794e638 Engineering - more descriptive cache names (#254496)
Engineering - mode descriptive cache names
2025-07-07 18:23:11 +00:00
Ladislau Szomoru
aa65bacd06 Engineering - use GITHUB_TOKEN in the "Compile & Hygiene" task (#254395) 2025-07-07 10:27:15 +02:00
Ladislau Szomoru
698b638444 Engineering - Add VSCODE_QUALITY global variable (#254290)
Add VSCODE_QUALITY global variable
2025-07-06 12:34:00 +02:00
Ladislau Szomoru
f52e13bc6b Engineering - pull request actions should read from the cache (#254154) 2025-07-04 21:12:56 +02:00
Ladislau Szomoru
2380d75ac8 Engineering - add job the maintain the node_modules cache for the Compile stage and builtin extensions cache (#254126)
* Engineering - add job the maintain the node_modules cache for the Compile stage and builtin extensions cache

* Fix typo
2025-07-04 16:17:51 +02:00
Ladislau Szomoru
69005e1002 Engineering - improve node_modules cache action (#254076) 2025-07-04 13:16:38 +02:00
Ladislau Szomoru
74f72e008d Engineering - add GitHub action to maintain node_modules cache (#254069) 2025-07-04 09:27:58 +00:00
Ladislau Szomoru
93858ca360 Engineering - cancel PR build when a new commit is pushed (#254064) 2025-07-04 09:05:45 +00:00
Ladislau Szomoru
4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Ladislau Szomoru
454208e113 Engineering - delete disabled GitHub actions (#252995) 2025-06-30 07:12:07 -07:00
Copilot
6ec82f00c8 Fix GitHub workflows to check file changes before user permissions (#250083)
* Initial plan for issue

* Fix workflow to check file changes before user permissions

Reorder workflow steps to first check if package-lock.json/Cargo.lock files
are modified, then only check user permissions if lockfiles were changed.
This prevents the workflow from failing when Copilot opens PRs that don't
modify lockfiles.

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Fix yarn.lock workflow to check file changes before user permissions

Apply the same fix to the yarn.lock workflow that was applied to the
package-lock workflow. This prevents failures when Copilot opens PRs
that don't modify yarn.lock files.

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Add explicit Copilot check to prevent lockfile modifications

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
2025-05-30 00:39:27 +00:00
Johannes Rieken
505092bbf7 Towards useDefineForClassFields (#248695)
* final init order fixes https://github.com/microsoft/vscode/issues/243049

* a few more fixed when compiling with `"useDefineForClassFields": true`

https://github.com/microsoft/vscode/issues/243049 and https://github.com/microsoft/vscode/issues/186726

* add a dry-check that ensures we can/could compile/emit with explicitly defined class fields

https://github.com/microsoft/vscode/issues/186726
2025-05-12 11:46:15 +02:00
Raymond Zhao
15807c660e chore: start locking down workflows (#248544) 2025-05-09 20:22:00 +02:00
Robo
b952f59bea ci: remove explicit dbus setup (#246114) 2025-04-09 17:29:50 +02:00
Alex Dima
91f0cb7b90 Add nls info to monaco-editor-core and remove left-over AMD tasks 2025-03-20 14:53:50 +01:00
Johannes Rieken
c04ac5a5df add property-init-order-check and run during CI (just like valid layers check) (#243042)
Enable ignore list which capture current violations and todo list
2025-03-10 10:22:18 +01:00
Joyce Er
4c9de9e97b fix: improve presentation of chat related file suggestions (#242354)
* fix: improve presentation of chat related file suggestions

* Pin extractor version

---------

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2025-02-28 22:01:57 +01:00
Robo
d0dfb42e34 ci: fix broken monaco editor action (#237347) 2025-01-06 16:33:12 +01:00
Raymond Zhao
344a292976 fix: CI workflow still uses Python 2 (#231352) 2024-10-15 00:55:32 +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
Martin Aeschlimann
f8e51fe82d integration tests: colorization test are run 6 times (#230380)
* integration tests: colorization test are run 6 times

* adding missing --
2024-10-03 12:34:14 +02:00
Benjamin Pasero
eed219db5f ESM: figure out the monaco-standalone ESM build story (fix #227192) (#227536) 2024-09-06 18:26:40 +02: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
Robo
85ca721d8f ci: temporarily prevent lock file changes for npm transition (#227570) 2024-09-05 10:05:51 +09: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
Bhavya U
160c2a11ad update telemetry.yml to use the default secrets.GITHUB_TOKEN (#224511) 2024-08-01 12:48:54 -07:00