@@ -597,7 +597,7 @@ public void Deactivate(DeactivationReason reason, ActivityContext? activityConte
597597 {
598598 var currentActivity = Activity . Current ;
599599 var deactivateActivity = activityContext is { } parent
600- ? ActivitySources . LifecycleGrainSource . StartActivity ( ActivityNames . DeactivateGrain , ActivityKind . Internal , parentContext : parent )
600+ ? ActivitySources . LifecycleGrainSource . StartActivity ( ActivityNames . DeactivateGrain , ActivityKind . Internal , parentContext : parent )
601601 : ActivitySources . LifecycleGrainSource . StartActivity ( ActivityNames . DeactivateGrain ) ;
602602
603603 lock ( this )
@@ -1371,7 +1371,7 @@ private void OnDehydrate(IDehydrationContext context)
13711371 {
13721372 context . TryAddValue ( GrainAddressMigrationContextKey , Address ) ;
13731373 }
1374-
1374+
13751375 Activity ? dehydrateSpan = null ;
13761376 try
13771377 {
@@ -1657,7 +1657,7 @@ private async Task ActivateAsync(Dictionary<string, object>? requestContextData,
16571657 PreviousRegistration is not null ) ;
16581658 var previousRegistration = PreviousRegistration ;
16591659 var verifiedRecoveryMembershipVersion = 0L ;
1660-
1660+
16611661 try
16621662 {
16631663 while ( true )
@@ -1946,7 +1946,7 @@ private async Task FinishDeactivating(Command.Deactivate deactivateCommand, Canc
19461946 // Start a span for OnDeactivateAsync execution
19471947
19481948 using var onDeactivateSpan = deactivateCommand . Activity is not null
1949- ? ActivitySources . LifecycleGrainSource . StartActivity ( ActivityNames . OnDeactivate , ActivityKind . Internal , parentContext : deactivateCommand . Activity . Context )
1949+ ? ActivitySources . LifecycleGrainSource . StartActivity ( ActivityNames . OnDeactivate , ActivityKind . Internal , parentContext : deactivateCommand . Activity . Context )
19501950 : ActivitySources . LifecycleGrainSource . StartActivity ( ActivityNames . OnDeactivate , ActivityKind . Internal ) ;
19511951 if ( onDeactivateSpan is { IsAllDataRequested : true } )
19521952 {
@@ -2502,7 +2502,7 @@ private class DehydrationContextHolder(SerializerSessionPool sessionPool, Dictio
25022502 {
25032503 public readonly MigrationContext MigrationContext = new ( sessionPool ) ;
25042504 public readonly Dictionary < string , object > ? RequestContext = requestContext ;
2505-
2505+
25062506 /// <summary>
25072507 /// The activity context from the grain call that initiated the migration.
25082508 /// This is used to parent the dehydrate span to the migration request trace.
0 commit comments