agent icon indicating copy to clipboard operation
agent copied to clipboard

Bootstrap cancel timeout can leave per-job temporary directories behind

Open keithduncan opened this issue 2 years ago • 0 comments

If a per-job bootstrap process is forcibly terminated, any temporary directories it has created (such as in the empty BUILDKITE_REPO case) will not be cleaned up.

This is hard to solve in the general case since the bootstrap process tree involves user supplied code, but we can at least clean up the directories our agent is responsible for having created.

keithduncan avatar Aug 13 '21 06:08 keithduncan