Fix RWC missing file detection#46673
Conversation
|
Hm, do we have an opinion on what the correct thing for |
I'd defer to @rbuckton personally, since he probably knows what the intent was, since it was written to support file globbing, iirc. |
|
For the record, I'm totally cool with rolling back the original change (#44710) - ideally just this part, but the whole thing if that's easier. It was a minor quality-of-life improvement (can enable exceptions during debugging with minimal noise). |
|
Also, I'd expect to get names and not paths from |
This reverts commit 4a065f5.
Component commits: 931b504 Revert "Fix RWC missing file detection (microsoft#46673)" This reverts commit 4a065f5. afef282 Revert "Pass absolute path to directoryExists (microsoft#46086)" This reverts commit 55b4928. f1a20b3 Revert "Reduce exceptions (microsoft#44710)" This reverts commit c0d5c29. 56842cd Add back system watcher limit
Component commits: 931b504 Revert "Fix RWC missing file detection (#46673)" This reverts commit 4a065f5. afef282 Revert "Pass absolute path to directoryExists (#46086)" This reverts commit 55b4928. f1a20b3 Revert "Reduce exceptions (#44710)" This reverts commit c0d5c29. 56842cd Add back system watcher limit Co-authored-by: Andrew Branch <andrew@wheream.io>
I mentioned this in #46788, but |
…46787) * Revert "Fix RWC missing file detection (microsoft#46673)" This reverts commit 4a065f5. * Revert "Pass absolute path to directoryExists (microsoft#46086)" This reverts commit 55b4928. * Revert "Reduce exceptions (microsoft#44710)" This reverts commit c0d5c29. * Add back system watcher limit
RWC has been failing for awhile (2 weeks); it wasn't really noticeable, since we still got normal diff PRs and merged them as needed, which seemed fine, but today I noticed that it was still failing even immediately after I merged an update PR - finding that suspect, I checked the logs and found out that pretty much every test was giving a spurious error saying it was missing every file in the test. Definitely not right. The story ended up being that #46086 made our
readDirectoryreturn absolute paths, while the rwc harness was very much relying on relative paths to perform a simple path comparison.