Commit Graph

6364 Commits

Author SHA1 Message Date
Dmitriy Vasyura
c95cc7ae08 Fix Guardian errors in sanity tests stage (#298662) 2026-03-02 09:07:48 +00:00
João Moreno
d2a693d828 fix missing sourcemaps (#298660) 2026-03-02 08:54:03 +00:00
dependabot[bot]
fd63d2a386 Bump minimatch in /build (#298315)
Bumps  and [minimatch](https://github.com/isaacs/minimatch). These dependencies needed to be updated together.

Updates `minimatch` from 10.1.1 to 10.2.4
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.1.1...v10.2.4)

Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.1.1...v10.2.4)

Updates `minimatch` from 9.0.5 to 9.0.9
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.1.1...v10.2.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 9.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 09:38:15 +01:00
dependabot[bot]
a432b6a01d Bump minimatch from 9.0.5 to 9.0.9 in /build/npm/gyp (#298336)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 9.0.5 to 9.0.9.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v9.0.5...v9.0.9)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 9.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 09:29:01 +01:00
Henning Dieterichs
f85c0b3c83 improves npm caching (#298608) 2026-03-01 18:35:08 -08:00
Ladislau Szomoru
215f6b4dd5 Engineering - move node_modules and APIScan stages to the bottom (#298562) 2026-03-01 17:39:05 +01:00
Ladislau Szomoru
12bb8a5b96 Engineering - delete macOS test pipeline (#298539) 2026-03-01 09:29:52 +01:00
João Moreno
d2f1f7ce97 Inline Compile & CompileCLI stages into platform specific jobs (#296006)
* chore: ralph loop checkpoint - 2026-02-17 12:48

* fix shell script

* Inline compile stage into platform jobs

Remove the standalone Compile stage from the ADO pipeline. Each
platform job (Windows, Linux, macOS, Alpine, Web) now compiles
TypeScript itself instead of downloading a shared Compilation artifact.

- Add VSCODE_RUN_CHECKS parameter to Linux jobs for hygiene/lint/CG
- Add VSCODE_RUN_COMPILE_EXTRAS parameter to macOS jobs for telemetry
  extraction and sourcemap upload
- Remove VSCODE_COMPILE_ONLY parameter entirely
- Delete product-compile.yml (no longer referenced)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Always run telemetry extraction on macOS builds

The macOS Universal app merge requires both x64 and arm64 builds to have
identical file sets. Telemetry extraction was only running on arm64 (via
VSCODE_RUN_COMPILE_EXTRAS), causing the universal merge to fail due to
missing telemetry-core.json and telemetry-extensions.json in the x64 build.

Move telemetry extraction outside the VSCODE_RUN_COMPILE_EXTRAS gate so
it runs on all macOS builds. Sourcemap upload remains gated.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Run telemetry extraction on all client builds

All client builds (Linux, Windows, macOS) need telemetry-core.json and
telemetry-extensions.json. Previously only macOS arm64 ran extract-telemetry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Only run telemetry extraction on Linux x64 (client build)

Linux arm64 and armhf are server-only builds, no need for telemetry files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Remove .ralph scaffolding files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix telemetry extraction on Windows with native PowerShell

The bash extract-telemetry.sh script fails on Windows because the Unix
bin shim gets interpreted as Node.js code. Use a native PowerShell
implementation that calls the extractor JS entry point directly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Handle missing telemetry files gracefully on Windows

The telemetry extractor may skip emitting declarations-resolved.json
when no events are found. Handle this case with a warning instead of
failing the build.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Use deterministic build date from git commit timestamp

When each platform compiles independently, the build date embedded in
cli.js (via INSERT_PRODUCT_CONFIGURATION) differs between machines
because each uses new Date().toISOString(). This causes the macOS
Universal app merge to fail since cli.js SHA differs between x64/arm64.

Fix: use the git commit date (git log -1 --format=%cI HEAD) instead
of the current wall-clock time. This ensures all independent builds
on different machines produce identical timestamps.

Updated in:
- build/lib/date.ts: writeISODate() uses git commit date
- build/next/index.ts: bundle(), transpile, and readISODate fallback
  all use git commit date

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Remove redundant extensions-ci task from CI pipelines

core-ci (esbuild path) already includes cleanExtensionsBuildTask,
compileNonNativeExtensionsBuildTask, and compileExtensionMediaBuildTask.
Running extensions-ci in parallel caused a race condition where
core-ci's rimraf of .build/extensions clashed with extensions-ci
writing to the same directory.

Also removes dead code:
- extensions-ci and extensions-ci-pr task definitions (fully subsumed)
- core-ci-old task (useEsbuildTranspile is always true)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* remove VSCODE_RUN_COMPILE_EXTRAS

* address PR feedback regarding code duplication of `getGitCommitDate()` function by exporting a single helper function from `build/lib/date.ts` and importing it in `build/next/index.ts` to ensure consistent behavior and improve code maintainability.

* update readISODate function to return git commit date instead of current date

* add telemetry sorting script and integrate into build process for consistent output

* refactor telemetry extraction process: replace shell script with TypeScript implementation

* update skill

* update telemetry-extractor dependency to version 1.19.0

* fix build

* fix more duplicate telemetry definition issues

* cleanup

* refactor: consolidate validation checks into quality checks and remove obsolete tasks

* bust the cache

* undo cache bust

* fix expression

* fix

* fix: update Azure storage account name in quality checks

* fix: initialize stages set with 'Quality'

* fix: add VSCODE_BUILD_TYPE parameter with options for Product and CI builds

* fix: update Azure Pipeline CLI to use parameters instead of variables for queueing builds

* fix: update VSCODE_BUILD_TYPE parameter values for clarity

* fix: update default value for VSCODE_BUILD_TYPE parameter to 'Product'

* leaner

* even leaner

* only npm ci in build

* 💄

* run entire npm ci

* fix

* fix

* fix it

* Inline CompileCLI into platform stages

- Remove centralized CompileCLI stage
- Move CLI jobs into Windows, Linux, macOS stages as independent jobs
- CLI jobs now compile, publish unsigned mid-job, sign, and publish signed
- Platform compile jobs use deemon + waitForArtifacts for async CLI download
- Delete separate CLI sign jobs (now merged into CLI compile jobs)
- Remove CompileCLI from publish.ts stage tracking

* fix: macOS CLI signing - use proper directory structure for ESRP

* fix: add BUILDS_API_URL to Windows and Linux job templates

* fix: label Linux CLI jobs clearly

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: João Moreno <22350+joaomoreno@users.noreply.github.com>
2026-03-01 08:48:08 +01:00
dependabot[bot]
e6bed073db Bump fast-xml-parser from 5.3.6 to 5.4.1 in /build (#298316)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.3.6 to 5.4.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.6...v5.4.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.4.1
  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: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-02-27 19:47:50 +00:00
Henning Dieterichs
5b7dafcb12 Add vscode-extras extension with npm up-to-date feature and related configurations (#298295) 2026-02-27 17:16:26 +00:00
Dmitriy Vasyura
a0a6cd83e2 Improve sanity tests stability (#298253) 2026-02-27 16:06:37 +00:00
Robo
55dbb7dd84 chore: revert to electron@39.6.0 (#298230)
* chore: revert to electron@39.6.0

* chore: bump distro
2026-02-27 05:06:30 -08:00
dependabot[bot]
e35ef9ba2b Bump rollup from 4.57.1 to 4.59.0 in /build/vite (#297821)
Bumps [rollup](https://github.com/rollup/rollup) from 4.57.1 to 4.59.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.57.1...v4.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 4.59.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-26 15:49:33 -08:00
Henning Dieterichs
0a01b4f5ae Fixes vite warnings & improves pipeline 2026-02-26 21:03:52 +01:00
Henning Dieterichs
96baba2cc4 feat: update component explorer dependencies and add new test fixtures
- Updated @vscode/component-explorer to version 0.1.1-16 and @vscode/component-explorer-cli to version 0.1.1-12 in package.json and package-lock.json.
- Added new test fixtures for chat question carousel, code action list, find widget, inline completions extras, rename widget, and suggest widget.
- Implemented rendering logic for new fixtures to enhance testing capabilities for various components.
2026-02-26 15:30:23 +01:00
Benjamin Christopher Simmonds
46664389f9 Merge pull request #297813 from microsoft/benibenj/spiritual-xerinae
Update button colors and animation for download progress
2026-02-26 03:22:09 +01:00
Robo
192a1b2478 chore: sessions entry app for windows (#297589)
* chore: enable sub app entrypoint on windows

* chore: update window icons

* chore: update gulp-electron

* chore: bump inno_updater

* chore: cleanup

* fix: inno compilation for stable

* chore: bump distro

* chore: bump distro
2026-02-25 23:08:43 +00:00
BeniBenj
561772d217 update animation and background color 2026-02-25 23:49:48 +01:00
Kyle Cutler
bc3b68862d Apply policy to browser tools setting (#297591)
* Apply policy to browser tools setting

* update policy jsonc
2026-02-25 09:34:50 -08:00
Benjamin Christopher Simmonds
88a997f17f Merge pull request #297702 from microsoft/benibenj/copilot-worktree-2026-02-25T10-53-14
Add agent feedback input widget with submission functionality
2026-02-25 16:42:15 +01:00
BeniBenj
1327aed903 feat: implement agent feedback submission with updated widget border and service integration 2026-02-25 13:33:21 +01:00
João Moreno
6be9f0fb0f fixes #297620 (#297648) 2026-02-25 12:12:28 +01:00
Dmitriy Vasyura
0f81f59968 Add Sanity Tests stage to product build pipeline (#296668) 2026-02-24 11:29:11 +01:00
Dmitriy Vasyura
d0f203e76f Add Win32 metadata all executable binaries (#296710) 2026-02-24 09:29:02 +01:00
Henning Dieterichs
a550ce559d updates component explorer 2026-02-23 22:44:44 +01:00
Johannes Rieken
9c2922a85d feat: enhance source map handling in NLS and private field conversion (#296957)
* feat: enhance source map handling in NLS and private field conversion

- Implemented inline source maps in the NLS plugin to ensure accurate mapping from transformed source back to original.
- Modified `transformToPlaceholders` to return edits for source map adjustments.
- Added `adjustSourceMap` function to update source maps based on text edits in `convertPrivateFields`.
- Introduced tests for source map accuracy in both NLS and private field conversion scenarios.
- Updated documentation to reflect changes in source map handling and the rationale behind accepting column imprecision.

* address PR review: fix source name collision, guard unmapped segments, reorder mangle before NLS
2026-02-23 12:09:29 +00:00
Henning Dieterichs
155c18ecfc updates component explorer (#296938)
* updates component explorer

* updates package.json

* fix screenshot CI: install build/ dependencies for jsonc-parser

* sets relative base

* updates lockfile
2026-02-23 11:44:35 +01:00
Dmitriy Vasyura
ee401a1256 Sanity tests perf improvements (#296248) 2026-02-22 16:55:53 +00:00
Benjamin Pasero
303416bcfa debt - check in stale lock file for packages (#296797) 2026-02-21 23:24:03 -08:00
Henning Dieterichs
54abd997bc fixes lockfile 2026-02-20 19:57:07 +01:00
Henning Dieterichs
2751fb4d2f adds component explorer 2026-02-20 19:57:07 +01:00
Benjamin Pasero
7f4996ff84 sessions - separate protocol handler (#296514) 2026-02-20 14:15:06 +00: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
1c83735758 Update package.lock 2026-02-20 08:06:04 +01:00
Dirk Baeumer
743d8d5da7 Revert dmg-builder back to 26.5.0 2026-02-20 08:03:13 +01:00
Raymond Zhao
28f636e2b6 chore: adjust Windows BinSkim filter (#296394) 2026-02-19 15:31:55 -08:00
Megan Rogge
345315625d update yolo mode description to include autoReply link (#296097) 2026-02-19 18:26:57 +00:00
Benjamin Christopher Simmonds
5f8d2e4005 Merge pull request #296304 from microsoft/benibenj/biological-reindeer
Fix session handling and allow additional characters
2026-02-19 17:12:02 +01:00
BeniBenj
f5688a3c75 we now allow this caracter 2026-02-19 16:48:53 +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
Matt Bierner
5a566c256d Merge pull request #295104 from microsoft/dev/mjbvz/esbuild-css
Use esbuild instead of webpack to bundle the css extension
2026-02-18 10:51:19 -08:00
Johannes Rieken
10d738ca3c Add cyclic dependency check script and tests (#296035)
* eng: add cyclic dependency check script and update workflow

* refactor: export classes and functions in checkCyclicDependencies for better accessibility; add comprehensive tests for cycle detection and file processing

* Update build/lib/checkCyclicDependencies.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-18 10:16:25 -08:00
dependabot[bot]
5101ad84a6 Bump fast-xml-parser and @azure/core-xml in /build (#295914)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and [@azure/core-xml](https://github.com/Azure/azure-sdk-for-js). These dependencies needed to be updated together.

Updates `fast-xml-parser` from 4.5.0 to 5.3.6
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.5.0...v5.3.6)

Updates `@azure/core-xml` from 1.4.4 to 1.5.0
- [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/core-xml_1.4.4...@azure/core-xml_1.5.0)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.3.6
  dependency-type: indirect
- dependency-name: "@azure/core-xml"
  dependency-version: 1.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-18 09:05:33 -08:00
dependabot[bot]
9a403498a8 Bump tar from 7.5.7 to 7.5.9 in /build/npm/gyp (#295930)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 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/v7.5.7...v7.5.9)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-18 09:05:28 -08:00
Alex Ross
9ae007d1bb Prevent static contribution API file from getting line ending changes (#295962) 2026-02-18 10:53:11 +01:00
Matt Bierner
08534fdc69 Merge pull request #295812 from microsoft/dev/mjbvz/fix-295527
Try to align `scanBuiltinExtensions` with new esbuild changes
2026-02-17 15:55:03 -08:00
Alex Ross
d692656d9d Fix tsgo ext build problem matching (#295603)
* Fix tsgo ext build problem matching

* Update .vscode/tasks.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix double timestamp

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-17 14:50:48 -08:00
Matt Bierner
bf3b738a9f Try to align scanBuiltinExtensions with new esbuild changes 2026-02-17 10:01:30 -08:00
dependabot[bot]
2001cfd88a Bump qs from 6.14.1 to 6.14.2 in /build (#295279)
Bumps [qs](https://github.com/ljharb/qs) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-17 17:57:23 +01:00
Alex Ross
7ff89864d6 Add list scroll right offset variable (#295741) 2026-02-17 16:23:22 +01:00