Add positive cDAC loading policy tests with .NET 11 dumps
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- cpp, linux
調査の方向性
既存の DbgShim.UnitTests の negative/fallback cDAC ポリシーテストと、診断テストアセットのワークフローから開始します。IXCLRDataProcess と DBI ICorDebugProcess の直接アクティベーションを追跡し、その後、3 つすべてのポリシーについて Windows と Linux の .NET 11 ダンプのカバレッジを追加します。CI が positive cDAC activation、provider selection、および変更されていない legacy DAC behavior を証明できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Background
Dbgshim now has deterministic negative/fallback coverage for the cDAC loading policies by pointing DOTNET_CDAC_PATH at a nonexistent library. The tests verify LegacyDacOnly, PreferCDac, and CDacOnly for both direct IXCLRDataProcess activation and the DBI ICorDebugProcess path.
The current DbgShim.UnitTests dump assets are .NET 6, so they cannot positively validate activation through mscordaccore_universal. Positive coverage requires dumps generated from a compatible .NET 11 runtime and the matching cDAC/DBI artifacts.
Proposed work
- Generate and publish Windows and Linux .NET 11 dump test assets using the existing diagnostics test-asset workflow.
- Make the matching
mscordaccore_universalandmscordbiavailable to DbgShim.UnitTests. - Add positive policy tests for both activation routes:
- Direct data access requesting
IXCLRDataProcess. - DBI activation requesting
ICorDebugProcess.
- Direct data access requesting
- Verify policy behavior:
CDacOnlysucceeds without invoking the library provider.PreferCDacsucceeds through cDAC without invoking the fallback provider.LegacyDacOnlyuses the legacy DAC provider and succeeds.
- Include Windows-hosted Linux cross-dump coverage so target platform detection and cDAC activation are exercised together.
- Assert which path was used, not only that activation succeeded, using provider invocation counts and/or a test-visible activation signal.
Acceptance criteria
- Positive cDAC activation is exercised in CI against a .NET 11 dump.
- Direct data-access and DBI routes are both covered.
- All three loading policies have independently identifiable test cases.
- The tests prove cDAC success does not consult the fallback provider.
- Legacy DAC behavior remains covered and unchanged.
- 主要言語
- C++
- スター
- 1.3k
- フォーク
- 407
- 平均マージ
- 21時間 5分
- マージ済み PR(30日)
- 78
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/diagnostics のほかの issue
-
Fix StackAndOtherTests.script line number verification for .NET 11 and Windows x64再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dotnet/diagnostics#5884 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
dotnet/diagnostics#6225 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
dotnet/diagnostics#6213 ·
メンテナーはふだん 1 日以内に返信
-
Isolate SOS hosting from other debugger extensions that use managed code対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
dotnet/diagnostics#6207 ·
メンテナーはふだん 1 日以内に返信
-
Known Build Error
難易度 4/5 3〜5日 初心者へのやさしさ 49/100
dotnet/diagnostics#6190 ·
メンテナーはふだん 1 日以内に返信
dotnet/diagnostics の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AutoHotkey/AutoHotkey#380 ·
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
grumpycoders/pcsx-redux#2667 ·
-
GCC 15.2: -Wcast-qual warning - cast discards const qualifier from pointer target type (H5trace.c)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
google/tensorstore#305 ·