Skip to content

feat(runner): classify killed tests (timeout vs OOM vs SIGKILL)#689

Merged
Chemaclass merged 1 commit into
mainfrom
feat/683-classify-killed
Jun 3, 2026
Merged

feat(runner): classify killed tests (timeout vs OOM vs SIGKILL)#689
Chemaclass merged 1 commit into
mainfrom
feat/683-classify-killed

Conversation

@Chemaclass
Copy link
Copy Markdown
Member

🤔 Background

Related #683

A killed test only showed a generic "Killed", giving no hint whether it was a timeout, an out-of-memory kill, or a forced termination.

💡 Changes

  • Map the process exit code to a specific cause: timeout (124), SIGINT (130), SIGKILL/OOM (137), SIGTERM (143), or "Killed by signal N"
  • Use that message in failure output when a test is killed by a signal

A test killed by a signal now reports a specific cause instead of a
bare 'Killed': timeout (124), SIGINT (130), SIGKILL/OOM (137),
SIGTERM (143), or a generic 'Killed by signal N' for other 128+N
codes. Bash 3.0+ compatible.

Closes #683
@Chemaclass Chemaclass added the enhancement New feature or request label Jun 3, 2026
@Chemaclass Chemaclass self-assigned this Jun 3, 2026
@Chemaclass Chemaclass merged commit 4c2aad9 into main Jun 3, 2026
30 checks passed
@Chemaclass Chemaclass deleted the feat/683-classify-killed branch June 3, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant