Commit Graph
1784 Commits
Author SHA1 Message Date
Benjamin PaseroandGitHub 8cd6551cb8 smoke - drop option to use swiftshader (#245354) 2025-04-02 17:38:55 +02:00
Benjamin PaseroandGitHub 992c6150c3 smoke - try to kill earlier when its safe (#245347) 2025-04-02 16:51:10 +02:00
Benjamin PaseroandGitHub 10fc28b3b8 tests - enable verbose arg for extension installation tests (#245320) 2025-04-02 13:33:19 +02:00
Benjamin PaseroandGitHub 71c9069cd8 smoke - try to avoid tree-kill for terminating process (#245330)
On Linux, this will also attempt to kill the zygote process (which is a child of the main process). This causes all sorts of issues.

Also, our integration tests just kill the main process and not a tree of processes, so we can align here.
2025-04-02 12:52:35 +02:00
Benjamin PaseroandGitHub 4bf8005553 Revert "Revert "smoke - try to exit via close also for Electron"" (#245318) 2025-04-02 11:46:27 +02:00
Benjamin PaseroandGitHub 377d060721 Revert "smoke - try to exit via close also for Electron" (#245304) 2025-04-02 08:09:11 +02:00
Benjamin PaseroandGitHub ac27be2456 smoke - try to exit via close also for Electron (#245253) 2025-04-01 21:03:10 +02:00
Benjamin PaseroandGitHub c8d1124a06 smoke - kill electron app if unhealthy (#245226) 2025-04-01 17:58:36 +02:00
Benjamin PaseroandGitHub 7d2083ed1d tests - allow to run our tests in chrome or msedge (#244969) 2025-03-28 08:17:16 -07:00
Alex Dima c36caf1bf7 EditorSimpleWorker -> EditorWebWorker 2025-03-21 10:13:39 +01:00
Alex Dima 46035d0296 Split up the editor's worker and the editor worker helper scripts, remove AMD support 2025-03-20 18:37:55 +01:00
João MorenoandGitHub 6151dca574 remove watch module (#243208) 2025-03-11 16:21:23 +00:00
Daniel Imms d750544dc3 Fix shell integration smoke test flake
The problem was caused by zsh being out of date causing the shell
initialized check to not work properly as the prompt was delayed after
that.

Fixes #242739
2025-03-10 06:02:42 -07:00
469d54e912 call the generator function (#242912)
call the function

Co-authored-by: amunger <>
2025-03-07 10:54:22 -08:00
Aiday Marlen KyzyandGitHub fa548237be Adding acceptance condition to dispatchKeybinding in smoketests (#242570)
* adding code for smoke tests

* adding awaits

* changing wait code

* renaming dispatch to send

* moving comment

* update to send
2025-03-05 11:38:48 +01:00
Raymond ZhaoandGitHub 54b12e5ec8 Copy UUID impl (#231347) 2025-03-03 09:29:59 -08:00
João MorenoandGitHub ae43cc72b6 make unit tests faster (#241847) 2025-02-25 15:18:20 +01:00
Alex RossandGitHub cf46a56bd4 Disable changes "workbench.action.toggleSidebarPosition" command key binding and verifies it (#239820) 2025-02-06 09:18:24 -08:00
Oleg SolomkoandGitHub 1195e2cf77 fix the the the typos (#239646)
fix the `the the` -> `the` typos
2025-02-04 15:35:23 -08:00
Aiday Marlen KyzyandGitHub 060de16f9d Directly accepting editor selection when using text area edit context (#239211)
* allowing two offsets

* changing to true
2025-01-30 14:53:12 +00:00
Aiday Marlen KyzyandGitHub 4b2a52e942 Fixing smoketests, using different selection offsets depending on product quality (#239108)
fixing smoketests, using different selection offsets
2025-01-29 16:53:18 +01:00
Benjamin PaseroandGitHub 5e667f741b smoke tests - run with snapshots: true for tests that install extensions (#238855) 2025-01-27 17:30:59 +01:00
Johannes d96ee375ea fix tests 2025-01-24 08:46:16 +01:00
João MorenoandGitHub 6cd86f433d fix flakiness in extension smoke tests (#238537) 2025-01-23 10:23:39 +01:00
3ff1dceedf Enable edit context (#237497)
* Revert "Revert Enablement of EditContext on Insiders (#235062)"

This reverts commit 45385e1c6f.

* adding product import

* adding som code

* removing console logs

* make sure editor selection is observed after keybinding dispatches

Co-authored-with: Aiday Mar <amarlenkyzy@microsoft.com>

* removing empty lines

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2025-01-13 09:47:32 +01:00
Aiday Marlen KyzyandGitHub be5c64a3df Revert "Enable edit context" (#237468)
Revert "Enable edit context (#235386)"

This reverts commit 3958e26f65.
2025-01-08 11:43:30 +01:00
Aiday Marlen KyzyandGitHub 3958e26f65 Enable edit context (#235386)
* Revert "Revert Enablement of EditContext on Insiders (#235062)"

This reverts commit 45385e1c6f.

* adding product import
2025-01-07 10:00:03 +01:00
Johannes RiekenandGitHub 17f6bcb7d2 chore - modernise test runner (#235511)
async/wait, remove AMD/ESM split, cleanup
2024-12-06 18:53:29 +01:00
Aiday Marlen KyzyandGitHub 45385e1c6f Revert Enablement of EditContext on Insiders (#235062)
Revert "Reenabling EditContext by default on Insiders (#234888)"

This reverts commit a47f407e38.
2024-12-03 08:37:57 +01:00
Aiday Marlen KyzyandGitHub a47f407e38 Reenabling EditContext by default on Insiders (#234888)
Revert "Revert "Smoke test failure - changing selectors depending on app qual…"

This reverts commit b8d5339e04.
2024-11-29 11:49:50 +01:00
Johannes RiekenandGitHub 1994ebabef tweak inline chat hint (#234821)
* make editor readonly and disable squiggle while inline chat shows reply

https://github.com/microsoft/vscode/issues/226160

* tweak inline chat hint

only show on intented empty lines, hide when command run

* fix tests (only disable squiggle, not readonlyness)
2024-11-28 12:58:47 +01:00
Johannes RiekenandGitHub e45ebc6d59 fail tests when having unhandled errors (#234673) 2024-11-26 08:32:08 -08:00
Aiday Marlen KyzyandGitHub b8d5339e04 Revert "Smoke test failure - changing selectors depending on app quality" (#234638)
Revert "Smoke test failure - changing selectors depending on app quality (#23…"

This reverts commit b69589ce38.
2024-11-26 09:17:31 +01:00
Aiday Marlen KyzyandGitHub b69589ce38 Smoke test failure - changing selectors depending on app quality (#234181)
* changing selector depending on app quality smoke test

* using correct selector

* resetting to just insiders

* focusing if not focused after event

* removing dom node focus
2024-11-21 11:58:33 +01:00
Aiday Marlen KyzyandGitHub 8d1d1373cd Reverting EditContext changes (#234247)
reverting changes
2024-11-20 10:18:20 +01:00
Aiday Marlen KyzyandGitHub d649101bec Turning on experimental edit context on Insiders (#234071)
* turning on experimental edit context on insiders

* fixing smoke test

* resetting the search input to use the textarea
2024-11-19 10:19:00 +01:00
RoboandGitHub e178455531 ci: check for clean git state in npm validation (#230479) 2024-10-04 11:04:18 -07:00
Benjamin PaseroandGitHub c5b6ef14e6 esm - more cleanup (#230285) 2024-10-02 11:55:17 +02:00
Benjamin PaseroandGitHub f09184ceb7 esm - set type: module top level (#230210) 2024-10-01 20:48:56 +02:00
Benjamin PaseroandGitHub 3b68a06818 esm - removal of CSS loader (#230206) 2024-10-01 19:24:18 +02:00
Benjamin Pasero 332b89f198 esm - remove AMD build scripts, tests and variables 2024-09-27 08:04:01 +02:00
Benjamin PaseroandGitHub 789c320a1c Replace mkdirp with fs.mkdirSync(path, { recursive: true }) (#228017)
* Replace mkdirp with fs.mkdirSync(path, { recursive: true })
(fix #227931)

* compile
2024-09-09 22:43:29 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2a4d7851ef Bump pathval from 1.1.0 to 1.1.1 in /test/monaco (#227783)
Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaijs/pathval/releases)
- [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: pathval
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-07 11:43:31 +09:00
RoboandGitHub 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 https://github.com/microsoft/vscode-vsce/commit/8b49e9dfdf909ad3af2b9ec9c825f5b501f6d75e

* 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 https://github.com/markdown-it/markdown-it/commit/737c95a12976357df99652e4b51d831cac4a75aa

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 https://github.com/markdown-it/markdown-it/commit/beed9aee2c1b44819afc25d485e86a6c699b6ef0

* 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 https://github.com/microsoft/vscode-vsce/commit/d3cc84cdec99b8e9f24be63d1a2a54abe908f68b
while still having the fix https://github.com/microsoft/vscode-vsce/commit/8b49e9dfdf909ad3af2b9ec9c825f5b501f6d75e

* 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
Sandeep SomavarapuandGitHub ebc02af2d8 rename electron-node to electron-utility (#227672) 2024-09-05 00:49:23 -07:00
Sandeep SomavarapuandGitHub 01fcf004a6 Use electron net directly in shared process (#227553)
* Use electron net directly in shared process

* add built file

* introduce shared electron-node layer

* remove electron-utility layer

* fix (overlook): move back cli files to node
2024-09-04 07:26:43 -07:00
Connor PeetandGitHub f9877b1978 eng: re-add coverage support post-ESM (#227459)
Fixes #227432
2024-09-03 20:33:56 +02:00
Benjamin PaseroandGitHub d60295dc0e ESM: revisit need for _VSCODE_NODE_MODULES (fix #226453) (#227427) 2024-09-03 15:18:08 +02:00
Benjamin PaseroandGitHub ca42f649a7 Allow to build an AMD version of VS Code (#227240) 2024-09-02 09:36:19 +02:00
Benjamin PaseroandGitHub f0417069c6 esm - restore lost changes in tests from migration (#227225) 2024-08-30 09:12:48 -07:00