Skip to content

Agents - only show "Sync Pull Request" primary action if there are incoming/outgoing/uncommitted changes#312126

Merged
lszomoru merged 1 commit intomainfrom
lszomoru/rich-stork
Apr 23, 2026
Merged

Agents - only show "Sync Pull Request" primary action if there are incoming/outgoing/uncommitted changes#312126
lszomoru merged 1 commit intomainfrom
lszomoru/rich-stork

Conversation

@lszomoru
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 23, 2026 13:14
@lszomoru lszomoru enabled auto-merge (squash) April 23, 2026 13:14
@lszomoru lszomoru self-assigned this Apr 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Tightens the Sessions window action visibility for Copilot CLI pull request workflows by only showing the “Sync Pull Request” (update PR) primary action when there is actually something to sync (incoming/outgoing/uncommitted changes).

Changes:

  • Updates the when clause for the updatePR command to require incoming/outgoing/uncommitted changes in addition to the existing PR/repo prerequisites.
Show a summary per file
File Description
extensions/copilot/package.json Adds a changes-present guard to the “update PR / sync PR” action so it only appears when meaningful.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@lszomoru lszomoru merged commit ffb4db2 into main Apr 23, 2026
44 of 45 checks passed
@lszomoru lszomoru deleted the lszomoru/rich-stork branch April 23, 2026 14:15
@vs-code-engineering vs-code-engineering Bot added this to the 1.118.0 milestone Apr 23, 2026
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.

3 participants