Skip to content

Agents - add commit operation into the Changes view - #333842

Merged
Ladislau Szomoru (lszomoru) merged 2 commits into
mainfrom
lszomoru/ill-wasp
Sep 1, 2026
Merged

Agents - add commit operation into the Changes view#333842
Ladislau Szomoru (lszomoru) merged 2 commits into
mainfrom
lszomoru/ill-wasp

Conversation

@lszomoru

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings September 1, 2026 19:33
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Sandeep Somavarapu (@sandy081)

Matched files:

  • src/vs/sessions/services/sessions/common/session.ts

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Non-commit changeset actions are not scoped to the Changes editor and can appear on unrelated editor tabs.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Balanced
Findings: 1 Medium severity

New issues introduced by this change (1)
Severity Finding
Medium severity src/​vs/​sessions/​contrib/​changes/​browser/​changesActions.ts — Apply the Changes-editor visibility condition to every registered changeset action. This loop…
What changed in this PR

Adds commit support for uncommitted changes in draft Agent sessions.

Changes:

  • Defines shared commit, sync, and uncommitted changeset identifiers.
  • Advertises Commit for new sessions and exposes changeset operations in the Changes editor header.
  • Adds accessibility guidance and focused tests.
File Description
src/​vs/​sessions/​services/​sessions/​common/​session.ts Defines the uncommitted changeset ID.
src/​vs/​sessions/​contrib/​changes/​browser/​changesActions.ts Registers draft-session changeset actions.
src/​vs/​sessions/​contrib/​changes/​browser/​sessionsChangesAccessibilityHelp.ts Documents editor title-bar actions.
src/​vs/​sessions/​contrib/​changes/​test/​browser/​changesActions.test.ts Tests action registration and invocation.
src/​vs/​platform/​agentHost/​common/​agentHostChangesetOperationService.ts Defines shared operation IDs.
src/​vs/​platform/​agentHost/​node/​agentHostCommitOperationProvider.ts Advertises Commit for unused drafts.
src/​vs/​platform/​agentHost/​node/​agentHostCommitOperationHandler.ts Uses the shared commit ID.
src/​vs/​platform/​agentHost/​node/​agentHostSyncOperationHandler.ts Uses the shared sync ID.
src/​vs/​platform/​agentHost/​test/​node/​agentHostCommitOperationProvider.test.ts Covers empty draft-session advertisement.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/vs/sessions/contrib/changes/browser/changesActions.ts Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@lszomoru
Ladislau Szomoru (lszomoru) merged commit d7a951c into main Sep 1, 2026
40 checks passed
@lszomoru
Ladislau Szomoru (lszomoru) deleted the lszomoru/ill-wasp branch September 1, 2026 20:36
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Sep 1, 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.

4 participants