Skip to content
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

fix: Fix flank freezes when large number of matrices is launched #2026

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

pawelpasterz
Copy link
Contributor

@pawelpasterz pawelpasterz commented Jun 10, 2021

Fixes #2021

Test Plan

How do we know the code works?

It is impossible to test whole flow in sensible and reliable way. It would require mocking lots of methods and since the problem is related with multithreading I think it's not the best idea. What's more, test might be unreliable due to differences in CPU configurations on different machines.

@asadsalman was asked to verify fix, as a proof (thanks!)

@github-actions
Copy link
Contributor

Timestamp: 2021-06-10 18:37:23
Buildscan url for ubuntu-workflow run 926105140
https://gradle.com/s/asqqhia56qvru

@asadsalman
Copy link
Contributor

Tried this fix out and it works great! Thank you for the quick help!

@pawelpasterz pawelpasterz marked this pull request as ready for review June 11, 2021 08:58
@pawelpasterz
Copy link
Contributor Author

@flank-it

@github-actions
Copy link
Contributor

github-actions bot commented Jun 11, 2021

Integration tests succeed for all OSes ✅
Windows Build scan:
MacOS Build scan: https://gradle.com/s/3dj4ollgab6kq
Linux Build scan: https://gradle.com/s/tnubl7kqwjmzc
Workflow run https://github.com/Flank/flank/actions/runs/927981125

Copy link
Contributor

@Sloox Sloox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one line? @pawelpasterz

@mergify mergify bot merged commit 9231ea0 into master Jun 11, 2021
@mergify mergify bot deleted the 2021-fix-flank-freezes-with-largre-number-matrices branch June 11, 2021 11:18
@github-actions github-actions bot locked and limited conversation to collaborators Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Large number of matrices causes flank to block indefinitely
4 participants