I don’t see difference in signal ordering between the both attached histories:
Correct sequence:
{
"eventId": "5",
"eventTime": {
"seconds": "1606518090",
"nanos": 116367543
},
"eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED",
"version": "0",
"taskId": "7340053",
"workflowExecutionSignaledEventAttributes": {
"signalName": "receivedEvent",
"input": {
"payloads": [
{
"metadata": {
"encoding": "json/plain"
},
"data": "{"eventType":"Pause"}"
}
]
},
"identity": "86270@Konstantins-iMac.local"
},
"attributes": "workflowExecutionSignaledEventAttributes"
},
...
{
"eventId": "21",
"eventTime": {
"seconds": "1606518090",
"nanos": 643777548
},
"eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED",
"version": "0",
"taskId": "7340098",
"workflowExecutionSignaledEventAttributes": {
"signalName": "receivedEvent",
"input": {
"payloads": [
{
"metadata": {
"encoding": "json/plain"
},
"data": "{"eventType":"UpdateStatus"}"
}
]
},
"identity": "86270@Konstantins-iMac.local"
},
"attributes": "workflowExecutionSignaledEventAttributes"
},
...
{
"eventId": "31",
"eventTime": {
"seconds": "1606518091",
"nanos": 167453124
},
"eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED",
"version": "0",
"taskId": "7340126",
"workflowExecutionSignaledEventAttributes": {
"signalName": "receivedEvent",
"input": {
"payloads": [
{
"metadata": {
"encoding": "json/plain"
},
"data": "{"eventType":"Done"}"
}
]
},
"identity": "86270@Konstantins-iMac.local"
},
"attributes": "workflowExecutionSignaledEventAttributes"
},
...
So the sequence is
- Pause
- UpdateStatus
- Done
Broken Sequence
{
"eventId": "5",
"eventTime": {
"seconds": "1606518164",
"nanos": 383600371
},
"eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED",
"version": "0",
"taskId": "7340091",
"workflowExecutionSignaledEventAttributes": {
"signalName": "receivedEvent",
"input": {
"payloads": [
{
"metadata": {
"encoding": "json/plain"
},
"data": "{"eventType":"Pause"}"
}
]
},
"identity": "86312@Konstantins-iMac.local"
},
"attributes": "workflowExecutionSignaledEventAttributes"
},
...
{
"eventId": "13",
"eventTime": {
"seconds": "1606518164",
"nanos": 454248646
},
"eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED",
"version": "0",
"taskId": "7340114",
"workflowExecutionSignaledEventAttributes": {
"signalName": "receivedEvent",
"input": {
"payloads": [
{
"metadata": {
"encoding": "json/plain"
},
"data": "{"eventType":"UpdateStatus"}"
}
]
},
"identity": "86312@Konstantins-iMac.local"
},
"attributes": "workflowExecutionSignaledEventAttributes"
},
...
{
"eventId": "23",
"eventTime": {
"seconds": "1606518164",
"nanos": 537351722
},
"eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED",
"version": "0",
"taskId": "7340138",
"workflowExecutionSignaledEventAttributes": {
"signalName": "receivedEvent",
"input": {
"payloads": [
{
"metadata": {
"encoding": "json/plain"
},
"data": "{"eventType":"Done"}"
}
]
},
"identity": "86312@Konstantins-iMac.local"
},
"attributes": "workflowExecutionSignaledEventAttributes"
},
...
So the sequence is the same as the previous one:
- Pause
- UpdateStatus
- Done