test_session_capacity_k8s.py: k8s_cluster_configured step has the same kubeconfig-exception gap fixtures.py just fixed
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- kubernetes, python
- 領域
- testing-qa
調査の方向性
src/vip/fixtures.py を読み、既存の kubernetes_client の例外処理を比較してから、src/vip_tests/workbench/test_session_capacity_k8s.py の k8s_cluster_configured ステップと、その session-scope に関する要件を調べます。関連するテストファイルを実行します。malformed または unreadable な kubeconfig による失敗が、例外として抜けたり未設定のクラスターとして扱われたりせず、一貫して分類されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
PR #716 (2.7, errors-narrow-plugin-fixtures) fixed src/vip/fixtures.py's kubernetes_client fixture so a real Kubernetes client-construction failure (missing SDK, unreadable/malformed kubeconfig — kubernetes.config.ConfigException, OSError, yaml.YAMLError) raises ConfigError instead of being silently swallowed as None/"not configured".
src/vip_tests/workbench/test_session_capacity_k8s.py's k8s_cluster_configured BDD step independently constructs its own KubernetesClient, with its own except RuntimeError-only handling — the same class of gap fixtures.py just closed, but at a different call site that #716 didn't touch (not in that row's file scope, and not covered by wave 2's 2.9, 2.10, or 2.11 rows either — checked their file lists directly).
What's wrong
A malformed/unreadable kubeconfig hitting this BDD step's client construction can raise ConfigException/OSError/YAMLError uncaught, past the narrower except RuntimeError, instead of being classified consistently with how fixtures.py now handles the identical failure mode.
What to do
Apply the same broadened exception handling fixtures.py's kubernetes_client fixture now uses to k8s_cluster_configured's own KubernetesClient construction in test_session_capacity_k8s.py, or refactor the step to reuse the fixture instead of constructing its own client (check whether the step needs the fixture's session scope first).
Origin
Found during independent code review of PR #716 (2.7 errors-narrow-plugin-fixtures), part of the vip quality-program wave 2. Left unfixed there since the file isn't in that row's approved scope.
- 主要言語
- Python
- スター
- 8
- フォーク
- 1
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 33
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/vip のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
team: workbench
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
posit-dev/vip#274 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
team: connect
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 1〜2日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagation対応中かも @muskan-creates352 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
mllam/neural-lam#848 ·
メンテナーはふだん 2 日以内に返信
-
infra
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
fab-geocommuns/RNB-coeur#1166 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
deepspeedai/DeepSpeed#8951 ·
メンテナーはふだん 2 日以内に返信