This can be tricky: in some cases we can "just" send a TERM/INT/KILL signal to process, but:
it is not guaranteed that a process is running just one build at once (threads, greenlets, ..)
it is not guaranteed that the PID has not been reallocated
On a side note, we also want some way to track & report sudden death of builder processes (maybe some method to check for worker status? -> celery should provide some mechanisms to do so..)
This can be tricky: in some cases we can "just" send a TERM/INT/KILL signal to process, but:
On a side note, we also want some way to track & report sudden death of builder processes (maybe some method to check for worker status? -> celery should provide some mechanisms to do so..)