buildkite / buildkite/agent

Plugin pre-exit hooks are not called when a task times out

Open
#1,202 0 comments 1 reaction 0 assignees View on GitHub
hook
Dominant language
Go
Stars
1.1k
Forks
378
Avg merge
2d 6h
Merged PRs (30d)
74

Description

We leverage a custom Buildkite plugin with cleanup behavior in a pre-exit hook. When a task times out from `timeout_in_minutes`, the pre_exit hook is never called.

**Current behavior:**
The task times out, and the plugins pre_exit hook is never called.

**Expected behavior:**
The plugins pre_exit hook is called.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.