Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit fc85e3b

Browse files
Merge branch 'main' into no-more-utils
2 parents 3013e95 + 8752ce8 commit fc85e3b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

internal/runner/manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ func (m *Manager) allocatePrediction(runner *Runner, req PredictionRequest) { //
435435
if err != nil {
436436
logger.Errorw("failed to stop runner in one-shot mode", "error", err, "runner_id", runner.runnerCtx.id)
437437
}
438+
runner.ForceKill()
438439
case <-time.After(timeout):
439440
logger.Warnw("stop timeout exceeded in one-shot mode, falling back to force kill", "timeout", timeout, "runner_id", runner.runnerCtx.id)
440441
runner.ForceKill()

script/test-setuid-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ docker run -it --detach \
4545
--volume "$PWD":/src python:latest \
4646
-c "$SCRIPT"
4747

48-
#trap 'docker stop $name' EXIT
48+
trap 'docker stop $name' EXIT
4949

5050
# Wait for server to be ready
5151
sleep 3

0 commit comments

Comments
 (0)