Skip to content

Fix flaky test in diskFileSystemProvider.test.ts - #341304

Merged
Logan Ramos (lramos15) merged 1 commit into
mainfrom
lramos15/agents/flaky-issue-investigation
Oct 13, 2026
Merged

Logan Ramos (lramos15) merged 1 commit into
mainfrom
lramos15/agents/flaky-issue-investigation

Conversation

@lramos15

Copy link
Copy Markdown
Member

This pull request addresses the flakiness of the diskFileSystemProvider.test.ts test

Fix #341275

Copilot AI balanced review requested due to automatic review settings October 13, 2026 14:15
@lramos15
Logan Ramos (lramos15) enabled auto-merge (squash) October 13, 2026 14:15

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.

🟢 Approval recommended

The synchronization and cleanup changes directly address the reported test race without affecting production code.

0 open findings

What changed in this PR

Stabilizes and re-enables the Windows-specific locked-folder rename test.

Changes:

  • Adds an IPC readiness handshake with the child process.
  • Ensures child and console stub cleanup.
  • Runs the test only on Windows.
File Description
src/​vs/​platform/​files/​test/​node/​diskFileSystemProvider.test.ts Makes the rename test deterministic and safely scoped.

🧠 Review effort: Balanced


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

@github-actions

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: e54f253d Current: c31f2183

Changed (1)

sessions/chatCompositeBar/OverflowingTabs/Light
Before After
before after

@lramos15
Logan Ramos (lramos15) merged commit 4d2e4b4 into main Oct 13, 2026
36 checks passed
@lramos15
Logan Ramos (lramos15) deleted the lramos15/agents/flaky-issue-investigation branch October 13, 2026 14:41
@vs-code-engineering vs-code-engineering Bot added this to the 1.143.0 milestone Oct 13, 2026
Don Jayamanne (DonJayamanne) added a commit that referenced this pull request Oct 13, 2026
…xploration-vscode

* origin/main: (40 commits)
  MSRC fixes (#341342)
  chat: render input attachments for the input model's session (#341350)
  chat: center subagent tool activity hooks (#341258)
  Manage Copilot plugin marketplaces through Agent Host (#341301)
  fix: linux setuid sandbox helper permissions (#341292)
  agentHost: resolve #chat chips on the host of the chat that shows them (#341332)
  [Perf] agentHost: limit archived sessions over Mission Control (#341327)
  Remember expanded state for "Other Models" in model picker (#341335)
  Offer Stop for copilot detached background shells  (#341310)
  agentHost: allow inherited peer chats to move workspaces (#341317)
  [Perf] agentHost: reduce Mission Control relay overhead (#341223)
  Fix Customizations modal spacing (#341144)
  Fix dependency cycle in QuickInputService and EditorResolverService (#341321)
  Fix Explorer refresh on restoring deleted workspace root folder (#341323)
  chat: Share and rate-limit core utility model requests (#340100)
  agentHost: open #chat chips on the connection that owns the chat (#341313)
  Fix flaky StorageMainService tests by awaiting storage warm-up (#341305)
  agentHost: record the default chat role instead of reading the default chat URI shape (#341293)
  welcome: preserve tab icon color with Modern Icons
  Fix flaky test in diskFileSystemProvider.test.ts (#341304)
  ...

# Conflicts:
#	src/vs/platform/agentHost/node/agentService.ts
#	src/vs/platform/agentHost/node/protocolServerHandler.ts
#	src/vs/platform/agentHost/test/node/protocolServerHandler.test.ts
#	src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.ts
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.

Flaky Test: rename fails quickly when a folder is in use by another process

3 participants