-
Notifications
You must be signed in to change notification settings - Fork 409
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
test: reproduce dune exec -w
crash with pkg management
#10960
Conversation
c437ca5
to
deb6397
Compare
is initialising when this happens so I need to find who is updating the build progress this early. |
For some reason this stems from the |
deb6397
to
dcc55f4
Compare
I just pushed a commit that delays evaluating |
before addressing the outstanding code review items, I'd like some confirmation that the fix is in the right direction, or even correct. |
The fix looks good to me |
94ec620
to
810756b
Compare
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
810756b
to
b4c7217
Compare
should be ready for another look |
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.
A bit worried about this test being flaky. I suppose we can disable if it proves to be a problem.
Absolutely. In my tests it was always under the allocated time budget so we can disable it if it regresses. |
Does this PR also fix the problem, or is it the test to find the problem? |
this PR should also have fixed the issue. is it still reproducible for you? |
Sorry, it was a misunderstanding on my side with the title of the PR. I tried it and it definitely fixes the problem, thanks 🙏 |
* test: reproduce `dune exec -w` crash with pkg management Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com> * fix: delay evaluating `env` until `get_path_and_build_if_necessary` Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com> --------- Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
reproduces the crash in #10959