posit-dev / posit-dev/rsconnect-python
`rsconnect kill <content_id> [<job_id>]`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37
- Forks
- 28
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 7
Description
There is a Connect API for this but no convenience utility to reach it.
I'm assuming that in the average use case, there's not a specific process associated with a Content that I want to kill, I just know that my app is hung or consuming too much memory and I want to kill "it" (however many processes it has) and restart it. So if <job_id> isn't provided, it kills all processes associated with <content_id>.
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 tracing the existing rsconnect CLI command entry points and how they call the Connect API. Read the linked DELETE job endpoint and determine how content_id and optional job_id should map to requests. Done means rsconnect kill <content_id> [<job_id>] kills one job or all content processes as specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100