-
-
Notifications
You must be signed in to change notification settings - Fork 978
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
Make intermediates_dir explicit earlier to fix 1980 #1982
base: main
Are you sure you want to change the base?
Conversation
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.
Looks good. Thank you!
Oops the test is failing. I'll inspect tomorrow. |
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.
Oh, actually this seems to break some tests in the package (as shown in Github actions), so needs further investigation.
OK, finally I passed the tests. |
Thanks @atusy ! Just sharing my thoughts here - not a review. I did not have look closely yet to the initial issue and your fix but from what I can see these changes are targeting important part of the I've seen in the past that side effects can happen. We should really make sure we cover how it is expected to work before the change to check it still work the same after. I know I added some tests already and I think we should add more to be sure. But there is a lot of edge cases (as the one in the issue - Github document in subdir with space in names). Maybe I am a bit too cautious but I find this part of the code very tricky and trying to fix a specific bug by a more generic solution could lead to unexpected behavior. And I got bitten by that already in the past. I'll find time to look closer. |
@cderv Thanks. I agree with you. We have to be cautious. As the issue can be avoided by explicit |
I commented in #1980 where I tried to better understand the underlying issue. I need to see clearer what happens, and what should happens. In the meantime, if you are ok I would like to hold this PR. thank you. |
See #1980 (comment) for why I suggest the change.