[file-diet] Refactor TestingPlatformEntryPointTask.cs (739 lines) into focused files
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- csharp
- 領域
- build-system
調査の方向性
Start with src/Platform/Microsoft.Testing.Platform.MSBuild/Tasks/TestingPlatformEntryPointTask.cs, separating the task orchestration around lines 12-160 from the embedded C#, Visual Basic, and F# templates. Preserve the existing template content and public API, then run the existing tests. Done means generated output is byte-identical and each of the four files is under 300 lines.
索引モデルが issue の本文から書いたものです。
説明
Overview
The file src/Platform/Microsoft.Testing.Platform.MSBuild/Tasks/TestingPlatformEntryPointTask.cs has grown to 739 lines, making it harder to navigate and maintain. (XxHashShared.cs at 925 lines is a verbatim upstream port and was skipped.)
Current State
- Size: 739 lines, C#
- Lines ~12-160: the MSBuild task (properties,
Execute, host factory validation,GenerateSource). - Remaining ~580 lines: embedded C#, VB and F# source templates for the generated entry point, in variants with/without entry point and with/without host factory.
Proposed Splits
TestingPlatformEntryPointTask.cs(partial): task orchestration and validation.TestingPlatformEntryPointTask.CSharpTemplates.cs: C# templates.TestingPlatformEntryPointTask.VisualBasicTemplates.cs: VB templates.TestingPlatformEntryPointTask.FSharpTemplates.cs: F# templates.
Acceptance Criteria
- Generated output is byte-identical
- Each new file is under 300 lines
- Public API unchanged; tests pass
Priority: Medium | Effort: Small
🤖 Automated content by GitHub Copilot. Generated by the Daily File Diet workflow. · copilot · auto · 29.2 AIC · ⌖ 8.2 AIC · ⊞ 12.1K · [◷]( · ◷)
- expires on Oct 1, 2026, 6:58 PM UTC
- 主要言語
- C#
- スター
- 1k
- フォーク
- 312
- 平均マージ
- 7時間 51分
- マージ済み PR(30日)
- 499
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/testfx のほかの issue
-
type/automation type/tech-debt
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
-
area/performance type/automation
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
-
type/automation type/tech-debt
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area/performance type/automation
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
メンテナーはふだん 1 日以内に返信
-
area/infrastructure area/vendored-sync area/winui needs/triage
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
microsoft/testfx の issue をすべて見る
似ている issue
-
copilot documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
[Rust][Flaky Test] multiple_deadlines_fire_in_order asserts a wall-clock gap instead of firing orderオープンCI/CD ⚒️ Flaky-tests 🐦
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
valkey-io/valkey-glide#7255 ·
メンテナーはふだん 3 日以内に返信
-
bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
unoplatform/Uno.Core#99 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
aws/aws-dotnet-ai#75 ·