Skip to content

[pull] main from microsoft:main - #1572

Merged
pull[bot] merged 20 commits into
code:mainfrom
microsoft:main
Aug 9, 2026
Merged

[pull] main from microsoft:main#1572
pull[bot] merged 20 commits into
code:mainfrom
microsoft:main

Conversation

@pull

@pull pull Bot commented Aug 9, 2026

Copy link
Copy Markdown

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 : )

digitarald and others added 20 commits August 9, 2026 10:07
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bound Agent Host response file caches

Use LRU caches for per-request change and file-edit observables so large sessions cannot retain every turn forever. (Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* agentHost: classify Copilot startup failures

Add bounded startup cause, resource, and exit-code telemetry, including SDK timeouts and permission failures.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: narrow sandbox failure matching

Match concrete sandbox executables and cover unrelated path segments.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
agentHost: keep shell read helpers non-terminal

Only synthesize terminal result content for primary shell command tools, and cover completed shell-read helpers across live events, history replay, and provider E2E traffic.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Select bash explicitly on POSIX for the scenario that verifies OSC 633 command metadata, instead of depending on the build account's system shell. Restore the default-shell config after the test so shared-server siblings remain isolated.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* agentHost: track SSH connection outcomes

Pause automatic reconnect after host key denial and add privacy-safe SSH connection attempt telemetry.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: cover all SSH connect paths

Instrument the primary first-time SSH flow and add explicit automatic versus user resume coverage.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Address prompt option review feedback

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* sessions: prevent transient duplicate Agent Host sessions

Prefer the pending draft while its committed adapter is cached, and avoid a redundant host-wide session refresh when SessionAdded already supplied the commit. (Written by Copilot)

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

* sessions: simplify transient duplicate fix

Keep the fix scoped to the provider's advertised-session invariant and cover both SessionAdded orderings. This avoids changing commit matching semantics. (Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Restore persisted agent request errors

(Written by Copilot)

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

* Restore errors on subagent turns

(Written by Copilot)

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

* Remove obsolete proxy error reference

(Written by Copilot)

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

---------

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

The model picker showed a "Sign in to use Copilot" affordance whenever
chatRequiresSetup(...) was true, which also matched returning users with a
cached Free/Pro/EDU entitlement and completed === false. For that cohort
triggerSetup takes the silent DefaultSetup path, so the click was a no-op that
self-dismissed without signing anyone in -- notably in Codespaces, where the
title-bar Sign In badge is suppressed in web.

Narrow the picker's setup condition to the cohorts for whom triggering setup
actually shows a dialog: signed out (Unknown -> sign-in) and sign-up eligible
(Available -> sign-up), via a new pure, unit-tested helper
modelPickerRequiresSetup. This is chatRequiresSetup branches 4 (Available) + 5
(Unknown && !anonymous && !hasByokModels); the !completed and disabled branches
are intentionally dropped. Restricted Mode and the shared chatRequiresSetup
(still used by the chat setup flow) are unchanged.

Fixes #323562

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
* agentHost: add local host restart command

Add a Developer command that replaces the shared local Agent Host process and reconnects every local client immediately. Preserve fresh-host subscriptions and restore cold sessions before applying queued actions so existing chats and tool confirmations continue after restart.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: harden restart recovery

Recover interrupted initial handshakes, restore cold subagents through their parent sessions, and bound restart lifecycle disposables. Add regression coverage for each review finding.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add full-text hover to prompt options

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

* Show three onboarding prompt options

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chat: preserve scroll position between sessions

Keep bounded per-chat widget view state across the Chat panel, chat editors, and Agents window. Restore exact offsets when scrolled up and follow new content when previously pinned to the bottom.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: capture view state before session UI updates

Save the outgoing transcript before applying the incoming chat's read-only layout so relayout cannot alter the captured position.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Clean deleted Agent Host session state

Release metadata, snapshots, subscriptions, and timers when sessions are explicitly deleted or removed. (Written by Copilot)

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

* Strengthen deleted session cleanup

Centralize provider state cleanup and cover subscription, timer, state, metadata, and notification race behavior. (Written by Copilot)

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

* Flush successful session deletions on failure

Publish and dispose successful removals before propagating a later batch deletion error. (Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Mute GitHub numbers in prompt options

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix slow sash resizing with chat sessions

* address comments
* pet: keyboard hop

* address comments
@pull pull Bot locked and limited conversation to collaborators Aug 9, 2026
@pull pull Bot added the ⤵️ pull label Aug 9, 2026
@pull
pull Bot merged commit c90f202 into code:main Aug 9, 2026
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.

5 participants