1395 Commits

Author SHA1 Message Date
Don Jayamanne
2ad979732c
Remove unwanted console.logs (#277374) 2025-11-14 11:37:45 +01:00
Matt Bierner
723aa849c9
Convert gulpfiles to modules
Makes a pass through our top level gulpfiles to convert them to modules
2025-11-11 15:28:50 -08:00
Daniel Imms
0f2bcf765a
Merge branch 'main' into tyriar/274723_platform_terminal__api 2025-11-10 06:57:41 -08:00
Daniel Imms
b2481854e8
Fix test expectations 2025-11-10 06:57:11 -08:00
Don Jayamanne
6644d4f0cb
Ensure node-pty module is accessbile for chat extension (#276388)
* Ensure node-pty module is accessbile for chat extension

* Update extensions/vscode-api-tests/src/singlefolder-tests/chat.test.ts

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

* Update extensions/vscode-api-tests/src/singlefolder-tests/chat.test.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-10 04:02:15 +01:00
Daniel Imms
80ebe13f31
Remove as any in vscode-api-tests
Part of #269213
2025-11-02 01:21:53 -07:00
Alexandru Dima
65b22997d7
Convert flaky API tests to unit tests (#273398)
Convert flaky API test to unit test (#253863 , #254041)

I maintain my conviction that there is an unrelated run-away API test which steals focus while these tests execute which then leads to these tests failing, since the undo command is sensitive to the current focused editor.
2025-10-26 15:11:46 +01:00
Benjamin Pasero
f77f4c50cd
eng - disable start debugging test that is flaky (#242033) (#272273) 2025-10-20 15:24:28 +02:00
Dmitriy Vasyura
bfba6b040c
Add toggle support for QuickInput/QuickPick, resourceUri support for QuickPickItem (#271598)
* Add quickPickItemResource API proposal

* Transfer resourceUri from extension host to main thread.

* Make proposed API checks consistent.

* Process resourceUri

* Fix up resourceUri mapping logic

* API proposal

* Transfer toggles from extension host to main thread

* Support Folder icon, refactor label/description derivation.

* Update

* Update API proposal per API review

* Update transfer logic per API changes

* Move toggles to the base input interface

* Handle toggle button type

* Fix up

* Updates

* Propagate checked state, dispose removed toggles.

* Nit

* Expand icons

* Feedback/updates

* Added comments, PR feedback

* Updates

* Revert some change, add typings and unit-tests to converters.

* Add a quick pick test for resourceUri

* Test updates
2025-10-18 15:57:07 -07:00
Rob Lourens
ec8586ef25
Add isModelProxyAvailable (#271872)
* Add isModelProxyAvailable

* tests
2025-10-16 21:11:11 -07:00
Matt Bierner
1c35a4d05c
Enforce single quote string usage in extension tests
Single quoted string usage is already enforced everywhere except our tests. Having this inconsistent style can confuse contributors and code generation

Starting with converting over tests in the `extensions` dir
2025-10-15 01:51:43 -07:00
Matt Bierner
98b069c041
Work towards getting isolated built-in extension compiles
For #271167

This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
2025-10-13 11:03:20 -07:00
Johannes Rieken
0d1a3c7c7c
fix some any-casts in vsocde-api-tests (#270186)
https://github.com/microsoft/vscode/issues/269213
2025-10-07 08:16:31 -04:00
Matt Bierner
360c9fd134
Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Aaron Munger
1986d172c4
skip test for failing again (#266230) 2025-09-11 17:28:59 +00:00
Benjamin Pasero
8a48ecc72b
chat - towards experimental anonymous access (#265806) 2025-09-09 14:15:50 +00:00
Aaron Munger
c8c7793eec
poll for change to allow async update (#265724)
* poll for change to allow async update

* import poll
2025-09-08 13:05:44 -07:00
Logan Ramos
2eae3caa26
Implement API changes from TPI feedback (#265213)
* Implement API changes from TPI feedback

* Update names

* Handle old fallback
2025-09-04 17:45:03 -04:00
Alexandru Dima
2617e6ca16
Add proposed API for code and model inline completions unification (#265101)
* Add proposed API for code and model inline completions unification

* Remove the assertion from the event

* Allow api tests to use new API
2025-09-04 11:23:57 +02:00
Daniel Imms
832ae085a4
Merge pull request #263623 from rwoll/fix-blockOnResponse
skip flakey blockOnResponse tests
2025-08-27 10:49:55 -07:00
Logan Ramos
a18d41e90a
Finalize LM API (#263415)
* Finalize BYOK API

* More byok

* Fix compile errors

* Feedback

* Fix fat fingering

* Fix capabilities

* Bump version

* Rename contrib point + activation events

* Update test

* Add proposed api check to require authorization

* Change comment
2025-08-27 17:25:34 +00:00
Ross A. Wollman
87b4d2a251 skip flakey blockOnResponse tests
`workbench.action.chat.open.blockOnResponse` is flaking in CI. So far,
I cannot reproduce locally so skipping to avoid noise in CI while I
debug.

Since the core logic (i.e. not the test) is only hit if `blockOnResponse`
is set to `true`, leaving it in is low-risk.

Relates #263572.
Relates #263575.
2025-08-27 10:24:04 -07:00
Rob Lourens
a9ca87f882
Reenable integration test (#263181)
Some things have changed, hoping this is more stable now
Fix #242671
2025-08-24 13:41:59 -07:00
Ross Wollman
58c4c3bf4b
Wait for agent loop to finish in automation (#262370)
* add `workbench.action.chat.open::waitForComplete`

* s/waitForCompletion/blockOnResponse

* cleanup tests

* remove unused comment

* Apply suggestion from @connor4312

Co-authored-by: Connor Peet <connor@peet.io>

* fixup tests

* don't block test loop on invokeTool

* Revert "don't block test loop on invokeTool"

This reverts commit d8d16dbe79fda2538cdb5bfb743158c6348ecf4b.

* fix tool confirmation test

* attempt to account for the flip of isPendingConfirmation

* [DEBUG] debug CI flake

* register tool so it exists in all test envs

* finish configuring custom tool

* run test in seperate chat windows

* revert debug changes

* remove timeout dep

* fix assertion

* cleaup tests by examining output of command directly

---------

Co-authored-by: Connor Peet <connor@peet.io>
2025-08-20 10:13:48 -07:00
Bhavya U
43452f464f
Remove startup experimentation code and setup splitWelcomeChat view as getting started experience (#262068)
* Remove startup experimentation code and setup splitWelcomeChat view as getting started experience

* Remove experimental visibility check from welcome message in ChatWidget

* cleanup

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-08-18 10:24:29 +00:00
Logan Ramos
f6b2bec410
Modify LM api based on feedback (#261645)
* API feedback

* Some further API cleanup

* Some API stuff

* Try more cleanup

* CI please pass

* READONLY
2025-08-14 16:59:44 -04:00
Don Jayamanne
eb649d0d93
Add some logging to identify flaky notebooks tests (#261200) 2025-08-12 13:29:19 +02:00
Alex Ross
1b97fc2890
Skip flaky undo/redo stack tests (#260514)
See https://github.com/microsoft/vscode/issues/254041
2025-08-08 01:59:25 -07:00
Don Jayamanne
fd38deac92
Skip flaky notebook test (#258223)
Skip flaky test
2025-07-28 13:46:15 +00:00
Logan Ramos
8551a1d51d
Finalize the bring your own key api (#255892)
* Start small

* start on new byok api

* Some more api work

* Hook up more of the API

* A single file with no errors yay!

* Some cleanup

* Slow and steady progress

* More code

* Add resolve

* Hate everything

* More progress on rewriting id

* Some error fixing

* Fix null service

* Use claude to fix tests

* Fix tests

* Fix tests

* More test fixing

* Some setup

* Some model picker stuff

* Fix model picker with new BYOK api

* Remove support for contirbuting to mdel picker action bar

* Adjust to allow for user prompting

* Add event

* Fix conflicts
2025-07-18 13:42:55 -04:00
Alex Ross
8c938d137a
Disable flaky workspace test (#256250)
See https://github.com/microsoft/vscode/issues/253863
2025-07-16 07:17:49 -07:00
Rob Lourens
d8af289890
Support chat participants in agent mode (#256113)
* Allow participants in any mode
Fix #255921

* Get rid of unneeded context keys

* Preserve modes for default agents

* Fix tests

* Fix test
2025-07-16 00:37:20 +02:00
Alex Ross
c23b94c04d
Skip "breakpoints are available before accessing debug extension API" (#255982)
See https://github.com/microsoft/vscode/issues/254039
2025-07-15 09:48:51 +00:00
Don Jayamanne
2ff34581ea
Skip flaky Notebook Kernel API tests (#255119)
* Skip flaky Notebook Kernel API tests

* updates
2025-07-10 11:57:40 +00:00
Don Jayamanne
7b269dac03
Await on notebook.cell.execute command in tests (#255111) 2025-07-10 04:22:38 -07:00
Don Jayamanne
e31bfcad9d
Re-enabled some of the skipped notebook tests (#255087)
* Identify flaky test failures

* Updates
2025-07-10 04:05:27 -07:00
Don Jayamanne
c195156400
Use open and show notebook instead of executeCommand in tests (#255106) 2025-07-10 04:05:02 -07:00
Benjamin Pasero
1c5aac43c2
tests - close editors from debug API tests (#254646) 2025-07-08 06:27:47 -07: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
13d49873b7
Support setting encoding from extension (fix #251188) (#251195) 2025-06-11 12:15:35 +02:00
Johannes Rieken
1a2bacb0a0
make sure the API doesn't allow to set an empty selections array (#251010)
re https://github.com/microsoft/vscode-copilot/issues/18075
2025-06-09 08:23:22 -07:00
Ladislau Szomoru
78bf07b5ce
Engineering - remove unused proposal (#248729) 2025-05-12 07:51:50 -07:00
Johannes Rieken
e29c92acaf
remove old notebookCellExecutionState proposal (#248522)
re https://github.com/microsoft/vscode/issues/124970#issuecomment-2864279668
2025-05-12 02:36:15 +02: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 afb637e85dfb6c553c0e76ccc7063b5c8cf550bb.

* 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
Rob Lourens
714f54156f
Add editedFileEvents (#246996)
* Start plumbing working set events

* more

* More fixes

* Update tests
2025-04-20 16:54:07 +00:00
Benjamin Pasero
f0ee501c7f
API: Finalise text document encoding (fix #241449) (#246016)
* API: Finalise text document encoding (fix #241449)

* address feedback
2025-04-10 18:28:21 +00:00
Aaron Munger
3d6395e70b
extra async call (#246018) 2025-04-08 20:43:33 +00:00
Benjamin Pasero
b8965e8d61
encoding - api clarification (#245994) 2025-04-08 17:45:42 +02:00
Matt Bierner
526705b491
Merge pull request #244485 from mjbvz/tasty-lion
Pick up latest TS for building VSCode
2025-03-28 11:24:19 -07:00
Tyler James Leonhardt
c244b199e2
Delete Unused API (#244529)
ref https://github.com/microsoft/vscode/issues/243615
2025-03-25 01:48:56 +01:00