Repository navigation
ci: comment out the macOS jobs of the pull request checks - #346383
Merged
Logan Ramos (lramos15) merged 4 commits intoNov 6, 2026
Merged
Conversation
Over two weeks of pull request runs, almost every pull request with a test failure on a commit that never passed later also failed on Linux, Windows or Compile & Hygiene. The failures that only macOS caught were WebKit-only test fixes, flakes and setup failures, except for two product bugs: timing races that the timing of the macOS runners exposed rather than macOS-specific code, which now have regression tests that run on the other platforms (#345028, #345683). Meanwhile, macOS / Remote is the slowest job of a pull request, and the macOS jobs regularly wait for a runner. The Azure product build keeps running the full macOS test suite on main (build/azure-pipelines/darwin/steps/product-build-darwin-test.yml: unit, WebKit browser unit, integration, smoke and remote tests), so macOS regressions are still caught after merge. pr.yml no longer runs the macOS jobs (pr-darwin-test.yml, which this removes, and chat-lib - Test (macOS)), and PR Gate, the only check that branch protection requires, no longer needs them. This also removes what only served those jobs: the electron-tests output of Detect Changes, the macOS job of pr-node-modules.yml that warmed their caches, the macOS workspace image and its restore code, which no job used, and the time that the smoke test shards reserved for the macOS proxy runs. The manual chat-lib-package.yml still runs on macOS, where test-chat-lib now installs the dependencies instead of restoring a cache that no job saves anymore. Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
A maintainer needs to accept the coverage-policy tradeoff of removing all pre-merge macOS/WebKit checks and relying on post-merge Azure validation to detect platform-specific regressions.
No open issues 🎉
What changed in this PR
Removes macOS jobs from Code OSS pull request checks to reduce runner waits and check duration, while retaining macOS coverage in the Azure product build.
Changes:
- Removes macOS PR tests, cache warming, workspace images, and their PR Gate dependencies.
- Makes the manual macOS chat-lib workflow install dependencies directly and removes obsolete macOS smoke-shard balancing.
- Updates workflow consistency tests, ownership entries, and documentation for Linux and Windows PR coverage.
| File | Description |
|---|---|
test/smoke/src/shard.ts |
Removes the macOS proxy-run time reservation. |
src/vs/platform/agentHost/test/node/e2e/README.md |
Updates platform coverage and test-selection documentation. |
build/ripple/vscode.jsonc |
Removes the deleted macOS workflow from selection inputs. |
build/ripple/README.md |
Documents Linux and Windows PR test planning. |
build/lib/test/detectMissingCaches.test.ts |
Updates cache expectations for remaining platforms. |
build/lib/test/detectChanges.test.ts |
Updates workflow and change-detection assertions. |
build/lib/test/agentHostTestSelection.test.ts |
Removes macOS-specific selection expectations. |
.github/workflows/workspace_image/README.md |
Removes macOS image documentation. |
.github/workflows/workspace_image/image.ts |
Removes macOS image mounting support. |
.github/workflows/pr.yml |
Removes macOS jobs, unused output, and gate dependencies. |
.github/workflows/pr-workspace-images.yml |
Removes macOS workspace image creation. |
.github/workflows/pr-win32-test.yml |
Corrects the smoke-sharding comment only. |
.github/workflows/pr-node-modules.yml |
Removes macOS cache warming and its output. |
.github/workflows/pr-darwin-test.yml |
Deletes the reusable macOS PR test workflow. |
.github/workflows/node_modules_cache/README.md |
Updates the documented cache consumers. |
.github/skills/smoke-tests/SKILL.md |
Updates sharding and artifact guidance. |
.github/skills/fix-ci-failures/SKILL.md |
Removes macOS PR artifact examples. |
.github/CODEOWNERS |
Removes ownership for the deleted workflow. |
.github/actions/test-chat-lib/action.yml |
Skips cache restoration on macOS, allowing installation. |
.github/actions/detect-missing-caches/detect.ts |
Removes macOS cache definitions and runner type. |
.github/actions/detect-missing-caches/action.yml |
Removes the macOS cache-detection output. |
Review effort: Balanced
So that the macOS jobs can run again later, pr.yml now comments them out instead of removing them, and pr-darwin-test.yml stays. Their wiring is commented out with them: the electron-tests output of Detect Changes, their entries in the needs of PR Gate, and the macOS jobs of pr-node-modules.yml and pr-workspace-images.yml with the macOS entries of .github/actions/detect-missing-caches. What only those jobs use is back as it is on main: the time that the smoke test shards reserve for the macOS proxy runs, the macOS restore of the workspace images, the macOS cache of test-chat-lib, and the entries of pr-darwin-test.yml in CODEOWNERS and in the configuration of ripple. The tests keep checking pr-darwin-test.yml, and the comment on the macos-tests job lists what to uncomment to run the macOS jobs again. Co-authored-by: Copilot <[email protected]>
Logan Ramos (lramos15)
marked this pull request as ready for review
November 6, 2026 00:00
Michael Lively (Yoyokrazy)
approved these changes
Nov 6, 2026
Contributor
|
Base:
|
Bryan Chen (bryanchen-d)
approved these changes
Nov 6, 2026
Ross Wollman (rwoll)
approved these changes
Nov 6, 2026
Logan Ramos (lramos15)
enabled auto-merge (squash)
November 6, 2026 00:11
Logan Ramos (lramos15)
deleted the
agents/remove-macos-jobs-from-pr-checks
branch
November 6, 2026 00:38
Alejandro Daniel Di Stefano (Drako01)
added a commit
to Drako01/armotusitio-ide
that referenced
this pull request
Nov 11, 2026
* Sessions: a hidden subagent chat no longer keeps a session's grid slot (#346342) Sessions: a hidden subagent chat does not keep a session's grid slot When a session's only visible chat moved into a chat window, hideChatFromGrid checked the session's open chats to decide whether it was the only chat the grid showed. Open chats include subagent (tool-origin) chats that are not shown as tabs, so the session kept its pane, showing the new-chat composer. Check the chats shown as tabs instead; subagent chats still open on demand. When the session's slot leaves the grid, remove only that slot and keep its chats shown in panes of their own, as closing the session does. Removing the slot used to dispose those detached panes too. This was already the case for a session with just a main chat and a detached chat; a hidden subagent chat only masked it by keeping the slot. If the slot was active, the session's detached pane becomes active instead of the new-session composer. Co-authored-by: Copilot <[email protected]> * terminal: allow auto local echo for remote agent host terminals (#346392) Agent host terminals use a custom pty, so they have no remote authority. Thus the `auto` value of `terminal.integrated.localEchoEnabled` did not enable typeahead for them, also when the agent host is on a different machine. - Adds `IShellLaunchConfig.isRemotePty` to mark a custom pty that runs on a different machine. - Sets `isRemotePty` for agent host terminals when the connection kind is not `Local`. - Makes the typeahead contribution treat a terminal with `isRemotePty` as remote. - Makes `terminal.integrated.localEchoEnabled` experiment-controlled. The default stays `off`. - Logs the experiment trigger when a remote terminal starts and the user did not set the value. (Commit message generated by Copilot) Co-authored-by: Copilot <[email protected]> * Document that experiment pull requests describe only the code change (#346393) Pull requests, commits and issues that ship, change, graduate or remove an experiment describe only the code change, without the experiment's rollout or results, even without numbers. The Public Content guidance and the experiments skill gave "the experiment showed no regression" and a primary-metric sentence as examples of acceptable public conclusions, which invited exactly those sentences. The conclusion example for other internal data is now "the error is common on Windows". 🤖 Authored with GitHub Copilot on behalf of @alexdima. Co-authored-by: Copilot <[email protected]> * build: install the built-in extensions with their own pnpm workspace (#346370) * extensions: declare the packages that the extensions use from the root workspace The built-in extensions import some packages that only the repository root's package.json declares: Node.js finds them by walking up to <repo>/node_modules. Each extension now declares what it uses, with the root's version ranges, so that the extensions no longer depend on the root workspace's manifest: - mocha and @types/mocha in the 16 extensions whose tests use them, and @types/mocha in microsoft-authentication - sinon and @types/sinon in the 7 extensions whose tests use them - glob in the css and html language server test runners - util in emmet (its browser bundle includes the polyfill) - path-browserify (the alias of the browser builds) and minimatch (the theme-seti update script) in extensions/package.json - @types/vscode-notebook-renderer in ipynb, @types/node in markdown-math The lockfile only gains the importer entries: every declaration resolves to a version that is already locked. Co-authored-by: Copilot <[email protected]> * build: install the built-in extensions with their own pnpm workspace The built-in extensions (every project under extensions/ except Copilot, which stays a separate install root) move from the root workspace to a new install root in extensions/, with its own pnpm-workspace.yaml and pnpm-lock.yaml. The product build bundles the extensions, so the layout of their node_modules doesn't ship; this lets the extensions change their node_modules layout (for example to pnpm's isolated layout) independently of the root workspace. - The lockfile entries were moved without resolving anything again: the 39 importers and the 663 snapshots they use (193 shared with the root, which keeps 1537). Every package entry is the same as in the root lockfile. extensions/package.json declares tslib and zod, the peers that the root project provided (applicationinsights and @vscode/hubrpc), so they resolve to the same versions; zenuml's optional playwright-core peer is no longer linked. - extensions/pnpm-workspace.yaml has the root's settings, with the overrides, allowBuilds and minimumReleaseAgeExclude entries that apply to the extensions (removed from the root where they only applied there), and hoistWorkspacePackages: false, so that the extensions aren't linked into extensions/node_modules by their names (emmet, gulp, npm, git, ...). - extensions/.pnpmfile.mjs builds native modules for Electron, from the `nativeBuild` field of the root package.json. - build/npm/dirs.ts, postinstall, the node_modules cache key, the workspace image inputs and the license scanner (extensions/node_modules, including its nested node_modules, and the extensions lockfile) know the new root. Co-authored-by: Copilot <[email protected]> * build: update the grammar updater, lint and Dependabot paths for the extensions workspace Review feedback on the extensions install root: - The update-grammar scripts of 33 extensions ran the grammar updater from ../../node_modules, which no longer has it: it is a dependency of extensions/package.json, so it is installed in extensions/node_modules. - A change to extensions/pnpm-lock.yaml now lints the extensions that are linted with type information, like a change to the root pnpm-lock.yaml (kept, because the root workspace's TypeScript and typescript-eslint run that lint). - Dependabot updates @vscode/markdown-editor in the extensions workspace (/extensions), which now has markdown-language-features and its lockfile. Co-authored-by: Copilot <[email protected]> * extensions: declare zod in mermaid-markdown-features instead of extensions/package.json mermaid-markdown-features uses @vscode/web-editors, whose @vscode/hubrpc dependency has zod as a peer. The root workspace's project used to provide it; mermaid-markdown-features now declares it (4.4.3, like markdown-language-features), instead of extensions/package.json. The lockfile resolves the same: only the importer entry moves. Co-authored-by: Copilot <[email protected]> * extensions: declare tslib in the extensions that need it instead of extensions/package.json @vscode/extension-telemetry uses @microsoft/applicationinsights-* 3.3.4, which has tslib as a peer. The root workspace's project used to provide it. The nine extensions that use @vscode/extension-telemetry (git, github, github-authentication, html-language-features, json-language-features, markdown-language-features, merge-conflict, microsoft-authentication, typescript-language-features) now declare it instead of extensions/package.json. The lockfile resolves the same: only the importer entries move. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * Sessions: dispose the Inbox's new-session composer before its scoped services (#346359) * sessions: dispose the Inbox's new-session composer before its scoped services The Inbox added the services of its new-session composer's scope to the same store as the composer, and before it. As the Inbox went away, those services were disposed first. The composer's prompt options then cleared its input as it went away, so its chat widget parsed the input with a disposed instantiation service and threw "InstantiationService has been disposed". The services of the composer's scope are now kept in a store disposed after the composer, as a session view does for its children. Known pattern, not changed here because nothing uses those services while it is disposed: a scope is still registered before what it creates in - the Inbox's question carousel and its chat exchange list, - SharedChatInputComposer's chat widget, after its widget services, - ChatView's chat widget, after its scoped instantiation service. Co-authored-by: Copilot <[email protected]> * sessions: dispose a canvas's content before the services of its scope Closing the Inbox still logged "InstantiationService has been disposed": the window canvas service added the services of a canvas's scope to its store before the canvas it created with them, so closing the Inbox disposed its child instantiation service first. Disposing an instantiation service disposes its children, so the services of the Inbox's new-session composer were gone before the Inbox disposed it, and the composer's prompt options, clearing its input as they went away, made its chat widget create with a disposed service. The canvas service now keeps the services of a canvas's scope in a store disposed after the canvas. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * agent Host: keep migrated local agent sessions in the root they were working in (multi-root workspaces) (#346381) * agent Host: keep moved Local chats in the root they were working in (multi-root workspaces * Feedback updates * [Perf] chat: avoid cloud sandbox discovery scan loops (Written by Copilot) Keep recorded-history retrieval out of cloud sandbox inventory discovery and retain unresolved task IDs for incremental retries after completed enumeration. Co-authored-by: Copilot <[email protected]> * agentHost: ask for consent when Copilot extensions request permissions (#346395) * agentHost: ask for consent when Copilot extensions request permissions The Copilot runtime asks for consent when an extension declares privileged capabilities, such as hooks. This request has no tool call, so the agent host rejected it without asking the user, and extensions such as grove-agent-monitor did not load. - Handles `extension-permission-access` requests before the missing-`toolCallId` check. The check stays for all other permission kinds. - Holds a request until a turn is ready to show it, then shows a confirmation in that turn: Allow Once, Always Allow, Not Now and Never. Only disposal of the session ends the wait. Allow All approves the request, and Autopilot declines it. - Adds the host setting `extensionPermissionApprovals`. Always Allow and Never are kept there for each extension name and set of capabilities, so a request for more capabilities asks again. The runtime does not keep approvals when a session resumes. - Moves the MCP skill confirmation into a shared helper, `_confirmEphemerally`. The helper keeps the Always Allow and Never decisions, and keeps the turn open until the user answers. - Emits the confirmation as a trusted root-turn action, so that it is not dropped after an abort before the next SDK turn starts. Fixes https://github.com/microsoft/vscode-internalbacklog/issues/10615 (Commit message generated by Copilot) Co-authored-by: Copilot <[email protected]> * agentHost: show extension consent in steering and provider-initiated turns - Marks steering turns and provider-initiated turns as ready for permission prompts. These turns do not run the turn preparation, so a waiting extension consent request was not shown until a later normal send. - Adds a test for a provider-initiated turn. (Commit message generated by Copilot) Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * agentHost: let the Search Tools toggle control tool search (#346375) Remove the chat.agentHost.copilot.toolSearch.enabled and chat.agentHost.copilot.toolSearch.deferThreshold settings, and the matching toolSearchEnabled/toolSearchDeferThreshold Agent Host root config keys. Copilot sessions now enable tool search only when the model supports it and the client forwards its toolSearch tool, which users control with the Search Tools toggle in Chat Customizations. Turning it off loads every tool up front. The defer threshold is fixed at 1, the previous default. Co-authored-by: Copilot <[email protected]> * agentHost: admit configured MCP installs before sending values, and neutralize prompt links Recheck the runtime client, policy session, expiry and disposal after claiming a configuration request and before values or secrets reach mcp.prepareInstall, since prompts can stay open across an authentication change. Split '](' in untrusted plan text so Quick Input cannot turn it into a command link. Co-authored-by: Copilot <[email protected]> * [Perf] sessions: index automation badge session lookups (#346405) * [Perf] sessions: index automation badge session lookups Avoid rescanning the session catalog for every automation run while preserving URI identity and first-match behavior. Fixes #346329 Co-authored-by: Copilot <[email protected]> * signing commit --------- Co-authored-by: Copilot <[email protected]> * agentHost: drop unrecognized restricted events (#346400) * agentHost: drop restricted SDK copies from standard telemetry Discard restricted notifications in both general and compaction forwarding rather than publishing duplicate metrics and restricted properties through publicLog. Preserve the separate restricted router and cover the standard-only forwarding contract in regression tests. Co-authored-by: Copilot <[email protected]> * agentHost: align restricted fallback routing coverage Update the host-level routing regression to require restricted fallback events to be dropped while dedicated routes and standard forwarding remain covered. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * Update CODENOTIFY for canvases (#339679) * Update contributions in CODENOTIFY Added @jruales to the contributions for canvases. * Expand Canvas code notifications Co-authored-by: Copilot App <[email protected]> * Exclude Inbox Canvas integration from notifications Co-authored-by: Copilot App <[email protected]> * Limit Canvas notifications to contributed folders Co-authored-by: Copilot App <[email protected]> * Add Ulugbek to Canvas folder notifications Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: Copilot App <[email protected]> * agentHost: keep removal wording, validate secrets in the prompt, and fake timers in an expiry test Unfinished removals report removal wording again instead of installation reasons. The secret prompt applies the host's NUL and size checks so an oversized secret is caught while it can still be edited. The client-admission expiry test runs on virtual time so setup can't expire the plan early. Co-authored-by: Copilot <[email protected]> * agentHost: install local MCP packages from Browse with non-secret values Browse/Feed MCP servers that only offer a local package (for example Playwright MCP) failed because the runtime's owned install flow is remote-only. The host now configures them itself, reusing the MCP Gallery path: it verifies the card against the plan's digest, builds the command with the existing manifest parser and writes it with mcp.config.add after review. Packages that need environment or argument values get a configuration request; the client prompts and reviews by command, and the host places each value exactly where the runtime's plan declares it. Packages that need secrets still fail closed until the runtime can store them. Co-authored-by: Copilot <[email protected]> * agentHost: configure local MCP packages with values from Gallery cards too Local package installs are written by the host, so they don't need a session-bound plan. Allow MCP Gallery cards whose package needs non-secret values to use the same configuration request as Browse/Feed entries. Co-authored-by: Copilot <[email protected]> * agentHost: configure MCP Gallery remotes with non-secret values in the host The runtime refuses values for unbound direct-card plans (github/copilot-agent-runtime#26495), so MCP Gallery remotes that need header or URL values could not be installed. The host now writes them itself, like Gallery packages: it verifies the card against the plan's digest, matches the plan's remote choice, substitutes the submitted values literally and writes the result with mcp.config.add. Remotes that need secrets still fail closed. Co-authored-by: Copilot <[email protected]> * agentHost: support repeated arguments for host-written MCP packages Local packages are configured by the host, so a repeatable runtime or package argument can be written once per value. The workbench collects such a value one entry at a time in the same step (empty finishes, Back removes the last entry), and the host places each submitted entry in order. Runtime-owned installs and Gallery remotes still refuse repeated values, since the runtime accepts one value per key and a header or URL slot holds one value. Co-authored-by: Copilot <[email protected]> * agentHost: address review feedback on host-written MCP installs Write to the reviewed configuration key, keep the policy-session binding for input-free catalog packages, ignore fixed header variables when matching card remotes, require values that sit inside templates, parse substituted URLs fully, keep SSE remotes as SSE, show a package's environment and full command in the review, clear a repeated value removed with Back, and make the command or endpoint preview available to screen readers. Co-authored-by: Copilot <[email protected]> * chat: allow dragging inline attachment pills (#346424) Move individual attachment pills within their source chat input using a pill-only preview anchored at its bottom-left corner. Preserve attachment metadata, undo/redo, and existing open and remove interactions. Reset surrounding drop tracking when internal drags finish so subsequent external file drops retain their feedback. Add regression tests and accessibility guidance. Co-authored-by: Copilot <[email protected]> * chat: preserve slash references through editing and draft sync (#346420) * chat: preserve slash references through editing and draft sync Keep accepted skill and command references intact across input edits, sent messages, restored history, and shared drafts. - Parse accepted completions as structured references, including the first request after the composer changes. - Keep attachment updates from replacing reference ranges before edits are tracked. - Batch atomic reference cleanup so other references keep their correct ranges. - Preserve inline references and metadata when drafts move between windows. - Ignore parser-created attachment changes so sent drafts do not return. - Protect unsent local edits and deliberate model choices during remote clears. - Add regression tests for editing, history, queued requests, and two-window sync. (Commit message generated by Copilot) Co-authored-by: Copilot <[email protected]> * chat: normalize shared draft references before comparison Keep remote draft clears independent of view-only reference changes. - Normalize optional reference fields and reference order before comparison. - Ignore parser-added attachment ranges without losing backing payloads. - Keep multiline mentions as ordinary attachments to avoid invalid dynamic ranges. - Test remote clears before debounce and protect real unsent edits. (Commit message generated by Copilot) Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * ci: comment out the macOS jobs of the pull request checks (#346383) * ci: remove the macOS jobs from the pull request checks Over two weeks of pull request runs, almost every pull request with a test failure on a commit that never passed later also failed on Linux, Windows or Compile & Hygiene. The failures that only macOS caught were WebKit-only test fixes, flakes and setup failures, except for two product bugs: timing races that the timing of the macOS runners exposed rather than macOS-specific code, which now have regression tests that run on the other platforms (#345028, #345683). Meanwhile, macOS / Remote is the slowest job of a pull request, and the macOS jobs regularly wait for a runner. The Azure product build keeps running the full macOS test suite on main (build/azure-pipelines/darwin/steps/product-build-darwin-test.yml: unit, WebKit browser unit, integration, smoke and remote tests), so macOS regressions are still caught after merge. pr.yml no longer runs the macOS jobs (pr-darwin-test.yml, which this removes, and chat-lib - Test (macOS)), and PR Gate, the only check that branch protection requires, no longer needs them. This also removes what only served those jobs: the electron-tests output of Detect Changes, the macOS job of pr-node-modules.yml that warmed their caches, the macOS workspace image and its restore code, which no job used, and the time that the smoke test shards reserved for the macOS proxy runs. The manual chat-lib-package.yml still runs on macOS, where test-chat-lib now installs the dependencies instead of restoring a cache that no job saves anymore. Co-authored-by: Copilot <[email protected]> * ci: comment out the macOS jobs instead of removing them So that the macOS jobs can run again later, pr.yml now comments them out instead of removing them, and pr-darwin-test.yml stays. Their wiring is commented out with them: the electron-tests output of Detect Changes, their entries in the needs of PR Gate, and the macOS jobs of pr-node-modules.yml and pr-workspace-images.yml with the macOS entries of .github/actions/detect-missing-caches. What only those jobs use is back as it is on main: the time that the smoke test shards reserve for the macOS proxy runs, the macOS restore of the workspace images, the macOS cache of test-chat-lib, and the entries of pr-darwin-test.yml in CODEOWNERS and in the configuration of ripple. The tests keep checking pr-darwin-test.yml, and the comment on the macos-tests job lists what to uncomment to run the macOS jobs again. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * chat: enable Agent Host symbol attachments (Written by Copilot) Restore editor-side symbol suggestions in Agent Host chat and forward accepted symbols through file-selection attachment handling, including current buffer text for unsaved files. Co-authored-by: Copilot <[email protected]> * Copilot CLI: only use the local development shim in builds from source (#346426) Co-authored-by: Copilot <[email protected]> * chat: explain cloud sandbox discovery decisions (Written by Copilot) Add bounded inventory decision, progress, coalescing and feed lifecycle diagnostics through existing telemetry controls. Include focused coverage and count typed feed transport failures without inventing requests for authentication or local validation failures. Co-authored-by: Copilot <[email protected]> * agentHost: share local MC credentials (#346416) (Written by Copilot) Use the host's shared GitHub and Copilot credentials consistently for live Mission Control requests and restored background work when local credentials are enabled. Preserve remote caller admission, client-credential mode, independent MCP authentication, and credential snapshot lifetimes. Avoid repeated global sign-in for missing session sponsorship. Preserve manual repository sign-in for token challenges and direct unsponsored sessions toward resuming or reconnecting. Co-authored-by: Copilot <[email protected]> * agentHost: bump Copilot SDK to 1.0.29-preview.9 (#346409) * agentHost: bump Copilot SDK to 1.0.29-preview.9 (Written by Copilot) Bundle runtime 1.0.106-10 for desktop and remote. Refresh reviewed runtime prompt and permission/automation recordings, and retain strict assertions for the new BYOK message shape and unsupported managed effort behavior. Co-authored-by: Copilot <[email protected]> * Merge origin/main for SDK validation (Written by Copilot) Integrate upstream workspace and Agent Host changes so the SDK draft can merge and run CI. Co-authored-by: Copilot <[email protected]> # Conflicts: # pnpm-lock.yaml * agentHost: keep SDK lock entries portable (Written by Copilot) Remove environment-specific proxy tarball URLs while preserving the exact SDK versions and SHA512 integrity pins. Let pnpm verify and resolve artifacts through the configured registry in CI and Product builds. Co-authored-by: Copilot <[email protected]> * test: put back the page scroll position after every top-level unit test suite (#346317) Unit tests share one page per runner or worker. 14 test files leave it scrolled (mostly by 60px, by focusing an input appended below the fold), and later suites that measure page coordinates then fail depending on which files a worker ran before them: TabbedModelPicker comparison alignment and Artifact Integration Presentation in PR CI, and #345859 before. The scroll detector already snapshots the position around every top-level suite; restore it after the check, so the finding is still reported and later suites start unscrolled. Co-authored-by: Copilot <[email protected]> * build: stop processes that hold Windows test log files before publishing them (#346337) Publish Log Files failed twice (492717, 493303) because files under .build\logs were still open after the tests, while the kill step, which matches executables under the test folder, found no holder or killed only the server and the files stayed locked. Both runs had a git.exe left over that no green run has. Find the holders by file with the Restart Manager, log them, and stop those that the build user started. Co-authored-by: Copilot <[email protected]> * editor: fix duplicate editors when moving a group to another window (#346425) editor: close source group editors synchronously on cross-part moveGroup Co-authored-by: Copilot <[email protected]> * agentHost: preserve standard response correlation when restricted events arrive first (#346441) agentHost: drop restricted fallback events before consuming correlation Preserve the owning turn for the standard response when a restricted copy arrives first. Cover user- and agent-initiated success and error responses through the host routing boundary. Co-authored-by: Copilot <[email protected]> * agentHost: fall back to persisted history on missing worktree or MCP config errors and preserve adopted metadata (#346440) * agentHost: fall back to persisted history on missing worktree or MCP config errors and preserve adopted metadata * test fix * Chat links open in the chat window they were clicked in (#346450) * Agents: open chat links clicked in a chat window in that window A chat or session link activated by the user in a chat window opens as a new tab in the group of the chat it was clicked in, or beside it when opened to the side. A chat another chat window shows is revealed there; a chat the main window shows moves into this window. Clicks in the main window and opens that are not user gestures are unchanged. Co-authored-by: Copilot <[email protected]> * Agents: gate chat-window link redirect on the chat windows setting Co-authored-by: Copilot <[email protected]> * Agents: resolve the clicked chat of a link before awaiting its chat id The chat a link was activated in is now read when the link is opened, so a focus change while the link resolves does not move where it opens. Co-authored-by: Copilot <[email protected]> * Don't move focus into the main window when a grid chat moves into a chat window Hiding a chat from the grid removed it with focus, so the next active session or composer in the main window took OS focus away from the chat window. Co-authored-by: Copilot <[email protected]> * Don't move focus when seeding the empty grid's background draft Seeding a folder or no-workspace draft after the last grid chat leaves for a chat window now passes preserveFocus through openNewSession/openQuickChat, so the main window no longer takes OS focus. User-initiated New Session still focuses. Co-authored-by: Copilot <[email protected]> * Keep the main window from taking focus while another window holds it Revert the seed-only preserveFocus plumbing: seeding the empty grid's draft focuses as before, but the main window now skips moving focus while another window of the app is the active one. The skipped focus is applied once when the main window becomes active again and its focused element went away. Co-authored-by: Copilot <[email protected]> * Open links from a chat window in the main window when the chat window would end the chat A chat that is archived or gone is ended by a chat window, which left a blank tab. The opener now uses the same predicate as the window provider and takes the main-window path for such targets. Co-authored-by: Copilot <[email protected]> * Share one chat window end condition, including the main chat fallback, between the window and links A still-loading session whose archived main chat is not listed yet was redirected into a chat window, which ended it at once. The end condition now resolves the chat as the window does and is used by both. Co-authored-by: Copilot <[email protected]> * chatWindow: store and restore chats in the order of their tabs A chat opened as a tab of a chat that is not the last sits beside it, so the order they joined in differs from the tabs. Store the chats in tab order, and restore each behind the one restored before it in its group. Co-authored-by: Copilot <[email protected]> * chatWindow: keep the remembered layout with the chat it was recorded for when tabs are reordered A window stores its chats in tab order, so a tab moved before the chat the window opened for made a restore look up another chat's layout and sizes. Store that chat as the layout chat and restore with it. Co-authored-by: Copilot <[email protected]> * sessions: refocus the main window's session when focus did not move while it was skipped Co-authored-by: Copilot <[email protected]> * sessions: don't leak a replacement element in the focus guard test Co-authored-by: Copilot <[email protected]> * sessions: skip main window focus only when the removed session was active Moving an inactive session into a chat window does not change the active pane, so it no longer queues a refocus that would move the sidebar focus into the active session. Co-authored-by: Copilot <[email protected]> * chatWindow: add exactChat to open the given chat instead of its session's shown chat A resource that names a session resolved to the chat the grid shows for it, so a session link moved a peer chat. exactChat resolves it to the session's own main chat. Co-authored-by: Copilot <[email protected]> * sessions: link opener opens the exact chat and falls back when the window cannot resolve it A session link opens its main chat in the chat window, never a peer shown in the grid. When the chat window cannot resolve the chat, such as while its session loads, the link opens in the main window as before. Co-authored-by: Copilot <[email protected]> * sessions: only queue the main window refocus when moving a chat out changes the active pane A detached child of the same session that stays active is not removed, so no focus was skipped. Co-authored-by: Copilot <[email protected]> * chatWindow: do not share a pending open between exact and default resolution of one chat Key the in-flight open by resolution mode as well as the resource, so an exact link open is not served by a pending generic open. Co-authored-by: Copilot <[email protected]> * chatWindow: run chat window opens one after the other A generic and an exact open of one chat shared no pending open once keyed by resolution mode, and both could pass the lookup of the window that shows the chat before either published its window. Opens now run through one queue, so the second finds and reveals the window the first opened. Co-authored-by: Copilot <[email protected]> * chatWindow: serialize opens per resolved chat instead of globally Resolve each request independently, then run the lookup and creation of a window one after the other only for the same resolved chat, so a slow open does not hold back a reveal of another chat. Co-authored-by: Copilot <[email protected]> * chatWindow: serialize opens per requested chat Run every route of open() one after the other for the same requested chat, so a concurrent open of that chat in another mode sees the window the earlier one published. Opens of different chats do not wait for each other. Co-authored-by: Copilot <[email protected]> * chatWindow: do not leave a timer behind in the ready-chat test Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * agentHost: escape the command preview marker for hygiene Co-authored-by: Copilot <[email protected]> * agentHost: bump Copilot SDK to 1.0.29-preview.10 (#346448) * agentHost: bump Copilot SDK to 1.0.29-preview.10 (Written by Copilot) Keep the desktop and remote SDK pins aligned with bundled runtime 1.0.106-11. Co-authored-by: Copilot <[email protected]> * agentHost: fix SDK registry URLs (Written by Copilot) Let pnpm resolve the SDK from the configured registry rather than recording local mirror tarball URLs that fail CI supply-chain verification. Preserve all package integrity hashes and dependency pins. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * build: keep node_modules under src out of out-build (#346460) Since #345794 made src/vs/sessions/test/e2e a root workspace member, the root install puts its Playwright dependencies in src/vs/sessions/test/e2e/node_modules. The transpile copied those 576 files into out-build, and the Windows compilation artifact's Guardian AntiMalware scan went from ~6 to ~58 min. Co-authored-by: Copilot <[email protected]> * build: install the extensions root next to the other native roots (#346468) Since the built-in extensions have their own install root (#346370), the postinstall installed it after build and remote, one root at a time. Its install takes about 15 seconds, almost all of it compiling @parcel/watcher, which the root workspace's install used to build for both, so a clean install became about 10-15 seconds slower. The extensions root now installs next to the build -> remote -> extensions/copilot chain, which stays sequential. Its native modules build for Electron, whose headers the preinstall has already installed, so they don't download them. The postinstall waits for every install before it reports a failure. Co-authored-by: Copilot <[email protected]> * sessions: move the reusable Sessions code to vs/workbench/contrib/sessions (no behavior change) (#346421) * sessions: decouple the Sessions part and host layout from the session services - Move the session view contract (`ISessionView`) into sessionsPartService.ts, so the part service and the session command target no longer import the SessionView implementation; move the workspace selection option and result types to common/workspaceSelection.ts. - Introduce `ISessionsHostLayoutService` (host presentation, explicit editor reveal, editor auto-visibility suppression), implemented by the Agents workbench next to `IAgentWorkbenchLayoutService` (both resolve to the same object), and move callers that need only those members to it, or to `IWorkbenchLayoutService` when they need only the base layout members. - Tests stub the new service next to the layout service they already stub. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: split context keys and menus into shared and Agents-window parts Context keys and menu IDs used only by the Agents window shell (title bar, part titles, account and Go menus, custom views, Automations, the docked desktop editor part's tabs bar, empty editors, window canvases, onboarding, aquarium and mobile chrome) move to `common/agentsWindowContextKeys.ts` and `browser/agentsWindowMenus.ts` (`AgentsWindowMenus`, `SessionCanvasMenuGroup`). `common/contextkeys.ts` and `browser/menus.ts` keep the keys and menus of the session model, Sessions part, composer, sessions list and Changes editor (including the editor header row menus the Changes editor contributes to), and import nothing from the shell files. Generated by a script; every MenuId and RawContextKey is constructed once, with the same id and localized description as before. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: register the session changes stats cache from the Agents window entry point The cache's module registered its singleton at module level. The registration moves to sessionsServices.registration.ts, imported by sessions.common.main.ts right before the session services, so the module can later be shared without registering anything when it is imported. Same id, implementation and instantiation type. No behavior change. Co-authored-by: Copilot <[email protected]> * eslint, build: prepare vs/workbench/contrib/sessions for the shared sessions code - Layer rules for vs/workbench/contrib/sessions (workbench rules, never vs/sessions) and its providers (may also import sibling providers; nothing else in vs/workbench may import them). - vs/sessions may import both. - The _meta guard and the IAgentSessionsService restriction cover the new folder like vs/sessions, including the Copilot provider exception. - Translations: strings under vs/workbench/contrib/sessions stay in the vscode-sessions project (getResource rule and resources entry, with a test). - LAYERS.md documents the shared folder. No code moves yet; the folder is empty. Co-authored-by: Copilot <[email protected]> * sessions: move the session domain model to vs/workbench/contrib/sessions/common (pure move) git mv of the provider-neutral session model and common contracts: session, sessionsProvider, sessionsManagement, sessionContextKeys, sessionChangesStatsCache, sessionPickerVisibility, sessionComparison, agentHostSessionsProvider, agentHostSessionWorkspace, sessionApplication, sessionCommands, sessionConfig, workspaceSelection and the shared context keys, with their tests and testSessionBuilder. Generated by the move codemod: only relative module specifiers change, plus the component fixtures' eslint-disable lines for imports that now target vs/workbench. The workbench agent-host customization service and its test no longer import vs/sessions. Co-authored-by: Copilot <[email protected]> * sessions: split the custom view and window canvas service contracts from their implementations ICustomViewService and ICustomViewOpenRequest move next to the custom view descriptor types in customView.ts; IWindowCanvasService and its canvas, descriptor, presentation and open request types move to windowCanvas.ts. The implementations and their registrations stay where they are. The session services depend only on the contracts, so they can move without the Agents window implementations. Generated by a script; importers updated. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: register the session services from the Agents window entry point The session services, session hosts, chat host opener, list model, groups, comparison, section order, agent host filter, list presentation, repository picker, open telemetry, providers registry, recent workspaces and Agents agent-host customization service registered themselves at module level. Their registrations move to sessionsServices.registration.ts, which sessions.common.main.ts imports in place of the modules, so these modules can be shared without registering anything when imported. Same ids, implementations and instantiation types (SessionsService and SessionsManagementService stay Eager, in the same relative order). The registration module imports the workbench agent-host customization module, whose default registration therefore still precedes the Agents override. Generated by a script. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: move the session services to vs/workbench/contrib/sessions (pure move) git mv of the sessions registry, management and view services, the session hosts, chat host opener and command target, their helpers (navigation, grid state, recency, groups, list model, section order, comparison, open telemetry, recent workspaces, worktree trust, GitHub repository resolver, scoped context keys, clone repository, closed item history, session reference) and the support services (agent host filter, Agents agent-host customization service, chat background, list presentation, repository picker, the session view, part and host layout contracts, and the custom view and window canvas contracts), with their unit tests. Generated by the move codemod: only relative module specifiers change. The modules register nothing; sessionsServices.registration.ts in vs/sessions registers them. Co-authored-by: Copilot <[email protected]> * sessions: register the new session composer service from the chat contribution The composer service's module registered its singleton at module level. The registration moves to chat.contribution.ts, next to the other session chat services, so the module can be shared without registering anything. Same id, implementation and instantiation type. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: move provider-neutral shared pieces to vs/workbench/contrib/sessions (pure move) git mv of the non-UI code the session providers need: - the GitHub service layer (service, API client, pull request icon cache and status, models and fetchers) and the common GitHub types, utils, references and lifecycle settings; - the shared session menu IDs (Menus); - the new session types, composer service and picker telemetry, the automation model configuration, the Open in VS Code helpers, the phone layout helper and the client artifact runtime; - common contracts: dev container agent host service, session links, categories, changes, changes view service, pull request creation, worktree suggestion and the chat constants; with their tests. Generated by the move codemod: only relative module specifiers change. Co-authored-by: Copilot <[email protected]> * sessions: stub ISessionsHostLayoutService in the remaining tests Tests that main added after the host layout contract was introduced build the Changes editor or the sessions accessibility help without stubbing it. They now stub it next to the layout service they already stub, as the Agents workbench provides both. Tests only. Co-authored-by: Copilot <[email protected]> * sessions: move the remote agent host command IDs to their own module RemoteAgentHostCommandIds moves from remoteAgentHostActions.ts, which registers the actions, to remoteAgentHostCommandIds.ts, so the mission control contribution and the connection diagnostics can use the IDs without importing the action registrations. Same IDs. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: register the session provider services and contributions from vs/sessions The provider modules that move to vs/workbench next registered at module level. Their registrations move to vs/sessions modules that the entry points (or the provider contributions) import at the same positions: - agentHostPolicyContinuationPresenter.contribution.ts: the policy continuation presenter; - agentHostSkillButtons.contribution.ts: the "is agent host session" context key contribution and the skill buttons, which agentHostSkillButtons.ts now exports (AGENT_HOST_SKILL_BUTTONS, registerAgentHostSkillButton); - connectionDiagnostics.contribution.ts: the connection diagnostics service; - devContainerAgentHostService.contribution.ts: the dev container agent host service (desktop only, as before); - missionControlAgentHost.contribution.ts: the mission control contribution and its Manage menu entry. Tests that read these registrations import the registration modules. Same ids, implementations, phases and menu entries. No behavior change. Co-authored-by: Copilot <[email protected]> * eslint: keep non-provider Agents window code from importing the shared providers Only provider contributions (vs/sessions/contrib/providers/*) and the entry points may import vs/workbench/contrib/sessions/providers/*, as for the providers under vs/sessions today: the core, services and non-provider contributions keep needing an explicit exception. Co-authored-by: Copilot <[email protected]> * sessions: move the session providers to vs/workbench/contrib/sessions/providers (pure move) git mv of the agentHost, copilotChatSessions and remoteAgentHost provider implementations, their electron-browser pieces, styles, specifications, the agent host session sandbox, the remote agent host command IDs and This Computer section, and the tests that do not drive Agents window registrations, to vs/workbench/contrib/sessions/providers/<name>/. Registrations, actions, menus and provider UI that still depends on Agents window parts stay in vs/sessions/contrib/providers/<name>/. Generated by the move codemod: only relative module specifiers and exact path mentions of the moved files (lint allowlists, docs) change. Co-authored-by: Copilot <[email protected]> * sessions: give the session UI the host layout's optional side-pane capability ISessionsHostLayoutService gets an optional `sidePane` (isEditorPaneVisible, hideSidePane) that hosts with a docked side pane provide. The Agents workbench provides it (it is the side pane), so the Sessions part, the session activity bar and the chat input toolbar now use it and plain IWorkbenchLayoutService instead of IAgentWorkbenchLayoutService, and can move without the Agents window workbench. Tests stub the host layout service from the Agents layout service they already stub (stubSessionsHostLayout), as the Agents workbench provides both. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: split the contracts the session UI uses from their Agents window implementations Refactor in place, no moves, so the session UI can depend on contracts only: - agentFeedback.ts: IAgentFeedbackService with its event, option, context and navigation types and AGENT_FEEDBACK_NEW_SESSION_RESOURCE (from agentFeedbackService.ts and agentFeedbackEditorUtils.ts). Importers of the feedback model types import them from agentFeedbackModel.ts instead of the service's re-export. - aquarium.ts: IAquariumService and IMountedToggleHandle. - codeReview.ts: ICodeReviewService, its pull request review state, comment and suggestion types. - fixCIChecks.ts: the CI check grouping, labels, required-check count and Fix CI prompt helpers and the Reveal CI Checks command ID. - customizationItems.ts: the customization item configuration and counts. The implementations, actions and registrations stay where they are. Generated by a script; importers updated. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: keep the New Session title bar entry out of the shared action NewChatInSessionsWindowAction no longer declares its Agents title bar menu entry. appendNewSessionTitleBarMenuItem in vs/sessions adds that entry (same command, title, category, group, order and when clause), and chat.contribution calls it right after registering the action. The Sessions workbench fixture helper does the same so its title bar is unchanged, and the title bar test reads the registered entry. The action now depends only on workbench code. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: extract registrations from the Changes view and empty state The Changes action view items contribution (it also registers into the Agents title bar menu), the list/tree mode, versions picker, diff stats and Reveal CI Checks action registrations, and the empty state's Open Files and Search in Files menu items move to changesView.contribution.ts, imported by changes.contribution right after the Changes view. The action classes, the versions picker id and the picker label helper become named exports. The Changes fixture imports the registration module. changesView.ts and changesEmptyState.ts no longer register anything. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: hide the side pane from the sessions view through the host layout The sessions view hides the docked side pane through the host layout's side-pane capability and uses plain IWorkbenchLayoutService for part visibility, instead of IAgentWorkbenchLayoutService, so it can move without the Agents window workbench. The Agents workbench provides both, so the behavior is unchanged. Co-authored-by: Copilot <[email protected]> * sessions: extract registrations from session UI modules that move Moves the module-level registrations out of the session UI modules that move to vs/workbench/contrib/sessions next, so the moved modules register nothing and the editor window loads nothing new: - The new chat voice and chat input toolbar debug services, the #session reference command and the prompt template placeholder keybinding now register in chat.contribution. - The MCP server count service registers in customizationsToolbar.contribution. - The Session Activity Bar activity service and CustomViewService register in new registration modules imported at the same entry-point positions. - The agent host config picker actions and contribution, the mobile chat input picker and presenter, and the open-subagent contribution register in new contribution modules imported where the UI modules were. Anonymous Action2 classes become named exports. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: extract agent host agent picker registrations Moves the agent picker shortcut, action and contribution registrations into agentHostAgentPicker.contribution.ts, imported where the picker module was, so the picker UI can move to vs/workbench/contrib/sessions without registering anything. The anonymous action becomes the exported AgentHostAgentPickerAction, and the shortcut's command id, context and handler become exports. Same ids, when clauses and keybindings. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: register the session action context keys contribution from vs/sessions The contribution that binds the main window's session action context keys on the global context key service moves to sessionActionContextKeys.contribution.ts, imported by changes.contribution in place of the module. The CI check context keys and their binder move to fixCIChecks.ts. sessionActionContextKeys.ts keeps the binder registry that providers and actions in vs/sessions fill, and registers nothing. No behavior change. Co-authored-by: Copilot <[email protected]> * sessions: move session UI prep modules to vs/workbench/contrib/sessions (pure move) git mv of the session UI building blocks the Sessions part, session view, composer, sessions list and Changes editor build on: the session part and host contracts, the agent feedback, aquarium, code review and Fix CI check contracts, the customization items, the chat view base and chat surface, the session activity bar and its activity service, the session header and read-only banner, drop targets, empty states and the docked editor inputs. Generated by the move codemod: only relative module specifiers and exact path mentions of the moved files change. Co-authored-by: Copilot <[email protected]> * sessions: move the Sessions part and session view to vs/workbench/contrib/sessions (pure move) git mv of the Sessions part, the session view and its chat groups, chat group and composite bar, chat view and session and chat headers, grid layout, remote connection banner and the chat editor content. Generated by the move codemod: only relative module specifiers and exact path mentions of the moved files change. Co-authored-by: Copilot <[email protected]> * sessions: move the session composer to vs/workbench/contrib/sessions (pure move) git mv of the session composer: the new session and new chat widgets, the chat view implementation, chat input toolbar and pickers, workspace, branch, isolation and model pickers, comparison selection, input banners, worktree suggestions and their styles and tests. Generated by the move codemod: only relative module specifiers and exact path mentions of the moved files change. Co-authored-by: Copilot <[email protected]> * sessions: move the sessions list to vs/workbench/contrib/sessions (pure move) git mv of the sessions list, its view, view actions helpers, hovers and presentation, with their tests. Generated by the move codemod: only relative module specifiers and exact path mentions of the moved files change. Co-authored-by: Copilot <[email protected]> * sessions: move the provider composer UI to vs/workbench/contrib/sessions (pure move) git mv of the provider composer UI: the agent host agent, mode, config, permission and approval pickers and the open-subagent view item. Generated by the move codemod: only relative module specifiers and exact path mentions of the moved files change. Co-authored-by: Copilot <[email protected]> * sessions: move the Changes editor to vs/workbench/contrib/sessions (pure move) git mv of the Changes editor and its input, the Changes view and file list, the Changes service and view service, checks widget and model, Create Pull Request widget, multi-diff source resolver and empty state. The Changes view container and its registrations stay in vs/sessions. Generated by the move codemod: only relative module specifiers and exact path mentions of the moved files change. Co-authored-by: Copilot <[email protected]> * sessions: move the New Session action to vs/workbench/contrib/sessions (pure move) git mv of the New Session action. Its Agents title bar entry and registration stay in vs/sessions. Generated by the move codemod: only relative module specifiers and exact path mentions of the moved files change. Co-authored-by: Copilot <[email protected]> * sessions: move the diff editor options service and empty file editor input to vs/workbench/contrib/sessions (pure move) git mv of the diff editor options service with its test, and the empty file editor input. Generated by the move codemod: only relative module specifiers and exact path mentions of the moved files change. Co-authored-by: Copilot <[email protected]> * sessions: update links and lint allowlist paths to the moved files Markdown links in the Sessions specifications and in the agent host and inbox telemetry instructions, and the bracket-notation allowlist entries, pointed at files that moved to vs/workbench/contrib/sessions. They now point at the new locations. Text only. Co-authored-by: Copilot <[email protected]> * CODENOTIFY: notify for the shared sessions model, services and provider specifications The session model and services moved to vs/workbench/contrib/sessions (common/** and the browser services) and the provider specifications to vs/workbench/contrib/sessions/providers/*; the same owners are notified as for their previous locations. Co-authored-by: Copilot <[email protected]> * eslint: forbid vs/sessions imports from workbench contributions Removes the 'vs/sessions/~' allowance from the 'src/vs/workbench/contrib/*/~' import rule, so no workbench contribution can import the Agents window. No production file needs it any more. Component fixtures render Agents window UI and get their own test-only target, 'src/vs/workbench/test/browser/componentFixtures/**', which allows vs/sessions and the session providers on top of what the workbench test target allows. It precedes 'src/vs/workbench/~' because the first matching target wins. The per-line eslint-disable directives the fixtures used for these imports are removed. Fixtures stay where they are, so fixture ids and screenshot keys do not change. Co-authored-by: Copilot <[email protected]> * sessions: anchor shared composer input styles by specificity The shared composer's fallback rule tied chat.css on specificity and won only because its stylesheet loaded later. After the move into vs/workbench, the unit-test harness (which loads every stylesheet in path order) put chat.css ahead of it. Add .interactive-session so the rule wins without depending on stylesheet order. In the app it already won, and the live computed padding and margin of the input part are unchanged. Co-authored-by: Copilot <[email protected]> * sessions: declare the shared session UI's onboarding descriptors from the Agents window The compare agents spotlight, worktree suggestion tour and session archive tour declared their onboarding descriptors at module scope, so any window that imported them would register them. Export a register*Descriptor() function for each and call them from the Agents window's chat contribution, which is where they were first evaluated. The descriptors and their registration order are unchanged. Co-authored-by: Copilot <[email protected]> * sessions: give component fixtures the session host layout service The shared session UI now depends on ISessionsHostLayoutService, which has an id of its own; on main these classes used IAgentWorkbenchLayoutService, which shares IWorkbenchLayoutService's id that fixtures already define. Fixtures that do not define the host layout now get it resolved to their workbench layout service on first use, with that service as the docked side pane, as the Agents workbench does. Co-authored-by: Copilot <[email protected]> * sessions: let the sessions grid fixtures resolve the side pane like the workbench The sessions grid fixture stubbed ISessionsHostLayoutService with its Agents layout mock, which has no sidePane, so the Sessions part sized its card as if the side pane were hidden and the side-pane gap assertions failed. Leave the service to the shared fixture default, which resolves it to that same layout with the layout as the docked side pane, as the Agents workbench does. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * sessions: Enable chat windows by default in Insiders (#346489) sessions: enable chat windows by default outside stable Turn `sessions.chatWindows.enabled` on by default in Insiders, tag it as preview and let experiments control it. Co-authored-by: Copilot <[email protected]> * sessions: show the active chat as the session view by default (#346389) Default sessions.showChatTabs to single, so the Agents window shows a session's active chat as the session view instead of a tab per chat. The setting keeps its ExP auto mode, and explicit user settings still win. Show Chat Tabs in the session overflow menu still switches between Single and Multiple. Related: microsoft/vscode-internalbacklog#9807 🤖 Authored with GitHub Copilot on behalf of @alexdima. Co-authored-by: Copilot <[email protected]> * chat: Confirm agent edits to Dev Container configurations (#346493) Edits to .devcontainer.json, .devcontainer/devcontainer.json and .devcontainer/<name>/devcontainer.json were auto-approved by default. These configurations can run initializeCommand on the host, and set mounts and run arguments, whenever the container starts. The Agents window starts and resumes Dev Containers itself, and its agent can run inside the container with the workspace mounted from the host, so a silent edit could reach the host. Add the configurations to the always-checked edit patterns of the Agent Host and the Copilot extension, so the edit prompt cannot be turned off by edit auto-approve patterns. Co-authored-by: Copilot <[email protected]> * Fix pet stuck in hacky sack game mode (#346471) Agent Host changes for agents/fix-pet-stuck-in-hacky-sack-game * ci: list the Linux workspace image jobs before the Windows ones (#346472) Moves the linux-packages job after the linux job, so that the run of the Code OSS (workspace images) workflow shows both Linux jobs first, followed by the two Windows jobs. Co-authored-by: Copilot <[email protected]> * agentHost: handle backing-session ownership, disallowed UNC hosts, and invalid workspace.yaml during legacy migration (#346459) * agentHost: handle backing-session ownership, disallowed UNC hosts, and invalid workspace.yaml during legacy migration * fix: surface current recovered-chat preparation failures Exercise subscription-driven preparation with invalid workspace metadata, successful repair, and a subsequent preparation error. Preserve read-only history while reporting the current failure. Co-authored-by: Copilot <[email protected]> * Skip no-op preparation for unrestricted recovered-history providers Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * agentHost: release a held session soon after its chat closes (#346288) * agentHost: release a held session soon after its chat closes The runtime marks a Copilot session as in use while VS Code has it loaded, from creation or from the first turn after resuming it, until VS Code quits. The Copilot CLI then asks before resuming the session, even after its chat was closed in VS Code. Release such a session about 10 seconds after no window observes it; reopening it restores it from disk. Co-authored-by: Copilot <[email protected]> * agentHost: keep a due idle release after a failed attempt, and count provider-initiated turns A release that disconnects the live session and then fails left the provider no longer holding the session, so the retry dropped the due release and the session stayed loaded. Cancel a due release only when a client observes the session again or a turn starts. A resumed session is also held in use once a turn started through the SDK runs in it. Co-authored-by: Copilot <[email protected]> --------- Co-authored…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Comments out the macOS jobs of the
Code OSSpull request checks, to shorten the checks of a pull request and stop them from waiting for macOS runners. They are commented out rather than removed, so that uncommenting them runs them again. The Azure product build keeps running the full macOS test suite onmain.Why
PATHlists a folder twice (terminal-suggest: scan each PATH folder once per lookup #345028)macOS / Remoteis the slowest job of a pull request, and the macOS jobs regularly wait for a runner.build/azure-pipelines/darwin/steps/product-build-darwin-test.ymlstill runs the unit, WebKit browser unit, integration, smoke and remote tests on macOS, so macOS regressions are still caught after merge.PR Gate, whoseneedsstay consistent with the jobs of the workflow.Changes
pr.yml: comments outmacos-tests, which callspr-darwin-test.yml, andchat-lib-macos-tests(chat-lib - Test (macOS)), with their entries in theneedsof PR Gate and theelectron-testsoutput of Detect Changes, which only macOS reads. The comment onmacos-testslists everything to uncomment to run the macOS jobs again.pr-darwin-test.ymlstays, with a note thatpr.ymldoes not call it for now.pr-node-modules.yml: comments out the macOS cache warming job (node_modules, Electron, and the Chromium and WebKit Playwright browsers), with its output and its entries in.github/actions/detect-missing-caches.pr-workspace-images.yml: comments out the job that builds the macOS workspace image, which no job used.build/lib/testfor the commented-out jobs. They keep checkingpr-darwin-test.ymlitself, so that it stays ready to run.pr-win32-test.ymlcomment no longer says that Linux runs two smoke test shards (it runs three).What only the macOS jobs use stays as it is on
main, so that uncommenting them is enough: the time that the smoke test shards reserve for the macOS proxy runs (test/smoke/src/shard.ts), the macOS restore of the workspace images (workspace_image/image.ts), the macOS cache of thetest-chat-libaction, and the entries ofpr-darwin-test.ymlin CODEOWNERS and ripple'svscode.jsonc. To run the macOS checks before merging a change that needs them, queue the Azure product build on its branch.How to test
go run github.com/rhysd/actionlint/cmd/[email protected]onpr.yml,pr-node-modules.yml,pr-workspace-images.yml,pr-darwin-test.ymlandpr-win32-test.yml: passed, with only the existing unknown custom runner label warnings, fewer than onmainas the macOS jobs are commented out.node --test lib/test/detectChanges.test.ts lib/test/agentHostTestSelection.test.ts lib/test/detectMissingCaches.test.ts lib/test/workspaceImage.test.ts lib/test/changedFiles.test.tsinbuild/: 44 of 44 passed.pnpm run typecheckinbuild/: passed.pnpm run eslinton the changed TypeScript files: passed.macOS / …orchat-lib - Test (macOS)jobs, andPR Gatereports the others.