Skip to content

Conversation

@lkwinta
Copy link
Contributor

@lkwinta lkwinta commented Dec 19, 2025

This pull request introduces an implementation for the cancelJob method in the Geant4LocalWorkerSimulationService class, replacing the previous unimplemented error. It also updates the src/libs/converter submodule to a new commit.

Key changes:

Feature Implementation:

  • Implemented the cancelJob method in Geant4LocalWorkerSimulationService, 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:

  • Updated the src/libs/converter submodule to a newer commit, which may bring in bug fixes or new features from the converter library.

Copilot AI review requested due to automatic review settings December 19, 2025 10:08
@lkwinta lkwinta self-assigned this Dec 19, 2025
@lkwinta lkwinta requested review from Copilot, grzanka and kmichalikk and removed request for Copilot December 19, 2025 10:09
Copy link
Contributor

Copilot AI left a 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 cancelJob method 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.

Copy link
Contributor

@grzanka grzanka left a 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.

@lkwinta
Copy link
Contributor Author

lkwinta commented Dec 19, 2025

Can you revert the converter update ? You set the converter to some old commit now.

Fixed.

@grzanka grzanka added this pull request to the merge queue Dec 20, 2025
Merged via the queue into master with commit 7eec3c7 Dec 20, 2025
11 checks passed
@grzanka grzanka deleted the 2228-implement-cancelling-of-geant4-simulation branch December 20, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants