-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove validation to stat call for symlinks since is a breaking change #57551
Conversation
…e, subsequently remove the symlink cache logic as is no longer needed
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsSubsequently, remove the symlink cache logic as is no longer needed. cc @danmoseley
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for investigating this.
@@ -52,72 +52,6 @@ protected override void AssertLinkExists(FileSystemInfo link) | |||
} | |||
} | |||
|
|||
[Theory] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests were validating that we throw when a self-referencing symlink is found in the recursion, while that is true for windows, that wasn't the case for Unix in 5.0, and it was going to be a breaking change caused by the same validation that I'm removing, so I updated the tests to ensure what is expected matches with 5.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with the latest test updates.
CI issues are nuget erros and test failure is #57452. |
Subsequently, remove the symlink cache logic as is no longer needed.
Fixes #57221
cc @danmoseley