Skip to content

[pull] main from microsoft:main#1248

Merged
pull[bot] merged 19 commits into
code:mainfrom
microsoft:main
May 13, 2026
Merged

[pull] main from microsoft:main#1248
pull[bot] merged 19 commits into
code:mainfrom
microsoft:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 13, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

bhavyaus and others added 19 commits May 12, 2026 23:07
Adds the four per-dimension Hydra scores (reasoning, code_gen, debugging, tool_use) as measurements on the MSFT automode.routerDecision event so router quality can be analyzed per-dimension in dashboards. Drops predictedLabel since it's a deterministic function of the dimension scores and the binary scores are already on the restricted GH event for joins.
Log Hydra per-dimension scores in automode.routerDecision telemetry
…rness (#316144)

* sessions: hide harness picker and host suffix in web when single harness

In vscode.dev/agents the workbench is already scoped to a single agent
host via the host filter, so:

1. The session-type picker in the new chat view is hidden when there is
   only one harness available (nothing to pick). The existing CSS rule
   on `.session-workspace-picker-with-label` collapses the dangling
   "with" connector automatically via `:has()`.
2. The `[Host]` suffix is dropped from session-type labels, so they
   read e.g. "Copilot CLI" instead of "Copilot CLI [My Host]".

Both behaviors are gated on `isWeb` / `isWebPlatform`; desktop is
unchanged.

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

* sessions: update tests for web no-host-suffix label

Browser tests run with isWebPlatform === true by default, so the
existing assertions for 'Copilot [My Host]' need to drop the suffix.
Add an explicit desktop-branch test that overrides isWebPlatform to
preserve coverage for the suffixed label.

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

* sessions: keep desktop test assertions, add explicit web coverage

The browser test runner runs in electron renderer where isWeb is false,
so the existing 'Copilot [My Host]' assertions were correct. Restore
them and add a separate test that overrides isWebPlatform: true to
cover the web no-suffix branch.

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

* sessions: pin host-suffix tests to desktop branch

Tests run in both electron renderer (isWeb=false) and playwright
browser (isWeb=true), so assertions that depend on the platform branch
must override isWebPlatform explicitly.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fix desktop config picker order on mobile-aware subclass

The session-config picker action view item always instantiates
MobileAgentHostSessionConfigPicker (so its _showPicker can route to
the mobile bottom sheet on phones). _showPicker correctly delegates
to super on desktop via an isPhoneLayout guard, but _orderProperties
was missing the same guard, so desktop viewports were rendered with
the mobile chip-lane order (Branch, Worktree) instead of the desktop
order (Worktree, Branch).

Add the same isPhoneLayout guard to _orderProperties so desktop
viewports defer to the base ordering.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…t display (#316149)

* refactor: disable fetching agents from SDK due to performance concerns

* fix: defer marking old chat model as read to prevent blocking new chat display

* revert for now

* fix: register deferred old-session read timer with disposables

Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* Optimize agent mode instructions handling for efficiency

* Potential fix for pull request finding

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

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ly (#316153)

* Refactor getSDKAgents to avoid using SDK for finding agents temporarily

* Potential fix for pull request finding

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

* Updates

* Refactor getAgentsImpl to remove SDK agent retrieval for improved performance

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* send telemetry for CLI tool calls

* 💄

* Address Copilot CLI telemetry review feedback

* Fix Copilot CLI telemetry tool name fallback
…e output" (#316165)

Revert "run_in_terminal: promote sync command to background after idle output…"

This reverts commit c414bd9.
…#315558)

* build: bump @vscode/gulp-electron to 1.41.3

Brings in microsoft/vscode-gulp-electron#42 which adds retry-with-backoff
around transient network errors when downloading Electron, fixing build
breaks like getaddrinfo ENOTFOUND release-assets.githubusercontent.com.

NOTE: package-lock.json will be regenerated once 1.41.3 is published.
Do not merge until then.

* Sync package-lock.json with package.json after updating @vscode/gulp-electron to 1.41.3.
…les (#316173)

After Windows smoke tests finish, Electron child processes (ptyHost,
sharedProcess, network-shared, etc.) can outlive the main process and
keep .build/logs/smoke-tests-electron/*/main.log and friends locked.
That makes the 1ES auto-injected 'Publish Log Files' output fail when
it tries to hash those files (~2 minutes later), failing the whole
Windows Electron Tests job even though all tests passed.

Add a defensive cleanup step right after PublishTestResults that
force-kills any process whose executable lives under the test build
directory, so the publish step has unlocked files to hash.

Refs flaky-test occurrence in build 438755 attempt #1.
@pull pull Bot locked and limited conversation to collaborators May 13, 2026
@pull pull Bot added the ⤵️ pull label May 13, 2026
@pull pull Bot merged commit efa9345 into code:main May 13, 2026
10 of 23 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants