Monitor Needs to Detect Allocation Walltime
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 151
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
To safely shut down workers and keep the database up-to-date, the monitor needs to automatically shut down workers when the allocation is about to end. This will likely provide safer relinquishing of tasks than if the allocation just dies from walltime limits.
There should be a way to say "if there's x minutes (or seconds) until wall time, shut down workers and don't attempt to auto-restart the workflow". Bogdan Kustowski has requested that there should be a way for users to set the x variable from within the spec file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the monitor's worker shutdown and auto-restart logic, along with the workflow spec parsing entry point. Define how remaining allocation walltime is obtained and how a user-configured threshold triggers shutdown without restarting the workflow; done means workers relinquish tasks safely and the threshold can be set in the spec file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, hpc
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100