Commit Graph

1404 Commits

Author SHA1 Message Date
Dmitriy Vasyura
d9835cfa08 Finalize quickInputButtonLocation API proposal 2025-12-18 19:36:56 -08:00
Dmitriy Vasyura
56555a8bf1 Finalize quickPickItemResource API proposal (#283877) 2025-12-16 19:11:02 +00:00
Johannes Rieken
d13c32e27f disable flakly test again https://github.com/microsoft/vscode/issues/254042 (#283836) 2025-12-16 15:45:42 +00:00
Alex Ross
950ca05d5c Reapply element already registered race condition fix (#283079)
Fixes microsoft/vscode-pull-request-github#8073
2025-12-12 18:01:41 +01:00
dependabot[bot]
7971753268 Bump node-forge from 1.3.1 to 1.3.2 in /extensions/vscode-api-tests (#279673)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.3.1 to 1.3.2.
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-version: 1.3.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-08 18:40:24 +00:00
Johannes Rieken
5d52b31d8d understand why tests fails (#282002)
https://github.com/microsoft/vscode/issues/254042
2025-12-08 17:18:19 +00:00
Alex Ross
653d30ab18 Revert "Fix element already registered (#281000)" (#281278)
* Revert "Fix element already registered (#281000)"

This reverts commit ca3f2212d1.

* skip test
2025-12-04 09:43:55 -08:00
Alex Ross
472dee5115 Another fix for "element with id not registered" error (#281269)
Fixes microsoft/vscode-pull-request-github#8073
2025-12-04 16:49:41 +00:00
Alex Ross
ca3f2212d1 Fix element already registered (#281000)
Fixes microsoft/vscode-pull-request-github#8073
2025-12-03 09:59:37 -08:00
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 d8d16dbe79.

* 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