Skip to content

Revert "cli - do not trust empty changes (microsoft/vscode#297975)"#4063

Merged
bpasero merged 1 commit intomainfrom
revert-4036-ben/yelling-swordtail
Feb 27, 2026
Merged

Revert "cli - do not trust empty changes (microsoft/vscode#297975)"#4063
bpasero merged 1 commit intomainfrom
revert-4036-ben/yelling-swordtail

Conversation

@bpasero
Copy link
Copy Markdown
Member

@bpasero bpasero commented Feb 27, 2026

Reverts #4036

Copilot AI review requested due to automatic review settings February 27, 2026 08:40
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 27, 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

This PR reverts a workaround that was added to address microsoft/vscode#297975. The workaround prevented the getWorktreeChanges method from returning empty cached changes in agent sessions workspace contexts. The revert indicates that the underlying issue has been resolved, making this special handling unnecessary.

Changes:

  • Simplified logging for worktree change retrieval
  • Removed conditional logic that prevented returning empty cached changes in agent sessions workspace
  • Restored straightforward caching behavior where all cached changes (including empty arrays) are returned directly

@bpasero bpasero added this pull request to the merge queue Feb 27, 2026
Merged via the queue into main with commit af25046 Feb 27, 2026
23 checks passed
@bpasero bpasero deleted the revert-4036-ben/yelling-swordtail branch February 27, 2026 10:55
mexicodxnmexico-create added a commit to mexicodxnmexico-create/vscode-copilot-chat that referenced this pull request Feb 28, 2026
* Revert "cli - do not trust empty changes (microsoft/vscode#297975) (microsoft#4036)" (microsoft#4063)

This reverts commit 420c26f.

* Run command tool should include command result (microsoft#4061)

* Run command tool should include command result
Part of microsoft/vscode#298181

* CCR feedback

* Support CAPI WebSocket connections (microsoft#4068) (microsoft#4069)

* Add a maximum date of the comparison commit for the 1p repo telemetry info (microsoft#3774)

* initial passes with copilot before testing

* only pass on successful date

* add tests for new functionality

* return tooOld for all date failures

* remove extra logging, info is already in telemetry and may be too noisy

* fix test that used custom repo mock

---------

Co-authored-by: Ian Huff <[email protected]>
Co-authored-by: Ian Huff <[email protected]>

* 0.39.0 (microsoft#4057)

* Make auto have provider affiniy (microsoft#4072)

* Pipe vendor from CAPI through to chat endpoint

* Adopt discussed auto mode behavior

* Update src/platform/endpoint/node/test/automodeService.spec.ts

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>

* Hold external repo info telemetry (microsoft#4075)

* Hold external repo info telemetry

* Update src/extension/prompt/node/repoInfoTelemetry.ts

Co-authored-by: Copilot <[email protected]>

* Update test to reflect no external telemetry for non-internal users

---------

Co-authored-by: Copilot <[email protected]>

* pass in the URL for the proxy to the CLI session (microsoft#4070)

* Update telemetry pkg (microsoft#4078)

* Merge agents and chatsession folder (microsoft#4058)

* Remove duplicated memory tool in picker (microsoft#4079)

* fixes microsoft/vscode#297010

* address feedback

* 🎨 Palette: Add aria-busy state to webview loading container

💡 What: Toggles `aria-busy` attribute on the `solutionsContainer` during async loading phases.
🎯 Why: To prevent screen reader users from experiencing silent, disorienting DOM changes when dynamic webview content updates.
♿ Accessibility: Improves loading state communication to assistive technologies.

Co-authored-by: mexicodxnmexico-create <[email protected]>

* Background - clean worktree changes cache at the end of the turn (microsoft#4083)

* 🎨 Palette: Add aria-busy state to webview loading container

💡 What: Toggles `aria-busy` attribute on the `solutionsContainer` during async loading phases.
🎯 Why: To prevent screen reader users from experiencing silent, disorienting DOM changes when dynamic webview content updates.
♿ Accessibility: Improves loading state communication to assistive technologies.

Co-authored-by: mexicodxnmexico-create <[email protected]>

---------

Co-authored-by: Benjamin Pasero <[email protected]>
Co-authored-by: Alex Ross <[email protected]>
Co-authored-by: Christof Marti <[email protected]>
Co-authored-by: Ian Huff <[email protected]>
Co-authored-by: Ian Huff <[email protected]>
Co-authored-by: Ian Huff <[email protected]>
Co-authored-by: Ben Villalobos <[email protected]>
Co-authored-by: Logan Ramos <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Zhichao Li <[email protected]>
Co-authored-by: Aaron Munger <[email protected]>
Co-authored-by: Vijay Upadya <[email protected]>
Co-authored-by: Don Jayamanne <[email protected]>
Co-authored-by: SteVen Batten <[email protected]>
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mexicodxnmexico-create <[email protected]>
Co-authored-by: Ladislau Szomoru <[email protected]>
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