Commit Graph
2221 Commits
Author SHA1 Message Date
Connor Peet a11e4a544c Remove remaining deprecated URL parsing
Migrate the server, remote CLI, browser integration harness, and Seti update script from url.parse() to the WHATWG URL API while preserving repeated-query handling and rejecting malformed request targets.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-10 13:52:11 -07:00
roblourens 78a7b6c291 agentHost: remove extension-host Claude implementation (#329697)
* Remove extension-host Claude implementation

Make Agent Host the sole Claude sessions implementation and remove the obsolete provider preference settings, extension runtime, SDK dependency, commands, tests, and integration glue.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Remove extension-host Claude smoke tests

Delete smoke cases and commands that target the removed extension-host Claude implementation.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix Agent Host Claude permissions link

Keep the Claude-specific permission documentation link for Agent Host Claude after removing the extension-host implementation.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-08 03:55:37 +00:00
dependabot[bot]andDmitriy Vasyura c97a6dc1dc build(deps): bump ip-address from 10.2.0 to 10.4.0 in /test/mcp (#328824)
Bumps [ip-address](https://github.com/beaugunderson/ip-address) from 10.2.0 to 10.4.0.
- [Release notes](https://github.com/beaugunderson/ip-address/releases)
- [Commits](https://github.com/beaugunderson/ip-address/compare/v10.2.0...v10.4.0)

---
updated-dependencies:
- dependency-name: ip-address
  dependency-version: 10.4.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-08-07 23:54:10 +00:00
Anthony Kim 2e5a3ab675 fix: exclude arm64 MSAL runtime from VersionInfo sanity (#329628)
win32-arm64 scheduled builds fail validateAllVersionInfo on
msalruntime_arm64.dll from @github/copilot-win32-arm64. The DLL has
the same unusable ProductName VersionInfo as the already-excluded
x64 msalruntime.dll; cover both names.
2026-08-07 22:46:26 +00:00
dependabot[bot]andDmitriy Vasyura 7f22e3fe7e build(deps): bump fast-uri from 3.1.4 to 3.1.5 in /test/mcp (#328825)
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-08-07 22:43:48 +00:00
roblourensandCopilot cabbcbed5b test: handle preselected Agents session type (#329663)
Treat an already-selected session type as available so smoke tests do not wait for a picker that is intentionally suppressed for a sole provider. (Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-07 19:27:31 +00:00
dependabot[bot] 392a7a551e build(deps): bump brace-expansion from 2.1.0 to 2.1.4 in /test/sanity (#328779)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.1.0 to 2.1.4.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.1.0...v2.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-07 11:32:24 -07:00
Paul 6a0984cd11 Support running sanity tests against build pipeline artifacts (#329256) 2026-08-07 17:29:48 +00:00
dependabot[bot]andRaymond Zhao 1aa1a7b51a build(deps-dev): bump fast-uri from 3.1.4 to 3.1.5 in /test/monaco (#329077)
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-08-07 16:48:55 +00:00
roblourensandCopilot 445ff849bd sessions: remove Local harness from Agents window (#329603)
* sessions: remove local chat enablement setting

Always register the local chat provider and its customization harness, and remove obsolete setting gates, tests, and documentation. (Written by Copilot)

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

* sessions: remove Local harness from Agents window

Remove the Local sessions provider, harness registration, picker actions, documentation, and smoke coverage while preserving Agent Host fork behavior in its own contribution. (Written by Copilot)

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

* sessions: avoid Local customization fallback

Activate the first real provider harness and suppress the shared Local fallback label in the Agents window when no harness is available. (Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-07 16:37:18 +00:00
Rob LourensandCopilot fe15ac9e96 Remove rolled out Copilot session settings (#329450)
* Remove rolled out Copilot session settings

(Written by Copilot)

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

* Retain external Copilot CLI session monitoring

(Written by Copilot)

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

* Remove obsolete Extension Host Copilot smoke tests

(Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-07 04:18:09 +00:00
Rob LourensandCopilot 8831478021 agentHost: run E2E suites in parallel (#329314)
* agentHost: run E2E suites in parallel

Run the deterministic conformance and provider entrypoints concurrently while preserving serial server reuse within each suite. Integrate the parallel runner into coverage and full integration runs.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: harden parallel E2E runner

Preserve Windows argument boundaries through a PowerShell wrapper and fail coverage runs when a worker does not emit protocol-surface observations.

(Written by Copilot)

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

* agentHost: stabilize terminal clear E2E test

Wait for a marker that appears only in command output, not in the shell's echoed input, before clearing terminal state.

(Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-06 07:15:51 -07:00
Rob Lourens 51924fa639 chat: Remove Agent Host enablement setting (#329303)
* chat: remove agent host enablement setting

The Agent Host is now available whenever the runtime supports it and AI features are enabled. Remove the rollout setting, its experiment transition, and dependent provider gates while preserving explicit provider preferences.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: address Agent Host setting review feedback

Correct the documented provider default and exercise the dynamic Agent Host availability transition in the provider test.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: clarify extension-host session tracking

Explain why repository tracking follows the Agents window provider preference after removing the global Agent Host gate.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: remove obsolete repository tracking

Agent Host enablement made the Agents window repository tracker unreachable. Remove the tracker and keep only the cache invalidation helper used after extension-host requests.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-06 02:23:41 +00:00
Paul 1d79db2cba Add default-state assertions to model config smoke tests (#329264) 2026-08-06 01:16:48 +00:00
Kyle Cutler 6aa0a95733 Browser commenting polish (#329072)
* Browser commenting polish

* feedback
2026-08-05 10:37:02 -07:00
Paul d90b903325 smoke: wait for the window reload to actually happen (#329052)
`whenWorkbenchRestored()` can be answered by the pre-reload document, so the
'Extension Host Restart' tests continued while the window was still reloading.
The next test then dispatched its command palette keybinding into a tearing
down window, `openQuickAccessWithRetry` exhausted its retries and fell through
to `type()`, which failed with a misleading 'set value ... after 20 seconds'.

Add `Code#reloadWindow()` which stamps the current document, triggers the
reload and waits for a new document before awaiting the workbench restore.
2026-08-05 04:42:09 +00:00
Kyle Cutler 3774a5b0f7 Browser: add auto-reload toggle, watch background tabs (#329015)
* Browser: add auto-reload toggle, watch background tabs

* feedback
2026-08-04 20:43:17 +00:00
Benjamin Christopher SimmondsandCopilot 08ca479959 Make Integrated Browser smoke tests deterministic across build qualities (#328983)
The suite drives the browser toolbar overflow and Add to Chat menus through HTML locators (.monaco-menu-container). On macOS, stable defaults window.menuStyle to 'native' while insiders defaults to 'inherit', so those menus render as native OS menus in stable and the locators never resolve.

Pin the setting to 'custom' for the suite, seeded on disk before startup. Writing it at runtime instead would make SettingsChangeRelauncher pop a modal 'restart to take effect' dialog on Windows/Linux, blocking the workbench.

Ports #328969 and #328972 from release/1.132 to main.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-04 17:31:27 +00:00
Henning DieterichsandCopilot 3e63ea8fac Accept box sizing screenshot changes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d04b3d01-1bb4-4c9e-af2a-86b97a8934c5
2026-08-04 18:19:01 +02:00
Henning DieterichsandCopilot e81c3289cc Remove component fixture box sizing reset
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d04b3d01-1bb4-4c9e-af2a-86b97a8934c5
2026-08-04 18:19:01 +02:00
Henning DieterichsandCopilot d510219a21 Add component fixture rendering controls
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d04b3d01-1bb4-4c9e-af2a-86b97a8934c5
2026-08-04 16:46:34 +02:00
Alex Ross cc66c75342 Add marketplace-free localization test (#328708) 2026-08-03 13:51:38 +00:00
Ben Villalobos 4bbdaa9026 Remove Automations section from AI Customizations editor (#328654)
* refactor: remove Automations section from AI Customizations editor

The Automations UX has moved to a dedicated custom view in the sessions
app sidebar. Remove the old widget, accessibility help, and all wiring
from the AI Customization Management Editor.

- Delete automationsListWidget.ts and automationsAccessibilityHelp.ts
- Delete corresponding test files
- Remove widget creation, layout, visibility, and focus handling from
  the editor
- Remove deep-link focusAutomation case from contribution
- Remove stale AccessibilityHelp registration from sessions contribution
- Keep Automations enum value (sessions app still depends on it)

* chore: remove dead Automations CSS from customization editor stylesheet

* chore: remove dead Automations test and fixture references

* fix: retarget automation-configured button to sessions custom view

* fix: redirect Automations tree link to custom view

* fix: redirect Automations overview tile to custom view

* fix: remove Automations link from customization tree view

* fix: remove Automations tile from customization overview

* fix: remove Automations from customizations toolbar

* chore: remove dead automationId parameter from OpenEditor command

* chore: remove dead automationsContentContainer from test interface

* chore: remove dead isAutomations field from ICustomizationItemConfig

* docs: remove stale Automations widget paragraphs from AI_CUSTOMIZATIONS.md

* chore: remove dead automationsEnabled fixture scaffolding

* chore: remove AutomationsTab from blocks-ci-screenshots.md
2026-08-03 04:37:02 +00:00
Kyle Cutler 57f4000496 Additional browser smoke tests (#328465)
* Additional browser smoke tests

* Open and navigate flow

* feedback
2026-07-31 14:49:07 -07:00
Elijah KingandCopilot 5ad453cece chat: update blocks-ci screenshot baseline for the compact add glyph
Switching Add Context to `Codicon.addCompact` changes the `+` in the
inline chat zone widget, which is a blocks-ci fixture.

Verified the change is intentional and confined before accepting the new
hashes: rendering the fixture on this branch and on its merge-base and
diffing them locally shows a single 12×12px region differing — the `+`
glyph going from 11×11 to 10×10 of ink. That is the optically tuned
compact glyph replacing the scaled-down base one, at a call site already
rendering at `codiconFontSize-compact`, which is the pairing the design
tokens guidance asks for. Nothing else in the widget moved.

Hashes are exactly the ones the failing run computed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-30 14:13:44 -07:00
Alex Ross c5420d8076 Fix some smoke flakes caused by the enabling of agent host migration by default (#328169)
* Fix some smoke flakes caused by the enabling of agent host migration by default
2026-07-30 10:53:48 +02:00
Rob LourensandCopilot 2c549ee083 Enable Agent Host migration settings by default (#328127)
* chat: enable agent host defaults

Flip the Agent Host migration settings to their rolled-out defaults and enable remote Agent Host support for web clients attached to a remote extension host. Serverless web retains extension-host fallbacks. (Written by Copilot)

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

* test: cover web agent host disablement

Add web-remote coverage for configuration and AI disablement, and clarify the serverless web requirement in the setting description. (Written by Copilot)

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

* test: pin smoke session providers

Pre-seed extension-host smoke profiles before startup and update Agent Host picker labels so the suites exercise their intended providers after the default flip. (Written by Copilot)

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

* chat: restore agent host setting description

Keep the existing concise setting and policy description while retaining the runtime availability behavior. (Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-30 02:56:36 +00:00
Bryan ChenandCopilot 15fc669eed telemetry: report ResizeObserver delivery context (#328065)
* telemetry: report ResizeObserver delivery context

The browser's ResizeObserver loop ErrorEvent contains only a generic message; it does not expose the skipped target or causative callback. Prefixing that warning with the most recently invoked DisposableResizeObserver therefore turned callback order into false causal attribution.

Record the wrapped observers that ran in the current rendering frame instead. Context is scoped per window, deduplicated, sorted for stable bucketing, and bounded to the canonical smallest eight names plus an overflow marker. The telemetry prefix explicitly calls these recent wrapped observers rather than an offending consumer.

Clear context at the next animation frame, after Blink dispatches any loop warning from the current rendering update. Unit coverage locks deduplication, canonical overflow, window isolation, and frame cleanup; a real Chromium component fixture deliberately triggers a self-resize loop and verifies context survives until the native warning.

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

Copilot-Session: aacd276e-cf84-48bd-a2ab-6f6a4d4c3431

* telemetry: shorten ResizeObserver context prefix

ResizeObserverLoopContext already identifies the observer names as non-causal context, so remove the redundant 
ecentWrappedObservers= label from the emitted error string.

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

Copilot-Session: aacd276e-cf84-48bd-a2ab-6f6a4d4c3431

---------

Copilot-Session: aacd276e-cf84-48bd-a2ab-6f6a4d4c3431
2026-07-29 15:53:37 -07:00
Hawk TicehurstandCopilot 499c580031 Update chat send button to use new up arrow compact icon (#327888)
* Update chat send button to use new up arrow compact icon

* Fix chat send button smoke selectors

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-28 17:35:00 -04:00
Bryan ChenandCopilot 938777f227 Fix chat ResizeObserver loop by observing rows only while mounted (#327753)
Chat telemetry reported a large volume of "ResizeObserver loop completed
with undelivered notifications" warnings attributed to
ChatInputPart.containerHeight. That attribution is misleading: the loop
error is dispatched by Chromium after the observation phase, so the
DisposableResizeObserver name recorded is simply whichever observer
fired last, not the one that caused the loop.

The actual cause is in ChatListItemRenderer. Row templates observed
their rowContainer for the entire template lifetime, but the chat list
is virtualized and recycles rows. When an observation phase disconnects
an observed target, its notification can never be delivered, and the
browser raises the loop error.

Bind the row observation to mount state using the existing
connection-observer element: observe on connect, clear on disconnect.
This is synchronous with mount, so it needs no frame deferral.

Also stop ChatViewPane's stacked-sessions input-height autorun from
re-entering inputPart.layout(). It now uses a targeted path that
updates the height budget and lays out only list-side surfaces.

Adds a component-explorer harness with fully mocked model traffic and a
Playwright regression covering four host-layout scenarios, plus a unit
test locking the targeted layout dispatch order.

Refs #316501

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: aacd276e-cf84-48bd-a2ab-6f6a4d4c3431
2026-07-28 12:04:41 -07:00
Ulugbek AbdullaevandCopilot 747d9f3999 Automations: Cap empty-state button width (#327791)
* Automations: Cap empty-state button width

Keep the empty-state CTA aligned with its explanatory copy and add CI-blocking dark/light fixture coverage for wide layouts.

Fixes #327772

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a856258f-4dcf-43c5-a1dd-e0704c440a2c

* Automations: Update blocks-ci screenshot hashes

Record the CI-generated dark and light hashes for the new Automations empty-state fixture.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a856258f-4dcf-43c5-a1dd-e0704c440a2c

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a856258f-4dcf-43c5-a1dd-e0704c440a2c
2026-07-28 12:15:43 +00:00
Paul f9a9ac4ab9 Add SDK logs to testing (#327698) 2026-07-27 23:01:37 +00:00
Copilotandhawkticehurst 59c5a12f34 Standardize chat send and stop button spacing (#327356)
Standardize chat action spacing

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>
2026-07-24 19:47:56 +00:00
Raymond ZhaoandDmitriy Vasyura 24be8b3cb4 chore: npm audit fix (#326903)
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-07-22 09:23:06 -07:00
Alex Ross 7ceb4a5584 Try fix macOS test flake (#326798)
* Try fix macOS test flake

* try again

* Platform agnostic preseed
2026-07-22 11:44:42 +00:00
dependabot[bot] 6fd173d3ae build(deps): bump shell-quote from 1.8.4 to 1.10.0 in /test/smoke (#326745)
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.4 to 1.10.0.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.4...v1.10.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.10.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-21 02:07:50 +00:00
dependabot[bot] acb35ed96a build(deps): bump body-parser from 2.2.1 to 2.3.0 in /test/mcp (#326743)
Bumps [body-parser](https://github.com/expressjs/body-parser) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-version: 2.3.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-20 18:44:26 -07:00
Alex Ross 7c5402a958 Fix macOS test flake (#326325)
* Fix for flaky  Test Claude session run in terminal

* Skill for diagnosing flaky smoke tests
2026-07-17 14:35:07 +00:00
Tyler James LeonhardtandCopilot 505665aeb5 Default editor and panel chat to Agent Host Copilot when the agent host is enabled (#326086)
* Default editor and panel chat to Agent Host Copilot when the agent host is enabled

Builds on the chat.editor.preferCopilotHarness behavior to make Agent Host
Copilot the computed default chat provider for both editor and panel chat
whenever the agent host is enabled, so first-time users land on Copilot instead
of Local. chat.editor.preferCopilotHarness stays scoped to the one-time
Local -> Copilot migration only.

- Thread an agentHostEnabled flag (from IAgentHostEnablementService) through the
  default-session-type resolution and its callers.
- Keep Local visible and selectable; honor explicit and remembered selections.
- New Local Chat opens a local session directly: it cancels the in-flight
  default-provider resolution (which would otherwise block on agent host
  activation) so the local request wins immediately.
- Open a Local chat first in all chat participant API tests, since chat
  participants are a Local-harness feature.
- Add a smoketest.openLocalChat command for Local panel smoke scenarios; the
  sandbox reopen path reveals the existing local session to avoid a focus race.
- Register an IAgentHostEnablementService stub in the component fixtures.

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

* chat: honor resolved session type when starting a new chat

Fixes the New Chat drop bug (review comment #2 on #326086): when the
agent host is enabled the computed default is a non-local harness, so the
editor clear path recomputed that default and dropped explicit or
preserved local requests.

- clearChatSessionPreservingType now branches on the resolved session
  type for the sidebar (non-local -> loadSession, local ->
  startNewLocalSession) so a generic New Chat from a Local panel
  preserves Local, consistent with contributed panels.
- The resolved type is threaded through IChatWidget.clear ->
  viewOptions.clear -> chatEditor.clear -> clearChatEditor so the editor
  opens a session of that type instead of recomputing the default. This
  restores explicit "New Local Chat" from a non-local editor.
- clearChatEditor applies an explicit target type directly and keeps its
  swap-aware default only for direct (untargeted) calls.

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

* chat: cancel the previous applyModel resolution before replacing it

Assigning a new CancellationTokenSource to the MutableDisposable only
disposes the previous source, and disposing a CancellationTokenSource
does not cancel it. So a re-entrant applyModel() (view render, switch
session) left the prior in-flight resolution running, racing to call
showModel with a stale result. Cancel the previous source explicitly
before replacing it.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-17 00:15:19 +00:00
Logan Ramos f38816eb09 Refactor model picker architecture (#326052)
* Refactor model picker

* Some linters and formatters

* Cleanup some old tests

* Simplify model picker state and configuration

* format stuff

* Address model picker review feedback

* Update blocks-ci screenshot hashes

* Simplify model picker architecture terms
2026-07-16 16:10:47 +00:00
Dileep Yavanmandha f7b500c0e0 flakytest: skip sandbox test causing build failure (#326009)
test: skip terminal sandbox smoke test
2026-07-15 17:43:31 +00:00
Dileep YavanmandhaandCopilot Autofix powered by AI be91eb5f91 Updated sandbox tests (#325161)
* Cherry picking MSRC [115444] to main

* Add chat terminal sandbox smoke tests

* Potential fix for pull request finding

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

* Expand chat terminal sandbox smoke coverage

* Test terminal sandbox temp directory isolation

* Run chat sandbox smoke tests remotely

* Repeat chat sandbox smoke tests

* merging changes

* smoke test investigation

* test: stabilize chat sandbox smoke tests

* test: stabilize sandbox UI assertions

* test: stabilize repeated chat sandbox smoke tests

* test: remove repeated chat sandbox runs

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-15 09:00:00 -07:00
Christof Marti 23e52847b7 Proxy test with isolated process on macOS (#325774) 2026-07-15 16:44:32 +02:00
Alex Ross c344fb62c1 More resilient session finding (#325794) 2026-07-14 13:49:04 +00:00
Dirk Bäumer 7e4e91cab4 Adapt to TypeScript 7 (#325757)
* Adapt TypeScript 7

* Ensure that we always call TS7 from spawnTsgo

* Fix package lock file

* tsc - tsc6

* More tsc -> tsc6

* More TSGO conversion

* More moves from tsgo -> tsc

* Fix tsgo resolving in extension folder

* Call TS7 compiler directly

* Update package-lock.json

* Remove tsc:version again
2026-07-14 12:34:04 +02:00
vs-code-engineering[bot]andvs-code-engineering[bot] 7830970d5c [cherry-pick] test: skip flaky chat sandbox home-read smoke test (#325584)
Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
2026-07-13 10:10:25 +00:00
RoboandCopilot f50ecf404d fix: sandbox smoke test configuration race (#325532)
Restart the application after updating sandbox settings so
configuration changes are loaded before running the allowRead
and allowNetwork probes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-13 05:32:44 +00:00
Robo dc7db07400 chore: update electron@42.6.0 (#325428)
* chore: update electron@42.6.0

* chore: update node.js build

* temp: bump distro

* chore: update deb dependencies

* chore: update rpm dependencies

* chore: add missing platform dep to allow-scripts

* chore: bump distro
2026-07-12 20:30:31 +00:00
Martin Aeschlimann 61b8df11ad add 'migrate prompt files' to customization UI (#325155)
* add 'migrate prompt files' to customization UI

* update

* update

* add setting

* add migrate label

* update

* update

* update screenshots

* update

* update

* update

* update

* update

* update screenshots
2026-07-11 15:12:57 +00:00
Alexandru Dima 087d49e2a7 Skip flaky test (see #325266) (#325343) 2026-07-10 18:44:50 +00:00