Summary
The Source-Build SDK Diff Tests (comparing binaries/files/APIs between source-built and Microsoft-built SDKs) generate frequent baseline update PRs that require human review and merge. The maintenance cost of this process is disproportionate to the regressions it catches.
The Problem
The CreateBaselineUpdatePR tooling generates PRs titled "Update Source-Build SDK Diff Tests Baselines and Exclusions" against dotnet/dotnet on a regular basis. These PRs update files in test/Microsoft.DotNet.SourceBuild.Tests/assets/SdkContentTests/.
Data (Jan 1 - Jun 15, 2026)
| Metric |
Value |
| Total baseline update PRs created |
49 |
| Merged |
37 |
| Closed without merge |
9 |
| Currently open |
3 |
| Average frequency |
~6.7 PRs/month (~1.6/week) |
These PRs are authored by dotnet-sb-bot and primarily reviewed/merged by a single maintainer. Most are merged same-day, indicating routine approval rather than deep review catching issues.
Sample PR
dotnet/dotnet#7162
Concern
- High frequency, low signal: ~37 merged baseline updates in ~5.5 months means the team is spending review/merge cycles nearly twice a week on what are largely expected differences.
- Low regression catch rate: The vast majority of these PRs are routine acknowledgements of known/expected differences - not regressions being caught and fixed.
- Evolved landscape: Source build has matured significantly since these tests were originally implemented. The diff surface has changed, but the testing approach hasn't adapted.
Desired Outcome
We need to find a way to lower the maintenance cost while preserving the ability to catch meaningful regressions.
Summary
The Source-Build SDK Diff Tests (comparing binaries/files/APIs between source-built and Microsoft-built SDKs) generate frequent baseline update PRs that require human review and merge. The maintenance cost of this process is disproportionate to the regressions it catches.
The Problem
The
CreateBaselineUpdatePRtooling generates PRs titled "Update Source-Build SDK Diff Tests Baselines and Exclusions" against dotnet/dotnet on a regular basis. These PRs update files intest/Microsoft.DotNet.SourceBuild.Tests/assets/SdkContentTests/.Data (Jan 1 - Jun 15, 2026)
These PRs are authored by
dotnet-sb-botand primarily reviewed/merged by a single maintainer. Most are merged same-day, indicating routine approval rather than deep review catching issues.Sample PR
dotnet/dotnet#7162
Concern
Desired Outcome
We need to find a way to lower the maintenance cost while preserving the ability to catch meaningful regressions.