copilot-instructions.md documents `dotnet test` for server tests, which fails on .NET 10
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 88/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- csharp
調査の方向性
.github/copilot-instructions.md の 60 行目付近から始め、src/ServerTests に記載されている server-test コマンドを確認してください。ARCHITECTURE.md または README に同じ指示が繰り返されていないか確認し、CI ジョブのテスト呼び出しと比較してください。コントリビューター向けの指示で動作するコマンドが使われ、矛盾するローカルの案内が残っていなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
.github/copilot-instructions.md line 60 says:
- Run server tests:
dotnet testfrom theServerTestsproject.
That command no longer works. Running it in src/ServerTests fails before any test executes:
error : Testing with VSTest target is no longer supported by Microsoft.Testing.Platform
on .NET 10 SDK and later. If you use dotnet test, you should opt-in to the new dotnet test
experience. For more information, see https://aka.ms/dotnet-test-mtp-error
[src/ServerTests/ServerTests.csproj]
The project uses Microsoft.Testing.Platform, and under the .NET 10 SDK the VSTest target it routes through is gone.
What actually works
cd src/ServerTests
dotnet run
Test run summary: Passed! - src/ServerTests/bin/Debug/net10.0/ServerTests.dll (net10.0|x64)
total: 214
failed: 0
succeeded: 214
skipped: 0
Why this is worth fixing
The instructions file is the first thing an AI agent reads before touching this repo, and it is the documented entry point for contributors. A command that fails immediately sends the reader down a dead end at exactly the moment they are trying to verify their work.
The failure is also easy to misread. It surfaces as a red error : from an MSBuild target with a non-zero exit code, so it looks like a broken build or a failing test suite rather than a wrong command — the plausible next move is to start "fixing" code that was never broken.
This happened during a real session: the documented command was run against a green branch, failed, and needed a second attempt with dotnet run to discover all 214 tests actually pass.
Note CI is unaffected — the Unit Tests (Server/.NET) job passes, so it is invoking the suite some other way. Only the documented local command is wrong.
Suggested fix
Update line 60 to dotnet run, and ideally align it with however the CI job invokes the tests so the documented command and CI stay in agreement.
Worth checking whether ARCHITECTURE.md or the README repeat the same dotnet test instruction.
- 主要言語
- TypeScript
- スター
- 6
- フォーク
- 7
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/Kusto-Explorer-VsCode のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
-
Results grid: show Count/Sum/Avg/Min/Max for selected numeric cells in a status bar対応中かも @AsafMah が 62 日前に担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/Kusto-Explorer-VsCode#143 · コメント 1 件 ·
-
Add a setting to scope the query CodeLens to the active query対応中かも @AsafMah が 61 日前に担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
microsoft/Kusto-Explorer-VsCode の issue をすべて見る
似ている issue
-
Add: Disco Mix SDオープンcheck:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
level2 nsoc26
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
GauravKarakoti/SecureFlow#1488 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
deltachat/deltachat-desktop#6914 ·
メンテナーはふだん 2 日以内に返信
-
area:cli bug P4
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug from-studio
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
esengine/DeepSeek-Reasonix#14868 ·
メンテナーはふだん 1 日以内に返信