Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<!-- Phase 1 is warn-first. Move to phase 2 in CI after stabilization to hard-fail additional diagnostics. -->
<VortexAIPolicyPhase Condition="'$(VortexAIPolicyPhase)' == ''">1</VortexAIPolicyPhase>
<VortexAIWarningsAsErrors>CS8602;CS8604;CS8618;CA2000;CA2012;CA2201;IDE0005;IDE0058</VortexAIWarningsAsErrors>
<!-- Phase 2: the solution builds warning-free, so the additional diagnostics below are now
hard-failed instead of just warned about. -->
<VortexAIPolicyPhase Condition="'$(VortexAIPolicyPhase)' == ''">2</VortexAIPolicyPhase>
<!-- IDE0005 is deliberately excluded: it only runs as a build-time analyzer when
GenerateDocumentationFile is true, and turning that on would demand XML doc comments
repo-wide, which conflicts with this project's "comment the why, not the what" style. -->
<VortexAIWarningsAsErrors>CS8602;CS8604;CS8618;CA2000;CA2012;CA2201;IDE0058</VortexAIWarningsAsErrors>
<!-- Enforce critical Orleans serialization diagnostics for contributor safety. -->
<WarningsAsErrors>$(WarningsAsErrors);ORLEANS0012;ORLEANS0013</WarningsAsErrors>
<WarningsAsErrors Condition="'$(VortexAIPolicyPhase)' == '2'"
Expand Down
7 changes: 7 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
<PackageVersion Include="Microsoft.Orleans.Core.Abstractions" Version="10.2.1" />
<PackageVersion Include="Microsoft.Orleans.Sdk" Version="10.2.1" />
<PackageVersion Include="Microsoft.Orleans.TestingHost" Version="10.2.1" />
<!-- ORL-02: optional persistent clustering/storage, selected via Vortex:Orleans config; the
defaults (localhost/memory) stay unchanged and these packages are inert until opted into. -->
<PackageVersion Include="Microsoft.Orleans.Clustering.AdoNet" Version="10.2.1" />
<PackageVersion Include="Microsoft.Orleans.Persistence.AdoNet" Version="10.2.1" />
<!-- Matches the version Pomelo.EntityFrameworkCore.MySql 9.0.0 already resolves transitively;
pinned explicitly because Vortex.Main references its DbProviderFactory directly. -->
<PackageVersion Include="MySqlConnector" Version="2.4.0" />
<!-- Transitive pin: Microsoft.Orleans.Sdk 10.2.1's code generator requires Roslyn >= 5.0.0,
while Microsoft.EntityFrameworkCore.Design 9.0.8 pulls Roslyn 4.8.0. Central Package
Management's transitive pinning needs an explicit version to reconcile the two. -->
Expand Down
Loading
Loading