Puzzled by this situation where Next Retry is None but the Activity is scheduled to be retried indefinitely: how can this happen?
What are the activity scheduling timeouts? My guess is that it is not retried because it would exceed the ScheduleToClose timeout.
I only use a StartToClose timeout of 10 minutes on my activities.
What is the output of temporal workflow describe
for this activity? It could be a UI issue.
{
"executionConfig": {
"taskQueue": {
"name": "worker-golang",
"kind": "Normal"
},
"defaultWorkflowTaskTimeout": "10s"
},
"workflowExecutionInfo": {
"execution": {
"workflowId": "ParseChunk_2023-11-29T07:23:28.180418000Z_3",
"runId": "66b08eff-d8e2-4922-9907-99524be2cfc5"
},
"type": {
"name": "ParseChunk"
},
"startTime": "2023-12-16T15:17:02.047976028Z",
"status": "Running",
"historyLength": "11",
"executionTime": "2023-12-16T15:17:02.047976028Z",
"memo": {
},
"searchAttributes": {
"indexedFields": {
"BuildIds": "[\"unversioned\",\"unversioned:e5e93a00086ac4e8ac056236517b18de\"]"
}
},
"autoResetPoints": {
"points": [
{
"binaryChecksum": "e5e93a00086ac4e8ac056236517b18de",
"runId": "66b08eff-d8e2-4922-9907-99524be2cfc5",
"firstWorkflowTaskCompletedId": "4",
"createTime": "2023-12-16T15:17:02.074103331Z",
"resettable": true
}
]
},
"stateTransitionCount": "191",
"historySizeBytes": "1810",
"mostRecentWorkerVersionStamp": {
"buildId": "e5e93a00086ac4e8ac056236517b18de"
}
},
"pendingActivities": [
{
"activityId": "11",
"activityType": {
"name": "ParseChunk"
},
"state": "Scheduled",
"heartbeatDetails": "[{\"Step\":2,\"Progress\":\"2023-12-16T18:06:05.80360056+01:00\"}]",
"lastHeartbeatTime": "2023-12-16T17:06:05.805194768Z",
"attempt": 63,
"scheduledTime": "2023-12-16T17:09:26.237907055Z",
"expirationTime": "0001-01-01T00:00:00Z",
"lastFailure": {
"message": "open 2023-11-29_07-23-28.180418/2023-11-29_07-23-28.180418/2023-11-29_07-23-28.180418.symbols.json: no such file or directory",
"source": "GoSDK",
"cause": {
"message": "no such file or directory",
"source": "GoSDK",
"failureType": "Failure_ApplicationFailureInfo"
},
"failureType": "Failure_ApplicationFailureInfo"
},
"lastWorkerIdentity": "1245172@sita@"
}
]
}
But after some time, it “fixes” itself and the next retry is not None
but a duration as usual.