Commit Graph

2014 Commits

Author SHA1 Message Date
Matt Bierner
a0e680dc71 Make sure inline chat math wrapped in parens is rendered
Syntax like `a ($x$) b` is generated fairly often
2025-07-11 00:03:47 -07:00
Martin Aeschlimann
30cfae0d78 use www.schemastore 2025-07-10 18:16:09 +02:00
Daniel Imms
a3c8ce1482 Force accept function in dispatchKeybinding
One common source of flakiness is just dispatching a keybinding and
not verifying it did its thing. This change adds a few accept functions
and also forces callers to provide an async function so that the caller
considers adding one as it's the norm, not the edge case.

Fixes #246731
2025-07-10 06:49:16 -07:00
Daniel Imms
ac3d4703b2 Eliminate some flakiness when not verifying files save
This test was flaking because before the suite runs a bunch of settings
are added which are critical to making the test reliable. Inside the
settings part it opens the editor, edits it and saves the file via
ctrl/cmd+s. This is all fine, but it doesn't verify anything so the
editor may end up closing before ctrl/cmd+s actually gets handled. We
disable the modal in smoke tests since it needs to run headlessly, so
it's difficult to see that the file never actually saves and a dirty
file is closed and discarded.

The fix is to verify settings.json actually does save by changing the
shared Editors.saveOpenedFile mechanism to ensure the dirty indicator
isn't present on the active tab.

Fixes #254893
Part of #246731
2025-07-10 05:06:22 -07:00
Raymond Zhao
430f91e41b chore: bump get-func-name (#254989)
Resolves an npm audit issue
2025-07-09 22:42:03 +00:00
Daniel Imms
a281c05b7e Make before each step run with retries
Fixes #253590
2025-07-08 12:27:43 -07:00
Aman Karmani
7deabf42e7 [engineering] add testSplit option to unit-test runner (#253049)
helpful to run tests in parallel
2025-07-07 20:34:30 +00:00
Benjamin Pasero
55b9191fe3 ci - improve log message on failure (#254460) 2025-07-07 15:40:56 +00:00
Benjamin Pasero
c315e865bf up @playwright/test to 1.53.2 (#254280)
* up `@playwright/test` to `1.53.2`

* enable tracing on CI always
2025-07-06 08:46:36 +02:00
Benjamin Pasero
367fc5f243 exp - introduce and use flag to disable experiments (#254057)
* exp - introduce and use flag to disable experiments

* fix
2025-07-04 09:17:56 +00:00
Ladislau Szomoru
4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Benjamin Pasero
2ed2eb30c7 skip flaky tests (#253586) 2025-07-02 10:44:47 +02:00
dependabot[bot]
0d17d0c5d0 Bump brace-expansion from 1.1.11 to 1.1.12 in /test/smoke (#251659)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 17:22:53 +02:00
Robo
0f5ce4a087 chore: reland windows 2022 agent for product builds (#251560)
* chore: bump gulp-electron@1.37.0

* chore: update package-lock.json

* Reland "Fix extraction of tab title name" (#251379)"

This reverts commit 5d1bd8f13d.

Reason for revert:

Icon issue was side affect of the windows agent change that affected
the rcedit binary which has now been addressed.

* chore: bump gulp-electron@1.37.1
2025-06-18 12:00:44 +02:00
Benjamin Pasero
5d1bd8f13d Revert "Fix extraction of tab title name" (#251379)
* Revert "Fix extraction of tab title name (#250621)"

This reverts commit ab6d98e599.

* skip test
2025-06-13 15:38:51 +02:00
Robo
7e4d8e92bc (Reland) fix: smoke tests for stable with editcontext enabled (#251074) 2025-06-10 00:44:09 -07:00
Robo
94a9756f46 Revert "fix: smoke tests for stable with editcontext enabled (#251055)" (#251075)
This reverts commit 433220e98a.
2025-06-10 08:47:30 +02:00
Robo
433220e98a fix: smoke tests for stable with editcontext enabled (#251055) 2025-06-09 20:36:07 -07:00
Benjamin Pasero
cdf404ff47 debt - restore old layer name (#250928) 2025-06-09 07:08:43 +00:00
Daniel Imms
95c9166d0b Revert "Merge pull request #250670 from microsoft/copilot/fix-250669"
This reverts commit aa095f877e, reversing
changes made to 13ff4544a7.
2025-06-06 09:49:55 -07:00
Daniel Imms
aa095f877e Merge pull request #250670 from microsoft/copilot/fix-250669
Consolidate write data to terminal and send sequence commands
2025-06-06 07:34:27 -07:00
Daniel Imms
ab6d98e599 Fix extraction of tab title name (#250621)
* Fix extraction of tab title name

Fixes microsoft/vscode-internalbacklog#5499

* Engineering - update agent pool

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-06-06 09:11:43 +02:00
copilot-swe-agent[bot]
670d678f26 Update test files to use SendSequence instead of WriteDataToTerminal
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com>
2025-06-05 10:52:26 +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
Samuel Rigaud
e975fc9be8 test: fix typos (#247259)
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
2025-04-23 23:38:49 +00:00
Sandeep Somavarapu
760b96eca6 wait until extension is installed - if it is taking longer. Fix #245396 (#245863) 2025-04-07 13:55:11 +02:00
Benjamin Pasero
a8c6b3fd45 Improve process termination handling in smoke tests (#245434)
* Improve process termination handling in smoke tests

* .
2025-04-03 12:31:04 +02:00
Benjamin Pasero
621392c665 refactor: enhance process instance registration and termination logging (#245409) 2025-04-03 09:49:38 +02:00
Benjamin Pasero
cf1cfc5f0d fix: improve process termination handling in launch and Code class (#245380) 2025-04-02 21:24:07 +02:00
Benjamin Pasero
3edf73df8a tests - drop more flags (#245357) 2025-04-02 11:33:09 -07:00
Benjamin Pasero
8cd6551cb8 smoke - drop option to use swiftshader (#245354) 2025-04-02 17:38:55 +02:00
Benjamin Pasero
992c6150c3 smoke - try to kill earlier when its safe (#245347) 2025-04-02 16:51:10 +02:00
Benjamin Pasero
10fc28b3b8 tests - enable verbose arg for extension installation tests (#245320) 2025-04-02 13:33:19 +02:00
Benjamin Pasero
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 Pasero
4bf8005553 Revert "Revert "smoke - try to exit via close also for Electron"" (#245318) 2025-04-02 11:46:27 +02:00
Benjamin Pasero
377d060721 Revert "smoke - try to exit via close also for Electron" (#245304) 2025-04-02 08:09:11 +02:00
Benjamin Pasero
ac27be2456 smoke - try to exit via close also for Electron (#245253) 2025-04-01 21:03:10 +02:00
Benjamin Pasero
c8d1124a06 smoke - kill electron app if unhealthy (#245226) 2025-04-01 17:58:36 +02:00
Benjamin Pasero
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 Moreno
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
Aaron Munger
469d54e912 call the generator function (#242912)
call the function

Co-authored-by: amunger <>
2025-03-07 10:54:22 -08:00
Aiday Marlen Kyzy
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 Zhao
54b12e5ec8 Copy UUID impl (#231347) 2025-03-03 09:29:59 -08:00
João Moreno
ae43cc72b6 make unit tests faster (#241847) 2025-02-25 15:18:20 +01:00
Alex Ross
cf46a56bd4 Disable changes "workbench.action.toggleSidebarPosition" command key binding and verifies it (#239820) 2025-02-06 09:18:24 -08:00
Oleg Solomko
1195e2cf77 fix the the the typos (#239646)
fix the `the the` -> `the` typos
2025-02-04 15:35:23 -08:00
Aiday Marlen Kyzy
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