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 execution cancellation #358

Merged

Conversation

arksap2002
Copy link
Collaborator

Description of changes made

Fix "run all" button cancellation. Checks for indicator cancellation and returns states of all remaings test cases.

Other notes

Closes #353

  • I have checked that I am merging into correct branch

@arksap2002 arksap2002 added bug Something isn't working Ready for review PR redy for review labels Sep 11, 2024
@pderakhshanfar pderakhshanfar added the In progress PR is in progress label Sep 18, 2024
Copy link
Collaborator

@Vladislav0Art Vladislav0Art left a comment

Choose a reason for hiding this comment

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

We need to start thinking about a transition to Kotlin coroutines. Although this ProgressManager-related API is marked obsolete, we still use it.

Besides, in this particular case, we could efficiently parallelize the execution of test cases if we used coroutines. Currently, we execute test cases iteratively one by one which is very slow in comparison.

Additionally, it becomes hard to manage cancellations, progress-based executions, and state updates as the project grows.

CC: @arksap2002 @pderakhshanfar @Hello-zoka

@Vladislav0Art Vladislav0Art force-pushed the arksap2002/bugs/fix-excecution-cancellation branch from a50a1d3 to 0220e73 Compare September 30, 2024 16:45
@Vladislav0Art
Copy link
Collaborator

Rebased on development.

@Vladislav0Art Vladislav0Art merged commit d30e73e into development Sep 30, 2024
3 checks passed
@arksap2002 arksap2002 deleted the arksap2002/bugs/fix-excecution-cancellation branch October 15, 2024 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working In progress PR is in progress Ready for review PR redy for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Excecution cancellation doesn't work
3 participants