core.thread.refactor Part 1#2821
Conversation
|
Thanks for your pull request and interest in making D better, @baziotis! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "master + druntime#2821" |
|
Thanks. |
??? |
Not sure where this is coming from. |
I think I know. This PR is the same with the previous, except one line. |
|
What's the justification for the refactoring? There's nothing in the description. |
Going with a) for now because doing b) requires changing files (at least) in DMD. |
|
This PR broke Fiber-dependent code: https://issues.dlang.org/show_bug.cgi?id=20279 |
|
Well, we've got to find a way to test these things. The error seems trivial but the problem was not caught by CI. This PR was commited and reverted already once. |
|
Maybe the way forward is to keep the PR merged, and fix any regressions as they surface. Resetting to square one just because the next minor thing broke seems like the wrong approach to me. |
|
I agree. More so, given that CI did not catch the error. So, resetting would not provide any benefit. |
|
Actually, it appears to be a problem with stale build products in my local druntime build environment. Cleaning all build products and rebuilding from scratch appears to have fixed the problem. Sorry for the false alarm. :-( |
|
Don't worry. I'm glad it was so easy to (not even) fix. :) |
|
Actually I think this still managed to cause errors, as the test for issue 15779 (fibers throwing exceptions) is failing on a bunch of other PRs. |
|
Also, this passed the tests as a PR. But in the commit, it shows me it has failed Azure pipelines. |
|
This has undone the changes in #2801. |
|
I really wish we had actual reviews on PRs, but I guess the only thing left to do is to revert #2822 |
|
Yikes. Is there really no way to add unittests / external tests for these cases so that they will be caught before the PR is merged? |
|
The tests are there and are failing now. Unfortunately they don't fail consistently and pass sometimes depending on the alignment of the fiber stack. |
|
Ah I see. And there's no way to insert a canary value that might trigger the failure more consistently? |
|
Possible, but that would need more investigations. What makes it a bit tedious is that the error happens only with Windows Server that has tightened policies regarding the exception handling. |
|
For some reason the bot decided to merge the PR without waiting for the Azure tests to finish, let alone pass. |
This PR is almost 3 months old (#2689) without a single review except for Nicholas'. Although, these in my opinion are CI problems and not review problems.
Those are not actual failing tests. They're just stopped tests AFAIK. You can see the last commit passing.
For me, it showed that it passed checks on the PR but then failed when it was committed. |
This reverts commit 1d39caa.

Pinging @thewilsonator