Repository navigation
Breaking change
ProjectPredictionReporter is renamed to ProjectPredictionContext (#159). Custom predictors need to change the parameter type of PredictInputsAndOutputs; nothing else changes. The context also exposes FileSystem: predictors should use it instead of System.IO so hosts that pass ProjectPredictionOptions.FileSystem can observe or virtualize every file access.
Highlights
- Predictors can access the file system through a host-provided
MSBuildFileSystemBase(ProjectPredictionOptions.FileSystem), includingExists()checks in conditions that predictors evaluate (#159, #160). - Faster predictions on large graphs: shared imports reported once per node (#153), target hooks expanded once per project in
CopyTaskPredictor(#158), and the most expensive projects start first (#161).
What's Changed
- Bump actions/setup-dotnet from 6.0.0 to 6.1.0 in the github-actions group by Dependabot (@dependabot)[bot] in #157
- Assert predictions exist for every graph node by stan-sz in #156
- Correct test fixtures that exercised the wrong setup by stan-sz in #155
- Avoid redundant processing of shared imports during prediction by David Kean (@davkean) in #153
- Expand target hooks once per project in CopyTaskPredictor by Andy Gerlicher (@AndyGerlicher) in #158
- Start the most expensive projects first in ProjectGraphPredictionExecutor by Andy Gerlicher (@AndyGerlicher) in #161
- Let predictors access the file system through a host-provided MSBuildFileSystemBase by Andy Gerlicher (@AndyGerlicher) in #159
- Move FakesPredictor into Predictors directory by David Federman (@dfederm) in #163
- Report Exists() checks in conditions that predictors evaluate to the file system by Andy Gerlicher (@AndyGerlicher) in #160
- Fix official build on Node 24 agents and bump version to 1.3 by Andy Gerlicher (@AndyGerlicher) in #164
New Contributors
- David Kean (@davkean) made their first contribution in #153
Full Changelog: v1.2.48...v1.3.0