Skip to content

Conversation

@DeviaVir
Copy link
Collaborator

@DeviaVir DeviaVir commented Dec 8, 2025

e.g. failures like #823

Copy link
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 pull request addresses test flakiness by increasing timeout values and introducing a more robust file removal helper function. The changes aim to prevent test failures on slower CI environments or platforms (Windows, macOS) where file operations may take longer.

Key Changes:

  • Added forceRemoveSync helper function that uses native Node.js fs.rmSync with force option when available
  • Increased test timeouts from 30/60/120 seconds to 180 seconds across all affected tests
  • Replaced all fs.removeSync calls with the new forceRemoveSync helper for consistent behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DeviaVir DeviaVir merged commit e00c092 into master Dec 8, 2025
10 checks passed
@DeviaVir DeviaVir deleted the flaky-test branch December 8, 2025 11:33
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.

2 participants