cucapra / cucapra/polyphemus

Graceful warning when trying to kill a worker that's running a stage

Open
#29 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Trap the first Ctrl-C to workproc and show a warning if the worker is running a job.

On the second Ctrl-C, gracefully execute a cleanup phase to write back changes from the `make` stage.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the workproc entry point and trace how worker jobs and the `make` stage respond to Ctrl-C. The issue names no files or tests, so first locate the signal-handling and cleanup code, then verify that the first interrupt warns during a job and the second writes back changes before exiting.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.