posit-dev / posit-dev/rsconnect-python
`rsconnect kill <content_id> [<job_id>]`
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 37
- フォーク
- 28
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 7
説明
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>.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、既存の rsconnect CLI コマンドのエントリポイントを追跡し、それらが Connect API をどのように呼び出しているかを確認します。リンクされている DELETE job エンドポイントを読み、content_id とオプションの job_id を requests にどのように対応付けるべきかを判断します。rsconnect kill <content_id> [<job_id>] が指定どおりに 1 つの job またはすべての content プロセスを停止できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, cli
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100