Lack of error handling when no setup.exe sub-processes exist causes DSC to interpret completion as failure
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 86/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- powershell
- 領域
- devops
調査の方向性
Get-Process Setup が呼び出されている Microsoft.VisualStudio.DSC/Microsoft.VisualStudio.DSC.psm1 の 297 行目付近から始めます。Setup サブプロセスを使わずに DSCv3 の完了パスを再現し、コマンドエラーがどのように捕捉されるかを確認します。該当するプロセスが存在しない場合に Setup の完了が成功として扱われ、同時にサブプロセスの実際の失敗を引き続き検出できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
When using Microsoft.VisualStudio.DSC/VSComponents in DSCv3, the DSC shows failure after setup completion at https://github.com/microsoft/VisualStudioDSC/blob/6ae0076f62eab2118c3c74fdf96d6db78dbe913b/Microsoft.VisualStudio.DSC/Microsoft.VisualStudio.DSC.psm1#L297 because Get-Process Setup cmdlet throws when it does not find any matching processes. Based on the rest of the function, $activeInstallerProcess is treated as optional because there is a truthy check before looping through to find any exit codes that are considered failures from the setup sub-processes, so it seems like Get-Process should be invoked with -ErrorAction SilentlyContinue or similar.
Failure in DSC console log:
[4954:0001][2026-09-29T15:13:09] ManifestVerifier Result: Success
[4954:0001][2026-09-29T15:13:09] ManifestVerifier Result: Success
2026-09-29T22:13:09.866178Z ERROR PID 8476: Cannot find a process with the name "Setup". Verify the process name and call the cmdlet again.
2026-09-29T22:13:10.324626Z ERROR PID 8476: Errors were captured during script execution. Check previous error traces for details.
2026-09-29T22:13:10.365420Z ERROR Failed to run process 'pwsh': Command: Resource 'pwsh' [exit code 1]
2026-09-29T22:13:10.367696Z ERROR Error: Command: Resource 'pwsh' [exit code 1]
When running an equivalent command directly through setup.exe in the VS Installer, it succeeds without issue.
- 主要言語
- PowerShell
- スター
- 16
- フォーク
- 6
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/VisualStudioDSC のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
microsoft/VisualStudioDSC#37 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
microsoft/VisualStudioDSC#34 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
microsoft/VisualStudioDSC#33 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoft/VisualStudioDSC#24 · コメント 1 件 ·
microsoft/VisualStudioDSC の issue をすべて見る
似ている issue
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redhat-developer/rhdh-plugin-export-overlays#4261 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ggml-org/whisper.cpp#4103 ·
メンテナーはふだん 1 日以内に返信
-
nightly-tests
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
BlackBeltTechnology/pi-agent-dashboard#825 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
bluesky-social/indigo#1496 ·
メンテナーはふだん 2 日以内に返信
-
Installation profiles accept channel proxy URLs Helm and the URL parser refuse対応中かも @ericcaiwx-star が今日担当しました。 オープンclawsweeper:bulk-filed clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openclaw/openclaw-enterprise#1670 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信