stackabletech / stackabletech/stackablectl
chore: Improve error messages
オープン
まだ誰も着手していません。
- 主要言語
- Rust
- スター
- 10
- フォーク
- 5
- 平均マージ
- 4時間 41分
- マージ済み PR(30日)
- 4
説明
currently:
> stackablectl stack install trino-iceberg
An unrecoverable error occured: failed to execute stack (sub)command
Caused by these errors (recent errors listed first):
1: failed to install stack
2: stack resource requests error
3: failed to create kube client
4: failed to create Kubernetes client
5: Failed to infer configuration
6: failed to infer config
7: failed to determine current context
This is a bit cryptic. it would be good to catch this error and print a more readable message like "could not connect to Kubernetes cluster" or "No Kubernetes configuration found" or something like that. Possibly with context information like "tried connecting to ..." or "tried reading file at ..."
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
stackablectl stack install trino-iceberg コマンドから始め、報告されている Kubernetes クライアントと設定推論のエラーを追跡します。完了条件は、暗号的な入れ子のエラーチェーンを、接続や設定不足に関するガイダンスなどの読みやすいメッセージに置き換え、利用可能な場合は関連するコンテキストも含めることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- kubernetes, rust
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100