-
Notifications
You must be signed in to change notification settings - Fork 85
Promote some failing tests? #3589
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
base: main
Are you sure you want to change the base?
Conversation
@goldfirere could you nominate a relevant with-kinds person to investigate these failures? Our best guess at the moment is that there's some randomness that depends on your local environment, as they didn't fail in CI but are failing locally. |
(@liam923 is going to take a look) |
I've been unable to reproduce this failure. I've tried running on different boxes under different configurations. How confident are you that the build was in fact clean? The test failures are all consistent with a stale version of the stdlib being used - specifically, one where the stdlib was compiled without the |
Yes, we're confident we cleaned. I just tested again with the following steps:
And I get a bunch of failures:
I will slack you some additional details. |
Okay I've figured out what's going on. The test failures are consistent with the stdlib not getting passed the Are we okay with bumping the required dune version to >= 3.7.1? |
Thanks for figuring this out, @liam923! I think it would be fine to require such a dune. @mshinwell ? |
I think it might be better to introduce a file-level attribute for this behaviour, to avoid having to bump everyone's dune. |
I think it's both fine to require bumping everyone's dune and also to change this to an attribute. I feel like we thought about using an attribute for this instead of a flag -- at least I hope we did. My experience from Haskell (which is too configurable) is that it's best to have type-checking-dependent choices in the file itself. And if it's an attribute, we can have e.g. But that would take a little time to engineer. I think, for now, we should just ask folks to upgrade their dune. |
For me, on a clean checkout, these tests fail and need promoting. Chris also saw the same, but Luke didn't. The CI doesn't seem to be failing, so presumably it doesn't either.
I made this PR so others can try and figure out what is going on. It should only be merged if these promotions are in fact correct.