Skip to content

Agents - fix regression related to showing the "Create Pull Request" action#315378

Merged
lszomoru merged 1 commit into
mainfrom
lszomoru/accurate-leopard
May 8, 2026
Merged

Agents - fix regression related to showing the "Create Pull Request" action#315378
lszomoru merged 1 commit into
mainfrom
lszomoru/accurate-leopard

Conversation

@lszomoru
Copy link
Copy Markdown
Member

@lszomoru lszomoru commented May 8, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 8, 2026 21:45
@lszomoru lszomoru enabled auto-merge (squash) May 8, 2026 21:45
@lszomoru lszomoru self-assigned this May 8, 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

Adjusts action visibility in the Agents (sessions) Changes toolbar to address a regression around when the Create Pull Request action appears, by aligning “done” vs “PR” actions with session git state context keys.

Changes:

  • Simplifies the Mark as Done action visibility condition in the sessions window Changes toolbar.
  • Tightens Copilot’s Create Pull Request / Create Draft Pull Request menu when clauses to require local changes (uncommitted or outgoing).
Show a summary per file
File Description
src/vs/sessions/contrib/sessions/browser/views/sessionsViewActions.ts Adjusts Mark as Done visibility conditions for the Agents Changes toolbar.
extensions/copilot/package.json Updates Copilot session toolbar menu conditions for Create PR / Draft PR actions.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

Comment thread extensions/copilot/package.json
@lszomoru lszomoru disabled auto-merge May 8, 2026 21:55
@lszomoru lszomoru enabled auto-merge (squash) May 8, 2026 21:58
@lszomoru lszomoru merged commit 94ef84c into main May 8, 2026
29 checks passed
@lszomoru lszomoru deleted the lszomoru/accurate-leopard branch May 8, 2026 22:01
@vs-code-engineering vs-code-engineering Bot added this to the 1.120.0 milestone May 8, 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