Commit e11b55a
authored
VersionStatus for WorkerDeploymentVersions (#595)
_**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 VersionStatus inside `WorkerDeploymentVersionInfo` +
`WorkerDeploymentVersionSummary`
<!-- Tell your future self why have you made these changes -->
**Why?**
- right now, the UI code deduces the status of a version by checking
`CurrentSince`, `RampingSince` and other attributes. This can just be
simplified by adding this enum and the server doing the heavy lifting
instead.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
- None
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
- [741011](temporalio/temporal#7804)1 parent 53fbd4f commit e11b55a
File tree
4 files changed
+75
-0
lines changed- openapi
- temporal/api
- deployment/v1
- enums/v1
4 files changed
+75
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7107 | 7107 | | |
7108 | 7108 | | |
7109 | 7109 | | |
| 7110 | + | |
| 7111 | + | |
| 7112 | + | |
| 7113 | + | |
7110 | 7114 | | |
7111 | 7115 | | |
7112 | 7116 | | |
| |||
14957 | 14961 | | |
14958 | 14962 | | |
14959 | 14963 | | |
| 14964 | + | |
| 14965 | + | |
| 14966 | + | |
| 14967 | + | |
14960 | 14968 | | |
14961 | 14969 | | |
14962 | 14970 | | |
| |||
15017 | 15025 | | |
15018 | 15026 | | |
15019 | 15027 | | |
| 15028 | + | |
| 15029 | + | |
| 15030 | + | |
| 15031 | + | |
| 15032 | + | |
| 15033 | + | |
| 15034 | + | |
| 15035 | + | |
| 15036 | + | |
| 15037 | + | |
| 15038 | + | |
| 15039 | + | |
| 15040 | + | |
15020 | 15041 | | |
15021 | 15042 | | |
15022 | 15043 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12223 | 12223 | | |
12224 | 12224 | | |
12225 | 12225 | | |
| 12226 | + | |
| 12227 | + | |
| 12228 | + | |
| 12229 | + | |
| 12230 | + | |
| 12231 | + | |
| 12232 | + | |
| 12233 | + | |
| 12234 | + | |
| 12235 | + | |
| 12236 | + | |
12226 | 12237 | | |
12227 | 12238 | | |
12228 | 12239 | | |
| |||
12320 | 12331 | | |
12321 | 12332 | | |
12322 | 12333 | | |
| 12334 | + | |
| 12335 | + | |
| 12336 | + | |
| 12337 | + | |
| 12338 | + | |
| 12339 | + | |
| 12340 | + | |
| 12341 | + | |
| 12342 | + | |
| 12343 | + | |
| 12344 | + | |
12323 | 12345 | | |
12324 | 12346 | | |
12325 | 12347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| |||
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
198 | 204 | | |
199 | 205 | | |
200 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
0 commit comments