diff options
author | Ben Sima <ben@bsima.me> | 2024-04-15 15:32:22 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2024-04-15 16:00:53 -0400 |
commit | bceac781e4505a6e2089621012deee449fe62b11 (patch) | |
tree | e212313994515b101ea371d323004f4c4bd44541 /Biz/Bild/Functions.nix | |
parent | de41131cb6b462946caaec9a9a87767441081474 (diff) |
Cleanup build processes on timeout
On timeout, bild would leave it's child processes still running, which means
that a long build would continue to go in the background, and I'd have to
manually find and kill it. The fix was simply to use Conduit's
`closeStreamingProcessHandle` function, and make sure that Conduit created a
group for the processes (by default it doesn't).
I tested this by building and running `bild` with a very low timeout (1 minute)
and watching `gotop` to make sure it stopped the active build process. I
couldn't figure out a simple way to test this automatically.
Diffstat (limited to 'Biz/Bild/Functions.nix')
0 files changed, 0 insertions, 0 deletions