-
Notifications
You must be signed in to change notification settings - Fork 463
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
WFCORE-5201 Update commons-io to 2.8.0 #4400
WFCORE-5201 Update commons-io to 2.8.0 #4400
Conversation
Hello, boris-unckel. I'm waiting for one of the admins to verify this patch with /ok-to-test in a comment. |
@asoldano This would need an ok from you as RESTEasy is the primary consumer of this. This upgrade breaks some cleanup logic in ModuleTestCase.addModuleWithDirectoryAndInvalidLinks2, which is concerning. It seems somewhat buggy that it breaks. The dirFile2 dir has a symlink child that points to a non-longer existent dirFile1. FileUtils is unable to delete that child. |
Core - Full Integration Build 10156 outcome was FAILURE using a merge of 2ef507e |
@bstansberry @asoldano The ModuleTestCase.addModuleWithDirectoryAndInvalidLinks2 fail is a commons-io known and resolved bug: IO-692 |
@boris-unckel I wouldn't want to upgrade with a known regression unless RESTEasy had a significant interest in picking up the upgrade, so the first thing to do is see what @asoldano has to say about that. The primary reason we ship commons-io is because RESTEasy uses it. |
There has been no activity on this PR for 30 days. It will be auto-closed after 90 days. |
I close this PR and the related ticket without a good solution. You were perfectly right to reject the 2.8.0 version. That release is really buggy. I have ported the failing test case of WFCore to commons-io but even after several fixes it fails on Fedora machines (Ubuntu is fine). commons-io does no tests against different Linux filesystems, Ubuntu only. |
Thanks for the research on this @boris-unckel! This highlights for me something I don't like about how WF dependencies work. This library is a test-only dependency in WildFly Core, but full WF pulls in the WF Core root pom in import scope. That's good for production libs, where we want a consistent version between core and full, so let core control. But it adds some fragility in that it's easy not to consider how a lib is used in full when making changes in core. (Not saying that happened here, but it easily could have.) For test-only dependencies in core I don't think that fragility is worth it. I filed https://issues.redhat.com/browse/WFLY-14431 related to this and am thinking a bit about how to get these test-only dependencies out of the main WF Core dependencyManagement. |
Fixing WFCORE-5201