Skip to content

fix(snakemake): detect cancelled child jobs - #148

Merged
kopardev merged 5 commits into
mainfrom
issue_141
Sep 25, 2026
Merged

kopardev merged 5 commits into
mainfrom
issue_141

Conversation

@kopardev

@kopardev kopardev commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Changes

This PR adds a SLURM status hook for classic Snakemake cluster mode and wires --cluster-status / --cluster-cancel into ASPEN so cancelled, timed out, OOM-killed, or otherwise failed child jobs are detected and handled cleanly instead of leaving the master workflow hanging. It also adds a small runtime guard for the status script and updates the changelog.

Fixes #141.

Issues

PR Checklist

  • This comment contains a description of changes with justifications, with any relevant issues linked.

- [ ] Update docs if there are any API changes.

  • Update CHANGELOG.md with a short description of any user-facing changes and reference the PR number. Guidelines: https://keepachangelog.com/en/1.1.0/
  • Test run completes successfully on biowulf.

@github-actions github-actions Bot added the ASPEN RepoName label Sep 24, 2026
@kopardev
kopardev merged commit a25cf00 into main Sep 25, 2026
4 of 5 checks passed
@kopardev
kopardev deleted the issue_141 branch September 25, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ASPEN RepoName

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Snakemake jobs killed by SLURM (timeout/OOM/cancel) are never detected — pipeline hangs indefinitely

1 participant