Skip to content

[mirror] microsoft/vscode#301576 Git: Add "Copy Branch Name" to branch context menus#744

Open
austindyoung wants to merge 1470 commits intomainfrom
driftfence/mirror/pr-301576/latest
Open

[mirror] microsoft/vscode#301576 Git: Add "Copy Branch Name" to branch context menus#744
austindyoung wants to merge 1470 commits intomainfrom
driftfence/mirror/pr-301576/latest

Conversation

@austindyoung
Copy link
Owner

Automated mirror PR for DriftFence counterfactual telemetry.

Source PR: microsoft#301576
Source URL: microsoft#301576
Mirror branch: driftfence/mirror/pr-301576/latest

This PR is maintained by automation for telemetry and review links.

osortega and others added 30 commits March 10, 2026 09:58
* Add telemetry imageAddon loaded

* edit descr

* add more individual telmetry from xterm.js api

* Make sure we have telemetry for setting AND image count
- Use non-colliding internal key for 'Other' group to avoid collision
  with a real repo named 'other'
- Handle .git suffix and git@host:owner/repo.git SSH URLs in repo parsing
- Add metadata.worktreePath as fallback extraction source
- Fix flaky test ordering by sorting groups before assertion
- Add new tests for .git stripping, git@ URLs, worktreePath, and
  'other' repo name collision

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…rt (microsoft#299256)"" (microsoft#300477)

Revert "Revert "Debug Panel: oTel data source support and Import/export (#299…"

This reverts commit 1124601.
localeCompare is case-insensitive on some platforms, making
'Other' vs 'other' sort order non-deterministic.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
When sessions are grouped by repository, the section header already
shows the repo name. Hide the badge (e.g., '$(repo) vscode') on
individual session rows to reduce visual noise. Only hides badges
that match the repo/folder/worktree icon pattern.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* plugins: allow updating agent plugins

Add update detection and update buttons to the agent plugins view and editor.
This allows users to see when installed plugins have newer versions available
and update them directly from the UI without manually checking for updates.

- Export hasSourceChanged() from pluginMarketplaceService for reuse
- Add 'outdated' and 'liveMarketplacePlugin' fields to IInstalledPluginItem
- Fetch marketplace data in AgentPluginsListView.show() to cross-reference
  installed vs live versions and mark outdated plugins
- Add UpdatePluginAction to list view with live marketplace data
- Add UpdatePluginEditorAction to plugin editor with live marketplace data
- Both update actions re-register the plugin with updated metadata after
  successful update so the UI immediately reflects the new version
- Read fresh installed metadata from pluginMarketplaceService.installedPlugins
  store (not stale IAgentPlugin.fromMarketplace) for accurate version checks
- Pass 'silent' option to runInstall() to show non-blocking notification
  instead of dialog when silent=true
- Re-register plugins with live data after updateAllPlugins() completes
  so stored sourceDescriptor reflects new version/ref/sha

(Commit message generated by Copilot)

* pr comments and cleanup

* fix test failure
…p-markdown-syntax

Fix: Strip markdown syntax from deprecated setting diagnostic messages
Bumps the component-explorer group with 2 updates: [@vscode/component-explorer](https://github.com/microsoft/vscode-packages/tree/HEAD/js-component-explorer/packages/explorer) and [@vscode/component-explorer-cli](https://github.com/microsoft/vscode-packages/tree/HEAD/js-component-explorer/packages/cli).


Updates `@vscode/component-explorer` from 0.1.1-19 to 0.1.1-22
- [Commits](https://github.com/microsoft/vscode-packages/commits/HEAD/js-component-explorer/packages/explorer)

Updates `@vscode/component-explorer-cli` from 0.1.1-15 to 0.1.1-18
- [Commits](https://github.com/microsoft/vscode-packages/commits/HEAD/js-component-explorer/packages/cli)

---
updated-dependencies:
- dependency-name: "@vscode/component-explorer"
  dependency-version: 0.1.1-22
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: component-explorer
- dependency-name: "@vscode/component-explorer-cli"
  dependency-version: 0.1.1-18
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: component-explorer
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add azd terminal completions for new extension and core commands
* chat: simplify symbol reference cache to an array

Replaces the Map-based symbol reference cache with a simple array that
keeps only the last 3 copied symbols. This removes the 15-second TTL
expiration logic and relies on insertion order instead.

- Changed symbolReferenceCache from Map to array
- Removed symbolCacheTtlMs constant and pruning logic
- Added symbolCacheMaxSize constant for max entries
- Simplified cache lookups with array.find()
- Automatically evicts oldest entry when exceeding capacity

(Commit message generated by Copilot)

* comment

* skip flakey test, suggested by Megan
…ed out (microsoft#300529)

Tools registered via registerToolDefinition by the default chat agent
(copilot-chat) were incorrectly getting source type 'extension' instead
of ToolDataSource.Internal. This caused them to be filtered out by the
chat.extensionTools.enabled setting check in getAllToolsIncludingDisabled().

Package.json-contributed tools from the same extension correctly got
ToolDataSource.Internal via the isBuiltinTool check in
languageModelToolsContribution.ts. Apply the same logic in
$registerToolWithDefinition on the main thread.
)

Keep active customization section selected

Ensure the left sections list re-applies selection/focus for the active section when the list selection is cleared, so the active view remains persistently selected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
All of our extensions are now using esbuild
rebornix and others added 30 commits March 12, 2026 17:52
…ocust

Enhance image carousel with section support and chat integration
…icrosoft#301289)

* Initial plan

* fix: use SequencerByKey to prevent parallel cloning of the same marketplace repo

Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>
Co-authored-by: Connor Peet <copeet@microsoft.com>
…lfly

Move untitled session mapping much earlier in request process
…wolverine

enhance image carousel functionality and UI improvements
…stoat

refactor: update image extraction description and enhance collection structure in AGENTS.md
… present (microsoft#300752)

* fix: repair folder context menu when only legacy file context menu is present

* chore: restore folder menu in installer wizard
* Sessions - changes view improvements

* Fix compilation
)

* build - update command to use watch instead of compile

* 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>
* Proposed browser API for debug support

* build, feedback

* Web stubs

* fix

* close guard

* fixes, add close()

* clean

* Fixes, tests

* lint

* Simplfiy

* feedback
…finitions (microsoft#301532)

* resize question carousel  (microsoft#301523)

fix microsoft#301249

* fix

---------

Co-authored-by: Megan Rogge <merogge@microsoft.com>
…nput request (microsoft#301536)

* Initial plan

* Fix agent-run tasks incorrectly prompting "press any key" input request

Remove the `isTaskInactive` check in `OutputMonitor._handleIdleState()`.
When the execution is a task and the output contains a VS Code task finish
message, always treat it as a stop signal regardless of the task's active
state (which can be stale from `getBusyTasks()`). The generic "press any
key" prompt is now only shown for non-task executions.

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
…01379)

* Migrate queued requests when swapping sessions (for CLI)

* add tests

* Potential fix for pull request finding

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

* Fix tests

---------

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

add toolResultDetails to ScreenshotBrowserTool for enhanced output handling
Add the existing `git.repositories.copyBranchName` command to:
- `git.branch` submenu (SCM panel Branch menu)
- `scm/historyItemRef/context` (right-click on branch refs in graph)

The command already exists and works in `scm/artifact/context` (Source
Control Repositories view) but was missing from these commonly used
branch context menus.

Fixes microsoft#148069

Committed-By-Agent: claude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.