Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add --parsable to sbatch call for a more robust output parsing #125

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

nigiord
Copy link
Contributor

@nigiord nigiord commented Aug 6, 2024

Following discussion in #121 (comment) , this implementation seems more robust than match a word with only numbers (which could break in future versions of slurm, or if a cluster name is made of only numbers).

@cmeesters
Copy link
Member

Thank you for your contribution! I will merge this (after fixing the linter issue) - but a new release has to wait until some more contribs are merged. This contrib does not change behaviour, after all. It may wait a day or two.

@nigiord
Copy link
Contributor Author

nigiord commented Aug 6, 2024

Sorry for the linter issue, I fixed it. Of course the current implementation works fine so it can wait for the next release :) . Thank you for time!

@cmeesters cmeesters merged commit 5e41d05 into snakemake:main Aug 7, 2024
4 checks passed
@cmeesters
Copy link
Member

no need to apologize - thank you for your contribution once more!

(now, after the holidays, I am still pretty busy, but will work on improving the code once more)

This was referenced Aug 8, 2024
cmeesters pushed a commit that referenced this pull request Aug 23, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.10.0](v0.9.0...v0.10.0)
(2024-08-23)


### Features

* in job stability
([#137](#137))
([c27f5f8](c27f5f8))


### Bug Fixes

* add --parsable to sbatch call for a more robust output parsing
([#125](#125))
([5e41d05](5e41d05))
* issue
[#109](#109)
- preemption is no longer considered a failed status
([#132](#132))
([6dad273](6dad273))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced the `--parsable` option to the `sbatch` command for
improved output parsing.
	
- **Bug Fixes**
- Revised job preemption handling to prevent it from being marked as a
failed status, enhancing job stability.
	
- **Chores**
- Updated the version number of the Snakemake Executor Plugin for Slurm
to 0.10.0 in preparation for the release.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants