Commit fd15e36
authored
Add workflow expiration and run timestamps to execution info (#505)
_**READ BEFORE MERGING:** All PRs require approval by both Server AND
SDK teams before merging! This is why the number of required approvals
is "2" and not "1"--two reviewers from the same team is NOT sufficient.
If your PR is not approved by someone in BOTH teams, it may be summarily
reverted._
<!-- Describe what has changed in this PR -->
**What changed?**
Add new structure -WorkflowExecutionExtendedInfo
That structure has few fields:
* execution timeout time
* run timeout time
* last reset time
* cancel requested
(the last one from #339)
<!-- Tell your future self why have you made these changes -->
**Why?**
Per customer request.
Execution timeout timestamp may change after workflow reset, and in this
case customers have no idea when it will fire.
WorkflowExecutionInfo is reused in other server calls, like
ListWorkflow, etc.
Because of that we either add any new field to ES, or it will be nil
which is bad user experience.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
No
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
N/A1 parent 38d2ac0 commit fd15e36
File tree
4 files changed
+88
-1
lines changed- openapi
- temporal/api
- workflowservice/v1
- workflow/v1
4 files changed
+88
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8466 | 8466 | | |
8467 | 8467 | | |
8468 | 8468 | | |
| 8469 | + | |
| 8470 | + | |
| 8471 | + | |
8469 | 8472 | | |
8470 | 8473 | | |
8471 | 8474 | | |
| |||
12901 | 12904 | | |
12902 | 12905 | | |
12903 | 12906 | | |
| 12907 | + | |
| 12908 | + | |
| 12909 | + | |
| 12910 | + | |
| 12911 | + | |
| 12912 | + | |
| 12913 | + | |
| 12914 | + | |
| 12915 | + | |
| 12916 | + | |
| 12917 | + | |
| 12918 | + | |
| 12919 | + | |
| 12920 | + | |
| 12921 | + | |
| 12922 | + | |
| 12923 | + | |
| 12924 | + | |
| 12925 | + | |
| 12926 | + | |
| 12927 | + | |
| 12928 | + | |
| 12929 | + | |
| 12930 | + | |
| 12931 | + | |
| 12932 | + | |
| 12933 | + | |
| 12934 | + | |
| 12935 | + | |
| 12936 | + | |
12904 | 12937 | | |
12905 | 12938 | | |
12906 | 12939 | | |
| |||
13015 | 13048 | | |
13016 | 13049 | | |
13017 | 13050 | | |
13018 | | - | |
| 13051 | + | |
| 13052 | + | |
13019 | 13053 | | |
13020 | 13054 | | |
13021 | 13055 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6157 | 6157 | | |
6158 | 6158 | | |
6159 | 6159 | | |
| 6160 | + | |
| 6161 | + | |
6160 | 6162 | | |
6161 | 6163 | | |
6162 | 6164 | | |
| |||
10390 | 10392 | | |
10391 | 10393 | | |
10392 | 10394 | | |
| 10395 | + | |
| 10396 | + | |
| 10397 | + | |
| 10398 | + | |
| 10399 | + | |
| 10400 | + | |
| 10401 | + | |
| 10402 | + | |
| 10403 | + | |
| 10404 | + | |
| 10405 | + | |
| 10406 | + | |
| 10407 | + | |
| 10408 | + | |
| 10409 | + | |
| 10410 | + | |
| 10411 | + | |
| 10412 | + | |
| 10413 | + | |
| 10414 | + | |
| 10415 | + | |
| 10416 | + | |
| 10417 | + | |
| 10418 | + | |
| 10419 | + | |
10393 | 10420 | | |
10394 | 10421 | | |
10395 | 10422 | | |
| |||
10526 | 10553 | | |
10527 | 10554 | | |
10528 | 10555 | | |
| 10556 | + | |
| 10557 | + | |
| 10558 | + | |
10529 | 10559 | | |
10530 | 10560 | | |
10531 | 10561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
112 | 134 | | |
113 | 135 | | |
114 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
| 985 | + | |
985 | 986 | | |
986 | 987 | | |
987 | 988 | | |
| |||
0 commit comments