Create `cancel_jobs()` Tooling for Schedulers
- Dominant language
- Python
- Stars
- 4
- Forks
- 1
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 3
Description
It would also be useful to have a `cancel_jobs()` tool which would cancel jobs in the current instance. LLM just has to be careful not to cancel jobs that are outside of LLM chat.
Right now if I made an error in param generation step, I have to go to the terminal and type in `flux cancel -u moreno45` but that cancels everything. Just have to be wary of canceling specific LLM chat jobs.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Python tool definitions for scheduler operations and the existing `flux cancel -u moreno45` command path. Trace how jobs in the current instance and jobs outside the LLM chat are distinguished; done means the requested `cancel_jobs()` behavior and its cancellation boundaries are clearly verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100