Commit Graph

5928 Commits

Author SHA1 Message Date
Matt Bierner
052d769933 Small cleanup 2025-10-13 08:16:58 -07:00
Matt Bierner
cc51a6897a Fix lint error 2025-10-12 23:54:53 -07:00
Matt Bierner
6c42761e58 Copy out marked and dompurify too 2025-10-12 23:46:42 -07:00
Matt Bierner
51d83e06c3 Fix compile 2025-10-12 22:21:14 -07:00
Matt Bierner
1eee7ae230 Switch monaco to off of moduleResolution: classic
Fixes #270408

Trying to move some of the monaco related checks/tconfigs off of `moduleResolution: classic`. This legacy config is causing a lot of pain while trying to update the trusted-types typings, which is itself blocking picking up the latest dompurify

I initially tried a more scoped change but just could not get it working. So instead I ended up trying to rework our `LanguageServiceHost` to be more standard
2025-10-10 16:02:03 -07:00
Matt Bierner
e656b3edce Merge pull request #270412 from mjbvz/dev/mjbvz/pregnant-gibbon
Re-use `TypeScriptLanguageServiceHost` for monaco and treeshaker build steps
2025-10-09 08:24:13 -07:00
Robo
6e16d95fd4 chore: retry entitlement signing failure (#270324) 2025-10-09 10:06:47 +02:00
Matt Bierner
77ed219366 Convert some any -> unknown in build scripts 2025-10-08 10:22:21 -07:00
Matt Bierner
383842fe0d Re-use TypeScriptLanguageServiceHostfor monaco and treeshaker build steps
For #270408

There are currently duplicated `LanguageServiceHost` definitions in our build folder. As far as I can tell they are the same except for the default lib name

As part of #270408 I'll have to touch the service hosts and having a single definition will make this easier
2025-10-08 10:12:47 -07:00
João Moreno
f4c2700d45 cleanup any casts (#270371)
related to #269213
cc @mjbvz @jrieken
2025-10-08 14:05:31 +00:00
Matt Bierner
68fb92d6e0 Use real maps for monaco-api/treeshaking
Working on understanding this code and trying to modernize it a little
2025-10-07 16:56:14 -07:00
Rob Lourens
f16892aa45 Fix quick chat (#270280)
Fix quick chat (#270097)

Fix #270087
2025-10-07 23:11:48 +00:00
Matt Bierner
d64b163281 Merge branch 'main' into dev/mjbvz/pale-tick 2025-10-07 09:25:02 -07:00
Johannes Rieken
aabd4ec6a7 no more any-casts in propertyInitOrderChecker, https://github.com/microsoft/vscode/issues/269213 (#270198) 2025-10-07 10:42:38 -04:00
Johannes Rieken
626370b3f7 no more any-casts in tsb land, https://github.com/microsoft/vscode/issues/269213 (#270192) 2025-10-07 15:07:24 +02:00
Matt Bierner
b3a6e6ea16 Merge branch 'main' into dev/mjbvz/pale-tick 2025-10-06 22:14:10 -07:00
Matt Bierner
b0f6eb2835 Pick up more editor compile settings from tsconfig.monaco
Right now for editor builds,  we have the `target` defined in `tsconfig.monaco` and overrides in `standalone.js`. This second one is really easy to miss

I think all of target/environment settings should be taking from the normal `tsconfig.monaco.json` instead
2025-10-06 17:38:43 -07:00
Robo
fd10f9c207 chore: reduce any usage in build/ (#270109) 2025-10-06 22:56:36 +00:00
Ladislau Szomoru
53bbb5267e Engineering - add missing check for macOS CLI job (#269996) 2025-10-06 12:47:04 +02:00
Ladislau Szomoru
f72b6326b1 Engineering - use correct template for macOS CI job (#269993) 2025-10-06 10:09:19 +00:00
Ladislau Szomoru
4b8bd3cb6f Engineering - refactor product pipeline (#269979) 2025-10-06 11:12:40 +02:00
Benjamin Pasero
daf6052959 lint - report layer issues in CSS (#269671) 2025-10-03 10:50:20 +00:00
Matt Bierner
598304ba4d Merge pull request #269665 from mjbvz/dev/mjbvz/delicious-sloth
Add lint rule for `as any` and bulk ignore all existing breaks
2025-10-03 01:31:51 -07:00
Matt Bierner
1174f9b951 Compile build scripts too 2025-10-02 23:46:45 -07:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Matt Bierner
4d2aa9d1f0 Log total error count in eslint failure message 2025-10-02 22:59:19 -07:00
Matt Bierner
14ffffb14d Run test-documentation 2025-10-02 15:31:13 -07:00
Robo
484fdf69b8 chore: bump electron@37.6.0 (#269279)
* Revert "Fix: Disable window shadows on macOS Tahoe to prevent GPU performance issues (#267724)"

This reverts commit e278d3a668.

* chore: bump electron@37.6.0

* chore: update build
2025-10-02 06:54:36 +00:00
Henning Dieterichs
8b01ac01a7 Fixes https://github.com/microsoft/vscode-internalbacklog/issues/5894 2025-10-01 13:29:55 +02:00
Johannes Rieken
3f527562bb Fix cyclic dependency reporting in chat module (#269095)
* fix cyclic dependency in chat land

* make sure cyclic dependencies are correctly reported when running  complie-client task
2025-09-30 15:09:13 +00:00
dependabot[bot]
2f7c92d9b1 Bump tar-fs from 2.1.3 to 2.1.4 in /build (#268945)
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.3 to 2.1.4.
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.3...v2.1.4)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2025-09-29 23:51:27 +00:00
Robo
48a6c949aa chore: bump electron@37.5.1 (#268885)
* chore: bump electron@37.5.1

* chore: bump distro
2025-09-29 16:57:17 +00:00
Ladislau Szomoru
12600f42c1 Engineering - set isProduction for artifacts (#268870) 2025-09-29 14:27:51 +00:00
Ladislau Szomoru
7833e078b6 Engineering - remove task that is not needed (#268847) 2025-09-29 12:17:09 +00:00
Ladislau Szomoru
034e8a4bf4 Engineering - add node_modules stage to keep node_modules cache warm (#268839)
* Engineering - scaffold Windows jobs to maintain node_modules cache

* Add agent pool

* No need to extract node_modules

* Delete commented out code

* Add Linux jobs

* Add macOS job

* Add missing condition

* Add Web job

* Remove steps to download compilation output

* Fix condition for the node_modules stage

* Remove parameter

* Add Alpine jobs

* Remove the check to test the stage

* Switch macOS job to x64

* Restore the check for the node_modules stage

* Remove extraction
2025-09-29 13:55:31 +02:00
Ladislau Szomoru
8c58788416 Engineering - refactor Linux stage (#268828)
* Engineering - refactor Linux stage

* Declare outputs in the template context

* Add outputParentDirectory

* Tweak ouput directory

* More artifacts

* deb and rpm packages

* Fixing path

* Another attempt to fix the path

* Add back the rpm gulp task

* Enable snap package

* Add template for ci jobs

* Test ci jobs

* Add default values for parameters

* Restore the correct check
2025-09-29 12:43:54 +02:00
João Moreno
7f11139294 ensure valid auth tokens in releaseBuild.ts (#268318)
* ensure valid auth tokens in releaseBuild.ts

* compilation

* damn it
2025-09-29 09:15:08 +02:00
Raymond Zhao
832e651329 chore: suppress CredScan false positives for Debian builds (#268357) 2025-09-25 16:57:21 +00:00
Ladislau Szomoru
a4838b9ffd Engineering - update rust toolchain (#268270) 2025-09-25 08:07:20 -07:00
Ladislau Szomoru
0001d53ae5 Engineering - use Terrapin for CI builds (#268295) 2025-09-25 13:03:59 +02:00
Ladislau Szomoru
3dbf54100c Engineering - cleanup Windows CLI jobs (#268267)
* Engineering - move Windows CLI jobs into the template

* Rename files

* Declare output in the template context

* Refactor job template

* Move files around

* Move files around

* Fix path

* Another try

* Revert "Another try"

This reverts commit ac1f1ad2df.

* Some more paths to fix
2025-09-24 22:50:36 -07:00
Raymond Zhao
71a4ebf1c3 chore: suppress dummy credential in yaml.test.ts (#268208) 2025-09-24 18:05:35 +00:00
Raymond Zhao
3eb3a2f4ea chore: remove gdnsuppress (#268196) 2025-09-24 17:30:39 +00:00
Ladislau Szomoru
4e16556bcf Engineering - cleanup pipeline file name (#268173) 2025-09-24 16:23:39 +02:00
Ladislau Szomoru
d89b89ea9e Engineering - fix Windows stage (#268171) 2025-09-24 14:01:10 +00:00
João Moreno
d5b7cbacce fix alpine builds (#268164)
* fix alpine builds

make sure npmrc file is available in docker env

* bust cache

* Revert "bust cache"

This reverts commit 341112e426.
2025-09-24 13:58:54 +00:00
Ladislau Szomoru
f45dabea55 Engineering - move jobs into templates (#268167)
* Engineering - move compilation job into template

* Move Windows jobs into a template

* Fix typo

* Tweak job display name
2025-09-24 15:37:55 +02:00
Ladislau Szomoru
f873c6e2b8 Engineering - extract Windows ci jobs in a template (#268131)
* Engineering - extract windows ci job into a template

* Fix condition

* Adopt new job template
2025-09-24 12:19:15 +02:00
João Moreno
5a1b2a7929 use correct nodejs version, even in musl environments (#268116) 2025-09-24 09:11:29 +00:00
Ladislau Szomoru
4298c058c7 Engineering - move Windows CLI job into the template (#268110) 2025-09-24 07:47:37 +00:00