CodeGrade / orca

Grading job server for CS student submissions.
1 stars 1 forks source link

Worker handles SIGINT and SIGKILL. #40

Closed williams-jack closed 1 year ago

williams-jack commented 1 year ago

Feature/Problem Description

Workers populated by a larger Kubernetes system should be able to handle being shut down (e.g., in a scale down scenario). This means ensuring that a job that has not been completed is able to be regraded and picked up again ASAP.

Solution (Changes Made)

blerner commented 1 year ago

Observer to look for a .jobcompleted or .killjob file to signify the termination of a job. Is this still present? I don't see any use of it any more...

williams-jack commented 1 year ago

Observer to look for a .jobcompleted or .killjob file to signify the termination of a job. Is this still present? I don't see any use of it any more...

All instances were in __main__.py and stop_worker.py. Everything's gons from there and I ran a grep on all the code -- we should be all set.

blerner commented 1 year ago

Then why are they still in .gitignore?