Skip to content

Commit d7c7fb3

Browse files
committed
Clarify closed storage failure reasons in cluster assertions
Classify four existing canonical storage-copy failure messages with fixed descriptive labels. Keep private error detail out of diagnostics and preserve every success assertion, operation, timeout and concurrency setting. Validation: the mapping compiled without warnings or errors and format verification passed; the final label wording is descriptive. Parent349f5429e completed all21ReleaseCI jobs with4375original passed cases. Final-source full Debug and Release qualification follows this checkpoint. The earlier isolated RecoveryRequired remains an unconfirmed cause, not a claimed runtime fix.
1 parent 349f542 commit d7c7fb3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎tests/KeyLoad.ClusterTests/ClientApi/Assertions/McpCallerAssertions.cs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ private static string SafeSdkFailureReason(Problem? problem)
6363
ReadResponseUnavailable => "ReadTransport",
6464
ServerResponseUnavailable => "ServerTransport",
6565
GrainRoutingProtocol.InvalidRequest => "RuntimeEnvelope",
66+
StorageCopyContract.RecoveryRequired => "StorageCopyRecovery",
67+
StorageCopyContract.DifferentOutcomes => "StorageCopyOutcomeAgreement",
68+
StorageCopyContract.WriteUncertain => "StorageCopyAcknowledgement",
69+
StorageCopyContract.OwnersUnavailable => "StorageCopyAvailability",
6670
_ => "ServerOrUnknown"
6771
};
6872
return "The canonical SDK outcome reported " + ClosedErrorCode(problem?.ErrorCode)

0 commit comments

Comments
 (0)