PowerShell / PowerShell/PowerShellEditorServices
Ensure errors in unawaited Tasks are caught with ContinueWith
オープン
まだ誰も着手していません。
Area-Logging
Issue-Enhancement
- 主要言語
- C#
- スター
- 767
- フォーク
- 266
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 1
説明
Right now there are a bunch of tasks we fire off in PSES that are never awaited, meaning any errors thrown by those tasks are never handled or even logged. We need to add continuation handlers to those tasks to ensure we know about all failures occurring in PSES.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では PSES が挙げられていますが、ファイル、テスト、またはタスクのエントリポイントは特定されていません。まず PowerShell Editor Services 内で await されていないタスクを見つけ、それらの失敗が現在どのように処理されているかを確認してください。これらのタスクに ContinueWith ハンドラーがあり、失敗が処理またはログ記録される状態になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100