Commit Graph

41 Commits

Author SHA1 Message Date
Henning Dieterichs
be9986cffd Fixes problem with code coverage on windows 2026-03-06 18:25:39 +01:00
Henning Dieterichs
bafa1dff7b removes dependency 2026-03-02 21:10:40 +01: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
Matt Bierner
8a4dba82fa Fix rootDir for workspace extensions 2026-02-04 10:08:29 -08:00
Robo
d0e516655a fix: rename product executable on macOS (#291948)
* fix: rename product executable name on macOS

* chore: update test/automation/src/electron.ts

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

* chore: update test/automation/src/electron.ts

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

* chore: rename in additional places

* chore: rename in code-perf.js

* chore: create symlink for backwards compatibility

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 14:50:21 -08:00
Alexandru Dima
cacd748219 Remove leftover usages of loader.js (#287084) 2026-01-12 10:47:01 +00:00
Henning Dieterichs
e67d7c991b Use package.json to detect if workspace is vscode workspace (#286714)
(see https://github.com/microsoft/vscode/issues/285255)
2026-01-09 08:29:19 -08:00
Benjamin Pasero
672c1c1d94 chat - tweak wording around chat and reduce use of copilot (#272839) 2025-10-23 11:40:49 +00:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Benjamin Pasero
3edf73df8a tests - drop more flags (#245357) 2025-04-02 11:33:09 -07:00
Henning Dieterichs
c0fb773eb9 Improves formatting of FailingDeepStrictEqualAssertFixer 2025-04-02 15:41:00 +02:00
Matt Bierner
8225b496b1 Updating @types/node
Needs some minor code changes too to support the new typings
2025-03-24 13:02:28 -07:00
Benjamin Pasero
419e6aa2f3 debt - remove missing documentPaste proposal (#241019) 2025-02-17 17:02:04 +01:00
Connor Peet
436f1e99c1 testing: finalize attributable test coverage API (#234686)
* testing: finalize attributable test coverage API

Closes #212196

* fixup
2024-11-26 18:53:38 +00:00
Sandeep Somavarapu
4b601b0fcf use workspace storage location instead of global storage location (#232596) 2024-10-30 07:00:32 -07:00
Connor Peet
976e68e620 eng: identify ternary expressions in selfhost runner (#227848)
Fixes #227222
2024-09-06 17:19:05 -07:00
Connor Peet
63729c8cbe eng: enable chromium browser debug in selfhost runner (#227814) 2024-09-06 18:34:49 +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
Connor Peet
ef72141fd1 testing: finalize test message stack trace API (#225517)
Closes #214488
2024-08-13 13:56:29 -07:00
Connor Peet
642700c7ef testing: implement related code (#222252)
* wip

* testing: implement related code

This implements a simple provider-based related code feature, and
adopts it in the selfhost test extension.

It's surfaced to users via automatic delegation in the "run tests at
cursor" command, which I feel like it very natural. I also add two
commands which reuse the `SymbolNavigationAction` to implement
go to/peek views using the references infrastructure. The upstream
change involved in this is the addition of the "go to" preference
for tests.

cc @jrieken @mjbvz

* bump distro for API enablement
2024-07-22 10:52:40 -07:00
Connor Peet
172fc4de62 testing: finish implementation of call stack view (#221305) 2024-07-10 04:56:31 +02:00
Connor Peet
d7df7e8645 testing: work on stack trace and adoption in selfhost test provider
Builds on #221225, only the last commit needs review.

Still a WIP, this sketches things out for proper implementation tomorrow.
2024-07-08 23:19:20 -07:00
Connor Peet
5acb82336f testing: update some feedback on followup items (#216559)
While I'm here,

Fixes https://github.com/microsoft/vscode-copilot/issues/6258
Fixes https://github.com/microsoft/vscode-copilot/issues/6259
2024-06-19 01:09:56 +02:00
Connor Peet
1aec898f11 testing: update attributable coverage api with call feedback (#216558) 2024-06-18 16:01:37 -07:00
Connor Peet
30cc181847 debug: finalize testRun in DebugSessionOptions (#216549)
debug finalize testRun in DebugSessionOptions

Closes #214486
2024-06-18 15:25:15 -07:00
Connor Peet
af867d774a testing: polish attributable coverage API, fix coverage reporting in selfhost (#215559) 2024-06-14 11:39:38 -07:00
Connor Peet
e2bf3453f5 debug: correlate debug sessions to testing, delegate restarts (#214537)
Implements #214486
2024-06-07 06:15:59 +02:00
Henning Dieterichs
ccb4db151d Fixes #213573 (#213574) 2024-05-27 17:28:51 +02:00
Connor Peet
6193553bfe testing: polish followups a little, selfhost with copilot 2024-05-22 13:08:51 -07:00
Connor Peet
e1dfc911ce testing: exploratory UI for followup actions
This adds an API that extensions can use to contribute 'followup'
actions around test messages. Here just a dummy hello world using
copilot, but extensions could have any action here, such as actions to
update snapshots if a test failed:

![](https://memes.peet.io/img/24-05-c1f3e073-a2da-4f16-a033-c8f7e5cd4864.png)

Implemented using a simple provider API.
2024-05-21 16:09:08 -07:00
Connor Peet
7828baaa8e eng: fix off-by-1 error in selfhost test error messages (#213081)
Fixes #212808
2024-05-20 19:26:43 +02:00
Connor Peet
929bec07f1 eng: make it selfhost failure log easier to access and more stable (#212626) 2024-05-13 11:35:03 -07: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
Connor Peet
5447d0db10 bug fixes and such, format 2024-05-09 11:38:45 -07:00
Connor Peet
41f6f5ad6e yea actually that doesn't work 2024-05-08 20:57:52 -07:00
Connor Peet
2aa1079dbb just use v8-to-istanbul 2024-05-08 15:42:43 -07:00
Connor Peet
afb251a694 wip 2024-05-08 15:01:23 -07:00
Connor Peet
26120e5bf4 testing: add temporary failure tracker to the selfhost test runner (#212134)
For /fixTestFailures, I want to get more 'real world' tests and test
fixes. This makes a change in the selfhost test provider such that when
a test fails and is then fixed, we record the code changes into a JSON
file in the `.build` directory. In a few days I'll follow up with team
members to collect their test failures and use them as evaluation tests
for copilot. The FailureTracker will be removed when I've gotten enough
data.
2024-05-07 00:54:33 +02:00
Connor Peet
ee0213f6fb eng: fix selfhost test explorer not always working (#211276)
Fixes #210878
2024-04-24 19:14:25 +02:00
Dirk Bäumer
13a88a8da4 Fixes #208581: ESLint and .vscode/extensions is tricky to configure (#210031) 2024-04-10 12:03:56 +02:00
Connor Peet
d42fad27b2 eng: move selfhost test provider as a workspace extension (#208699)
Testing #208184, closes #207756
2024-03-28 09:08:23 -07:00