Commit f73d351
Add Stats to DescribeWorkerDeploymentVersion (#603)
_**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?**
(1) Deprecated `task_queue_infos` in
`deployment.WorkerDeploymentVersionInfo`.
(2) Added `version_task_queues` to
`DescribeWorkerDeploymentVersionResponse`.
<!-- Tell your future self why have you made these changes -->
**Why?**
We want to report task queue stats for each task queue that is part of a
worker deployment version.
The challenge is that the `taskqueue` package depends on the
`deployment` package. So adding `TaskQueueStats` to
`deployment.WorkerDeploymentVersionInfo` causes a cycle import error.
Weighing our options, we decided to effectively _move_ the task
queue-related data from within the deployment package into the response
message.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
Not yet; but in subsequent releases the deprecated field
`task_queue_infos` will be removed.
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
temporalio/temporal#7959 (draft)
---------
Co-authored-by: Spencer Judge <[email protected]>1 parent 486e456 commit f73d351
File tree
4 files changed
+86
-2
lines changed- openapi
- temporal/api
- deployment/v1
- workflowservice/v1
4 files changed
+86
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1777 | 1777 | | |
1778 | 1778 | | |
1779 | 1779 | | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
1780 | 1787 | | |
1781 | 1788 | | |
1782 | 1789 | | |
| |||
5378 | 5385 | | |
5379 | 5386 | | |
5380 | 5387 | | |
| 5388 | + | |
| 5389 | + | |
| 5390 | + | |
| 5391 | + | |
| 5392 | + | |
| 5393 | + | |
| 5394 | + | |
5381 | 5395 | | |
5382 | 5396 | | |
5383 | 5397 | | |
| |||
6918 | 6932 | | |
6919 | 6933 | | |
6920 | 6934 | | |
| 6935 | + | |
| 6936 | + | |
| 6937 | + | |
| 6938 | + | |
| 6939 | + | |
| 6940 | + | |
| 6941 | + | |
| 6942 | + | |
| 6943 | + | |
| 6944 | + | |
| 6945 | + | |
| 6946 | + | |
| 6947 | + | |
| 6948 | + | |
| 6949 | + | |
6921 | 6950 | | |
6922 | 6951 | | |
6923 | 6952 | | |
| |||
10326 | 10355 | | |
10327 | 10356 | | |
10328 | 10357 | | |
| 10358 | + | |
| 10359 | + | |
| 10360 | + | |
| 10361 | + | |
| 10362 | + | |
| 10363 | + | |
| 10364 | + | |
| 10365 | + | |
10329 | 10366 | | |
10330 | 10367 | | |
10331 | 10368 | | |
| |||
15252 | 15289 | | |
15253 | 15290 | | |
15254 | 15291 | | |
15255 | | - | |
| 15292 | + | |
15256 | 15293 | | |
15257 | 15294 | | |
15258 | 15295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1590 | 1590 | | |
1591 | 1591 | | |
1592 | 1592 | | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
1593 | 1598 | | |
1594 | 1599 | | |
1595 | 1600 | | |
| |||
4823 | 4828 | | |
4824 | 4829 | | |
4825 | 4830 | | |
| 4831 | + | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
| 4835 | + | |
4826 | 4836 | | |
4827 | 4837 | | |
4828 | 4838 | | |
| |||
7536 | 7546 | | |
7537 | 7547 | | |
7538 | 7548 | | |
| 7549 | + | |
| 7550 | + | |
| 7551 | + | |
| 7552 | + | |
| 7553 | + | |
| 7554 | + | |
| 7555 | + | |
| 7556 | + | |
| 7557 | + | |
| 7558 | + | |
| 7559 | + | |
| 7560 | + | |
| 7561 | + | |
| 7562 | + | |
| 7563 | + | |
| 7564 | + | |
| 7565 | + | |
| 7566 | + | |
| 7567 | + | |
| 7568 | + | |
| 7569 | + | |
| 7570 | + | |
7539 | 7571 | | |
7540 | 7572 | | |
7541 | 7573 | | |
| |||
12637 | 12669 | | |
12638 | 12670 | | |
12639 | 12671 | | |
12640 | | - | |
| 12672 | + | |
| 12673 | + | |
| 12674 | + | |
12641 | 12675 | | |
12642 | 12676 | | |
12643 | 12677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2026 | 2026 | | |
2027 | 2027 | | |
2028 | 2028 | | |
| 2029 | + | |
| 2030 | + | |
2029 | 2031 | | |
2030 | 2032 | | |
2031 | 2033 | | |
2032 | 2034 | | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
2033 | 2045 | | |
2034 | 2046 | | |
2035 | 2047 | | |
| |||
0 commit comments