Skip to content

Commit c08104f

Browse files
author
kai
committed
Update scripts and a new tag
1 parent e669ad2 commit c08104f

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/auto-retag.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
push:
99
branches:
1010
- '**' # All branches
11+
paths:
12+
- 'IdentityCore/src/telemetry/execution_flow/MSIDExecutionFlowConstants.m'
1113

1214
permissions:
1315
contents: write

IdentityCore/src/network/error_handler/MSIDAADRequestErrorHandler.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ - (void)handleError:(NSError *)error
8282
MSID_LOG_WITH_CTX(MSIDLogLevelVerbose,context, @"Retrying network request, retryCounter: %ld", (long)httpRequest.retryCounter);
8383

8484
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(httpRequest.retryInterval * NSEC_PER_SEC)), dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
85+
[[MSIDExecutionFlowLogger sharedInstance] insertTag:MSIDExecutionFlowNetworkTagToString(MSIDExecutionFlowStartToRetryOnNetworkFailureTag)
86+
extraInfo:nil
87+
withCorrelationId:context.correlationId];
8588
[httpRequest sendWithBlock:completionBlock];
8689
});
8790

IdentityCore/src/telemetry/execution_flow/MSIDExecutionFlowConstants.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ typedef NS_ENUM(NSInteger, MSIDExecutionFlowNetworkTag)
4949
MSIDExecutionFlowCacheResponseSucceededObjectTag,
5050
MSIDExecutionFlowReceiveNetworkResponseTag,
5151
MSIDExecutionFlowRetryOnNetworkFailureTag,
52+
MSIDExecutionFlowStartToRetryOnNetworkFailureTag,
5253
MSIDExecutionFlowParseNetworkResponseTag,
5354
MSIDExecutionFlowOtherHttpNetworkStatusCodeTag,
5455
};

IdentityCore/src/telemetry/execution_flow/MSIDExecutionFlowConstants.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
return @"xfx8w";
4646
case MSIDExecutionFlowRetryOnNetworkFailureTag:
4747
return @"rz95n";
48+
case MSIDExecutionFlowStartToRetryOnNetworkFailureTag:
49+
return @"UNTAGGED";
4850
case MSIDExecutionFlowParseNetworkResponseTag:
4951
return @"fxjo7";
5052
case MSIDExecutionFlowOtherHttpNetworkStatusCodeTag:

0 commit comments

Comments
 (0)