Commit Graph

870 Commits

Author SHA1 Message Date
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
Johannes Rieken
ec4019f7b6 update milestones (#227698) 2024-09-05 18:45:16 +02:00
Benjamin Pasero
21135c81b5 esm - provide a bridge to AMD world (#227361) 2024-09-02 12:09:12 -07:00
Johannes Rieken
a82ad6e540 import helper supports fix on save (#227219) 2024-08-30 16:19:08 +02:00
Johannes Rieken
97ef3ff276 first cut of import helper extension (#227203) 2024-08-30 14:37:52 +02: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
Johannes Rieken
c124a5f744 use inlineChat.experimental.onlyZoneWidget as team setting (#225984) 2024-08-19 19:21:53 +02:00
Benjamin Pasero
0dea4804f4 esm - introduce VSCODE_BUILD_ESM variable (#225586) 2024-08-14 14:49:26 +02:00
Connor Peet
ef72141fd1 testing: finalize test message stack trace API (#225517)
Closes #214488
2024-08-13 13:56:29 -07:00
Alexandru Dima
d1dc00ab3a Remove workspace setting (#225407) 2024-08-12 16:49:38 +02:00
Matt Bierner
9afcef5dd1 Bump notebook milestones (#224980) 2024-08-07 08:39:54 -07:00
Johannes Rieken
7380dcb04a api todos and notebook date update (#225016) 2024-08-07 00:07:02 -07:00
Johannes Rieken
773fa66c2b Disable inlineChat.experimental.textButtons (#224852) 2024-08-05 08:10:44 -07:00
Raymond Zhao
52a190c91c chore: exclude more error telemetry issues (#223776) 2024-07-25 11:13:09 -07:00
Josh Spicer
6ef1071be5 add joshspicer to my-endgame exclusion list (#223527) 2024-07-24 10:48:46 -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
Henning Dieterichs
20d82dff62 Update endgame.github-issues (#222856)
June -> July
2024-07-22 11:48:46 +02:00
Megan Rogge
709c3d7569 rm unused property (#222226)
fix #214796
2024-07-19 15:49:30 -07:00
Connor Peet
172fc4de62 testing: finish implementation of call stack view (#221305) 2024-07-10 04:56:31 +02:00
Connor Peet
4e928f7a99 Merge pull request #221238 from microsoft/connor4312/stacktrace-support
testing: work on stack trace and adoption in selfhost test provider
2024-07-09 08:53:01 -07:00
Johannes Rieken
2330a1f587 update notebooks (#221239) 2024-07-09 09:11:32 +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
Johannes Rieken
ecf818849d add location specific data along when making chat request (#219114)
with this PR the implicit variables tricks aren't needed anymore
2024-06-28 16:27:08 +02:00
Benjamin Pasero
f6f90e0163 Implement NLS without AMD loader (#214588) 2024-06-28 11:55:48 +02:00
Eleanor Boyd
3106eec8ec add anthony to endgame notebook 2024-06-25 11:37:44 -07:00
Michael Lively
53e6a2324a Update endgame ghinb -> June Milestone (#217475)
update endgame ghinb
2024-06-24 22:19:27 +02:00
Michael Lively
05e6e67fd7 Update missing area label query for my-work.ghinb (#216846)
update missing area label query
2024-06-21 13:04:27 -07:00
Johannes Rieken
4bd8cce180 enable inlineChat.experimental.textButtons for the team (#216679) 2024-06-20 09:48:58 +02: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
Johannes Rieken
e8147f0dd3 update milestones (#215416) 2024-06-13 10:13:38 +02: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
Benjamin Pasero
2188b46e88 ts - enable use code watcher by default (#213450) 2024-05-25 12:48:33 +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
Matt Bierner
80e0aa45e0 Update notebook milestones (#212104) 2024-05-06 09:10:38 -07:00
Johannes Rieken
69cd704208 update GH notebooks (#212097) 2024-05-06 16:57:23 +02:00
Johannes Rieken
3982027f02 debt - remove old inline chat API (#211902) 2024-05-03 08:20:00 +02:00
Logan Ramos
3415990696 Add verification steps needed to endgame notebook (#211385) 2024-04-25 21:12:54 +02:00