envbox icon indicating copy to clipboard operation
envbox copied to clipboard

Agent shutdown scripts are not run when envbox is terminated

Open spikecurtis opened this issue 1 year ago • 0 comments

A customer is using envbox and setting Coder Agent shutdown scripts, but it doesn't appear these are being executed.

I suspect what's happening is that envbox is failing to propagate signals (especially SIGTERM) to the inner workspace agent process, meaning it never realizes it should be shut down until the whole envbox container and process tree is killed by the OS.

spikecurtis avatar Jun 24 '24 06:06 spikecurtis