You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: properly handle temp files in group jobs that are not needed outside of the group (do not upload them to storage and delete them early) (#3730)
### Description
<!--Add a description of your PR here-->
### QC
<!-- Make sure that you can tick the boxes below. -->
* [x] The PR contains a test case for the changes or the changes are
already covered by an existing test case.
* [x] The documentation (`docs/`) is updated to reflect the changes or
this is not necessary (e.g. if the change does neither modify the
language nor the behavior or functionalities of Snakemake).
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Temp-file cleanup is now group-aware and recursively handles grouped
jobs, respecting group boundaries.
* **Bug Fixes**
* Prevents removal of temp files still needed by downstream jobs outside
a group, avoiding downstream failures.
* Improved diagnostic logging for temp-file decisions and group
handling.
* **Tests**
* Added an end-to-end test, expected-result assets, and a helper script
to validate group-aware temp-file behavior.
* **Chores**
* Spawned job invocations no longer force a notemp flag, restoring
default temp-file behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
0 commit comments