Skip to content

ORLEANS0027: Grain interface member removed from source

PropertyValue
CategoryVersioning
SeverityWarning
Code fixNot available

OrleansContracts.txt declares an RPC method signature which is absent from the matching source grain interface. The value before the colon is the effective method identity Orleans uses on the wire.

Removing an RPC method can break calls from older clients or activations during a rolling upgrade. Regeneration retains the historical signature so the wire-contract removal remains visible and requires an explicit decision.

Restore the source method when the removal was accidental. When the removal is intentional, review the mixed-version deployment impact, increment the interface version when appropriate, and explicitly remove the retained signature from OrleansContracts.txt.

See Orleans contract compatibility analyzer.

Prefer updating the reviewed manifest after accepting the contract removal. Suppress only for a manifest intentionally shared with another compilation.

[*]
dotnet_diagnostic.ORLEANS0027.severity = none