Repository navigation
Agents - Fix branch changeset description to reflect actual comparison ref - #342128
Merged
Ladislau Szomoru (lszomoru) merged 2 commits intoOct 16, 2026
Merged
Ladislau Szomoru (lszomoru) merged 2 commits into
Ladislau Szomoru (lszomoru) merged 2 commits into
Conversation
Federico Brancasi (federicobrancasi)
previously approved these changes
Oct 16, 2026
Contributor
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The description still infers the comparison target and can disagree with Git’s actual fallback.
1 open finding
What changed in this PR
Updates the Agent Host branch changeset picker description to prefer remote-tracking metadata for the default base branch.
Changes:
- Adjusts description formatting and removes the upstream fallback.
- Adds formatter and catalogue description tests.
| File | Description |
|---|---|
| src/vs/platform/agentHost/test/common/changesetUri.test.ts | Adds branch description and picker tests. |
| src/vs/platform/agentHost/common/changesetUri.ts | Revises comparison-target label selection. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Ladislau Szomoru (lszomoru)
marked this pull request as ready for review
October 16, 2026 20:17
Ladislau Szomoru (lszomoru)
enabled auto-merge (squash)
October 16, 2026 20:24
Anthony Kim (anthonykim1)
approved these changes
Oct 16, 2026
Ladislau Szomoru (lszomoru)
deleted the
lszomoru/agents/fix-branch-changeset-description
branch
October 16, 2026 20:38
Ross Wollman (rwoll)
added a commit
that referenced
this pull request
Oct 16, 2026
Unblock validation after merging main: consolidate the branch changeset helper imports and remove a duplicate gitService fixture property introduced by #342128. No runtime behavior changes. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Sandeep Somavarapu (sandy081)
added a commit
that referenced
this pull request
Oct 16, 2026
Fixes TS1117 after #341455 and #342128 both added the same shorthand property to the test fixture. Co-authored-by: Copilot <[email protected]>
Sandeep Somavarapu (sandy081)
added a commit
that referenced
this pull request
Oct 16, 2026
Fixes the duplicate-import lint error after #341455 and #342128 both imported from the same module. Co-authored-by: Copilot <[email protected]>
Ross Wollman (rwoll)
added a commit
that referenced
this pull request
Oct 16, 2026
* chat: Fix premature organization settings timeouts Keep slow Copilot managed-settings queries pending, show delayed progress, and offer retry without weakening policy enforcement. Preserve cancellation and runtime recovery across chat creation and model changes. Fixes #342123. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]> * chat: Initialize managed settings after injected services Construct the resolver and its progress event in the CopilotAgent constructor so native class-field initialization never reads the log service before it is assigned. This fixes the Compile & Hygiene define-class-fields check. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]> * build: Remove duplicate entries from branch changeset update Unblock validation after merging main: consolidate the branch changeset helper imports and remove a duplicate gitService fixture property introduced by #342128. No runtime behavior changes. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]> * chat: Preserve policy retries and cancellation across setup Cancel queued agent selection alongside model selection, release generation listeners when policy queries time out, and preserve retryable policy errors across JSON-RPC and IPC before the first turn starts. Add paired-selection, listener cleanup, and first-send Retry regressions. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
Sandeep Somavarapu (sandy081)
added a commit
that referenced
this pull request
Oct 16, 2026
…hown (#342117) * sessions: close side pane on last tab close when multiple chats are shown Closing the last editor tab while several chats of the same session are shown in the per-chat layout left an empty side pane open. The last-editor-close guards only need to defer to another visible session, since chats of the same session share its main editor part. Co-authored-by: Copilot <[email protected]> * sessions: ignore mounted sessions that are not shown on last tab close In the per-chat layout a maximized chat can leave other sessions mounted but not shown; only block the last-editor close when another session's chat is actually shown. Co-authored-by: Copilot <[email protected]> * agentHost: remove duplicate gitService property in git state test Fixes TS1117 after #341455 and #342128 both added the same shorthand property to the test fixture. Co-authored-by: Copilot <[email protected]> * agentHost: merge duplicate agentHostBranchChangesetScope import Fixes the duplicate-import lint error after #341455 and #342128 both imported from the same module. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
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.

This pull request updates the branch changeset description in the picker to accurately reflect the comparison reference used in the diff computation.
Changes made:
formatBranchChangesetDescriptionfunction to use the actual comparison ref instead of inferring it from the base or upstream metadata.main → origin/mainwhen that remote-tracking ref is used.HEADwhen Git falls back to those.Validation: