Skip to content

Add config_warnings to ComputeStatus and compute_status to WDV info - #936

Open
mani-j9 wants to merge 1 commit into
mainfrom
mani/compute-warnings
Open

mani-j9 wants to merge 1 commit into
mainfrom
mani/compute-warnings

Conversation

@mani-j9

@mani-j9 mani-j9 commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

What changed?

Two new fields in temporal/api/deployment/v1/message.proto:

  • ComputeStatus compute_status = 18 on WorkerDeploymentVersionInfo
  • repeated string config_warnings = 2 on the existing ComputeStatus

Why?

A Worker Deployment Version's compute configuration can be entirely valid and still leave the Namespace without workers.
for example,

  • a scaling group scoped to a region_id the Namespace has no replica in,
  • or a region the Namespace does have a replica but isn't served by any scaling group.
    neither makes the spec invalid, so they can't be surfaced as errors, hence the new warnings.

config_warnings carries those concerns, and compute_status exposes the same on DescribeWorkerDeploymentVersion.

Breaking changes

None. Both are new fields on existing messages

Server PR

todo

@mani-j9
mani-j9 requested review from a team and 02strich December 1, 2026 21:33
mani-j9 added a commit to temporalio/temporal that referenced this pull request Dec 1, 2026
go.temporal.io/api is pinned to the unmerged temporalio/api#936 generated
output, and go.temporal.io/auto-scaled-workers to the unmerged PR 184 tip.

The otel replace block is needed because auto-scaled-workers' base requires
otel 1.47, whose log package moved KeyValue to attribute, breaking
common/wideevents. See #12626, #13082 and #13083.

Drop this entire commit before merging.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant