fix(mcp-plans): make cleanup test deterministic on Windows - #760
Conversation
The test relied on millisecond-scale sleeps finer than Windows FS timestamp resolution. Now sets stale mtime explicitly via filetime dev-dep with a 60s retention margin. Plan: fix-windows-cleanup-test-flake
|
Too many files changed? Review this PR in Change Stack to see how the pieces fit before you dive in. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe PR fixes a flaky cleanup test on Windows by replacing timing-dependent setup with explicit file modification time control. The test now uses the ChangesWindows cleanup test flake fix
🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The test relied on millisecond-scale sleeps finer than Windows FS timestamp resolution. Now sets stale mtime explicitly via filetime dev-dep with a 60s retention margin.
Plan: fix-windows-cleanup-test-flake
Summary by CodeRabbit