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

Step queue executor: fix stop protocol action #498

Merged
merged 4 commits into from
Feb 29, 2024
Merged

Conversation

danielmarchan3
Copy link
Contributor

Improved handling of the case where we send protocols steps to the queue:

  • Previously, stopping the protocol did not effectively prevent it from sending jobs to the queue. Now, active jobs are stored in the 'jobIds' protocol variable. Iteration through these job IDs allows for canceling each active job sent to the queue. After cancellation, the parent process controlling the protocol and its child processes are terminated.

  • Implemented cleaning of old protocol job IDs and PIDs. This cleaning occurs when duplicating, resetting, or restarting a protocol. Previously, these values were maintained even though they were not active.

@danielmarchan3 danielmarchan3 added bug Something isn't working enhancement New feature or request labels Feb 23, 2024
@danielmarchan3 danielmarchan3 self-assigned this Feb 23, 2024
Copy link
Contributor

@pconesa pconesa left a comment

Choose a reason for hiding this comment

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

Could you please, add a line in the CHANGES.txt ?

@danielmarchan3
Copy link
Contributor Author

Could you please, add a line in the CHANGES.txt ?

Of course, it is done.

Copy link

sonarcloud bot commented Feb 29, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@pconesa pconesa merged commit 7b1a8c6 into devel Feb 29, 2024
1 check passed
@pconesa pconesa deleted the dmt_stepQueue_executor branch February 29, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants