-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Fix other.test_jspi_async_function. NFC #24590
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
Conversation
There was a race between emscripten-core#24550 and emscripten-core#24578 resulting in this test failing when it was landed.
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.
Thanks.
I think we should enable merge queue for Emscripten. We used it in another project and it saves from conflicts like this one whenever you have many contributors "racing" at once. |
Yes, but...
|
Heh it would have opposite impacts on two parts of this. Re:slow - a merge queue would help with that as it would run the entire suite once instead of separately to merge each PR. OTOH because they're flaky, yeah, it would mean it would cancel entire group of PRs at once as well. That does need to be addressed... |
If we don't run the test suite on PRs/commits this can break bisecting can't it? And lower the confidence we have in any one single PR?
|
Hmm, have you used this feature much? From reading the docs it does sounds like each PR would get the full set of tests run on it before merging any of them, is that right? Also, what happens if I update PR that happens to be in the middle of the queue somewhere? I assume this would push be to the back of the queue, and force any PRs that were behind me in the queue to have their tests re-run? |
Only if you've got two PRs somehow in the same queue (for that they have to be "merged" concurrently) where one of them breaks something and another happens to fix the very same thing, so applied together they "cancel out" and the entire queue passes CI even though individual PRs wouldn't. That's extremely unlikely, especially since, like you said, we don't get concurring PRs often in the first place.
I think that's correct. |
Actually, from my reading of the docs it looks like the test need to pass at each individual PR, not just the combined total, right? |
I think they're distinct. Same as with single PRs (in normal workflow) you have separate checks for PR itself and separate for merge commit, with merge queue you'll still have separate check for PR itself unless disabled, and then separate for the entire merge group aka merge commit, by using this trigger. https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows |
I see, but the checks that happen for each PR are in isolation and don't contain PRs that are ahead in the queue? That makes some sense I suppose. |
Yeah, they run independently from whether PR is in merge queue or not. |
There was a race between #24550 and #24578 resulting in this test failing when it was landed.