Commit Graph

1887 Commits

Author SHA1 Message Date
Aaron Munger
4290065b29 notebook tests still failing too often (#283882)
still failing too often
2025-12-16 19:29:08 +00:00
Benjamin Pasero
3cd24f525e Screencheese issue in empty chat welcome view (fix #273827) (#283819) (#283825)
docs - update log file retrieval instructions
2025-12-16 15:13:27 +00:00
dependabot[bot]
53df02fb55 Bump express from 5.1.0 to 5.2.1 in /test/mcp (#280440)
Bumps [express](https://github.com/expressjs/express) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/v5.1.0...v5.2.1)

---
updated-dependencies:
- dependency-name: express
  dependency-version: 5.2.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-03 10:10:45 +00:00
dependabot[bot]
19e4c04dea Bump @modelcontextprotocol/sdk from 1.18.1 to 1.24.0 in /test/mcp (#280663)
Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) from 1.18.1 to 1.24.0.
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/1.18.1...1.24.0)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.24.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-03 10:45:24 +01:00
Raymond Zhao
41997d514d chore: npm audit fix (#279437)
* chore: npm audit fix

* chore: npm audit fix in extensions

* chore: npm audit fix in tests

* Catch last few
2025-11-25 20:29:09 +00:00
Robo
4c5bfb172a feat: create versioned resources for windows setup (#263998)
* feat: create versioned resources for windows setup

* chore: use inno_updater to remove old installation

* chore: remove old installation as part of setup

* chore: update explorer-command

* chore: prefer session-end

* chore: uninst delete updating_version

* chore: make session-ending write synchronous

* chore: cleanup updateService.win32.ts

* chore: invoke inno_updater gc path for non background update

* chore: move session-end path to runtime

* chore: use commit for updating_version

* chore: fix invalid string

* chore: set appUpdate path

* chore: update inno_updater

* chore: empty commit for testing

* chore: some cleanups

1) Check for session-ending flag in appx and tunnel callsites
2) Move gc for background update to cleanup phase in updateservice
3) Set update state to ready when there is a running inno_setup

* chore: disallow same version update

* chore: disallow application launch in the middle of update

* chore: empty commit for testing

* chore: bump inno_updater

* chore: empty commit for testing

* chore: move gc to update startup

* chore: move feature behind insider only check

* chore: bump inno_updater

* chore: bump explorer-command

* fix: build

* fix: gc for background update in system setup

* chore: create separate cli entrypoints for build

* fix: check for setup mutex created by inno

* chore: remove problematic updatingVersionPath deletion

* chore: remove redundant update check

* chore: bump inno_updater

* chore: fix build

* chore: bump inno updater
2025-11-24 21:32:12 +09:00
Matt Bierner
82e3ec2f1f Workaround https://github.com/microsoft/playwright/issues/37418 2025-11-21 13:36:46 -08:00
Tyler James Leonhardt
7dbfd43384 Fix vscode-playwright-mcp building & improve tools listed in demonstrate (#278856)
1. the mcp server wasn't working... perhaps due to our js -> ts build move... or a bump in a npm package. Either way, good now.
2. I list out all tools across Copilot CLI & VS Code that would apply in this case... there's some overlap for sure... but I want to make sure we're golden for any renamed tools situations.
2025-11-21 20:31:14 +00:00
Daniel Imms
e65fbaa63e Also clear scrollback in smoke tests 2025-11-14 11:23:37 -08:00
Matt Bierner
7f47e28c2b Use standard node utils instead of our custom ones 2025-11-12 15:26:54 -08:00
Matt Bierner
bf04914d59 Make sure js files still follow eslint semicolon rules 2025-11-12 13:54:56 -08:00
Aaron Munger
8e0a21f36d enable a few notebook smoke tests (#276793)
* more strenuous add/delete cell check

* unskip some tests
2025-11-11 17:12:27 -08:00
Matt Bierner
19606fb407 Fix in smoke tests 2025-11-10 10:31:47 -08:00
Matt Bierner
19c4ebdc10 Fix one more import 2025-11-10 10:11:32 -08:00
Matt Bierner
1136f75c5e Update imports 2025-11-10 09:28:50 -08:00
Benjamin Pasero
cb11538020 MCP related actions need to hide when AI features are disabled (fix #275478) (#275840) 2025-11-06 15:53:29 +00:00
Aaron Munger
ebd995adee disable flaky test (#275414) 2025-11-05 00:02:59 +00:00
Tyler James Leonhardt
b01211dec2 Add tool for searching settings UI (#274920)
* Add tool for searching settings UI

Since the input box is a monaco editor, it struggles.

* push
2025-11-04 00:28:26 +00:00
Bryan Chen
d3bdc2e8d5 Fixed error in starting mcp server on windows 2025-10-31 14:22:31 -07:00
Tyler James Leonhardt
bc5f6481a5 Enable tracing (#274203)
* Enable tracing

So that we can upload traces instead of just videos.

* feedback
2025-10-30 23:19:54 +00:00
Benjamin Pasero
08d06ad8c1 smoke - more checks for AI test (#274002)
* smoke - more checks for AI test

* change to set
2025-10-30 08:24:49 +01:00
Benjamin Pasero
6808f75d53 chat - add a smoke test to check for AI disabling support (#273940) 2025-10-29 13:16:26 +00:00
Ladislau Szomoru
4c3d8cf64a Git - adopt the new icons for the statusbar command (#273789)
* Git - adopt the new icons

* Attempt to fix tests
2025-10-28 19:37:40 +00:00
Tyler James Leonhardt
c19948ed52 Use a bigger video size (#273449) 2025-10-26 20:38:49 -07:00
Tyler James Leonhardt
c40db410b9 Add a send message tool for automation & mcp (#273306)
* Add a send message tool for automation & mcp

This also sents up the posibility of smoke tests.

* Add demonstrate.md and remove prompt

* add simple notification util

* notif
2025-10-26 14:35:03 +08:00
Tyler James Leonhardt
41d5f1ce55 Disable tracing for now due to Playwright MCP behavior (#273171)
Haven't been able to figure out how to get tracing working without issues... so reverting the change.

Opened an issue here:
https://github.com/microsoft/playwright-mcp/issues/1166
2025-10-24 19:32:08 +00:00
Tyler James Leonhardt
90460f61a7 Have playwright MCP always trace (#273145)
Have MCP always trace

so that traces can be looked at easily.
2025-10-24 16:56:50 +00:00
Benjamin Pasero
898436fbe6 Clean up code layering suppressions (fix #272777) (#272834)
* Clean up code layering suppressions (fix #272777)

* Update test/unit/electron/index.js

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-23 09:28:38 +02:00
Tyler James Leonhardt
af1cbea727 Add --video and --autostart (#271849)
This enables:
* Playwright video recording
* Starting the Code OSS on server start (for clients like Copilot CLI that don't react to tool list changes)
2025-10-16 23:18:23 +00:00
Matt Bierner
2f5b1d0cc4 Enforce single quote strings in tests too
Fixes #271473

Final pass of fixes and removes the exception for test files
2025-10-15 11:33:45 -07:00
Aaron Munger
32fbf1d72e skip all but the simplest (#270790) 2025-10-10 10:52:12 -07:00
Aaron Munger
57409952f0 re-enable tests to look for failure (#270299)
* re-enable tests to look for failure

* edit to focus back in the cell

* make command available for smoke test
2025-10-10 10:01:16 -07:00
Tyler James Leonhardt
32d3077232 Run npm ci & point to README in vscode-playwright-mcp (#270603)
Fixes https://github.com/microsoft/vscode/issues/270534
2025-10-09 10:25:24 -07: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
João Moreno
abb3be88db isolate smoke test runs between type (#269021)
also, move some fs calls to sync
also, increase retryDelay for rmSync
fixes #268437
2025-09-30 08:20:08 +00:00
Tyler James Leonhardt
25e67de531 await the listeners so that they're run before we mark "started" (#268578) 2025-09-26 16:48:01 -07:00
Raymond Zhao
888de56127 fix: pin SDK version (#268551)
Fixes the build
2025-09-26 21:10:46 +00:00
Logan Ramos
02a22c8d39 Update MCP schema to be more conscise (#268499)
* Update MCP schema to be more conscise

* Remove debug string
2025-09-26 16:52:18 +00:00
Tyler James Leonhardt
8f97965f31 Allow excluding tools from sub servers and allow the command palette to be kept open if a command is run (#267812) 2025-09-22 18:14:06 +00:00
Tyler James Leonhardt
bd46b9eb21 Fix vscode mcp dev server (#266998)
* use the `.js` suffix
* bump playwright mcp
2025-09-16 00:33:02 +00:00
Benjamin Pasero
af0b5ba59c smoke - use workbench.action.clearEditorHistoryWithoutConfirm consistently" (#266249)
Revert "Revert "smoke - use `workbench.action.clearEditorHistoryWithoutConfir…"

This reverts commit c8f1c4eca9.
2025-09-12 06:19:06 +02:00
Tyler James Leonhardt
6920dd084c Have multiplex just keep tools in sets. (#265747) 2025-09-08 22:08:51 +00:00
Benjamin Pasero
c8f1c4eca9 Revert "smoke - use workbench.action.clearEditorHistoryWithoutConfirm consistently" (#265471)
Revert "smoke - use `workbench.action.clearEditorHistoryWithoutConfirm` consi…"

This reverts commit e910fd5e1d.
2025-09-06 13:28:15 +02:00
Benjamin Pasero
e910fd5e1d smoke - use workbench.action.clearEditorHistoryWithoutConfirm consistently (#265146) 2025-09-05 13:15:02 +02:00
Tyler James Leonhardt
3c90d276e0 Have the lifecycle dependent on the Page since we only support 1 window for now (#264099)
This makes sure that closing the window actually closes everything to workaround the macOS behavior of having all windows closed but it's still running.
2025-08-29 16:07:36 -07:00
Tyler James Leonhardt
f1a5fb082b Go all in on stdio and gate all the tools behind the launch tool (#264088)
* Removes HTTP logic
* enable/disables automation tools based on if app is opened
* kill and re-create the playwright server based on if app is opened
2025-08-29 21:41:01 +00:00
Tyler James Leonhardt
443daf8d60 Allow configuring userDataDir, ExtensionDir, & usage of in-memory Secret Storage (#263451)
* Allow configuring userDataDir, ExtensionDir, & usage of in-memory Secret Storage

ref https://github.com/microsoft/vscode/issues/262164

* fix a couple references of getRandomUserDataDir
2025-08-27 15:31:27 -04:00
Tyler James Leonhardt
7a46ac4d80 First pass at disabling tools that aren't useful for this MCP flow (#263298)
* First pass at disabling tools that aren't useful for this MCP flow

And enable the multiplexer server

* revert that

* revert that

* revert that

* disable a couple more

* add a start to improve model behavior & rewrite prompt file
2025-08-25 11:46:20 -07:00
Tyler James Leonhardt
a7cdeedd57 Add another server built on top of our own automation framework (#262984)
* Add another server built on top of our own automation framework

It's a big PR but a lot of this is boiler plate. It's just essentially wrapping our Automation framework in a bunch of tools.

* Lay the foundation for multiplexing
2025-08-22 17:20:22 -07:00
Tyler James Leonhardt
d436b22dca Allow modals in automation (#262808) 2025-08-22 15:54:31 +02:00