-
Notifications
You must be signed in to change notification settings - Fork 5
#2228: Add cancelation of the geant4 simulation #2310
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
#2228: Add cancelation of the geant4 simulation #2310
Conversation
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.
Pull request overview
This PR implements job cancellation functionality for the Geant4 local worker simulation service and updates the converter submodule dependency.
- Implements the previously unimplemented
cancelJobmethod to properly terminate and clean up simulation workers - Updates the converter submodule to a newer commit
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/services/Geant4LocalWorkerSimulationService.ts | Implements cancelJob method to mark workers for termination and remove them from tracking |
| src/libs/converter | Updates submodule to newer commit |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
grzanka
left a comment
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.
Can you revert the converter update ? You set the converter to some old commit now.
Fixed. |
This pull request introduces an implementation for the
cancelJobmethod in theGeant4LocalWorkerSimulationServiceclass, replacing the previous unimplemented error. It also updates thesrc/libs/convertersubmodule to a new commit.Key changes:
Feature Implementation:
cancelJobmethod inGeant4LocalWorkerSimulationService, allowing jobs to be safely terminated and cleaned up by marking the worker for termination and removing it from the internal tracking map.Dependency Update:
src/libs/convertersubmodule to a newer commit, which may bring in bug fixes or new features from the converter library.