Skip to content

Clean up native class cell process groups on timeout - #518

Merged
CaelmBleidd merged 1 commit into
mainfrom
caelmbleidd/calls-campaign-process-cleanup
Oct 15, 2026
Merged

CaelmBleidd merged 1 commit into
mainfrom
caelmbleidd/calls-campaign-process-cleanup

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Native class measurement can spend its wall-clock allowance replaying candidates in descendant processes. When the cell deadline expires or the campaign receives SIGTERM, terminating only the JVM can leave that work running while the next cell starts.

Run each POSIX cell in its own process group and terminate the owned group on timeout or interruption. Preserve the existing measurement schedule and timeout outcome, and record the child PID, process-group identity, elapsed time and log hash.

Validation: all 24 focused campaign Python checks passed, including real parent/grandchild fixtures for timeout and SIGTERM cleanup. No symbolic machine or broad test suite was run.

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/calls-campaign-process-cleanup branch from 9599926 to 8d52be4 Compare October 15, 2026 13:51
@CaelmBleidd
CaelmBleidd merged commit 0e70fe0 into main Oct 15, 2026
6 checks passed
@CaelmBleidd
CaelmBleidd deleted the caelmbleidd/calls-campaign-process-cleanup branch October 15, 2026 13:52
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.

1 participant