Don't seal compute provider and scaler details on worker deployment calls
维护者通常 1 天内回复
@rahulsjha 已经在做这个了。
开始于 2026年12月3日。
评估
调研方向
Start in internal/proxy/codec.go, where request payloads are sealed and search attributes are exempted. Trace how the codec identifies payload fields and their parent messages, then check the proto definitions for ComputeProvider.details and ComputeScaler.details. Add the field-specific exemption and document it; done means those details pass through unsealed in both directions while other payload fields remain sealed.
由索引模型根据 Issue 内容生成。
描述
Problem
temporal.api.compute.v1.ComputeProvider.details and ComputeScaler.details are payloads the server has to read. The proto docs say so directly:
For server-implemented providers, use the SDK's default content converter to ensure the server can understand it.
(ComputeScaler.details says the same for server-implemented scalers.)
Temporal proxy, with encryption enabled, seals every payload in a request except search attributes (SkipSearchAttributes: true in internal/proxy/codec.go). So when a worker deployment version's compute config goes through the proxy, these fields reach the server sealed. The server's worker deployment workflows then hand them to the worker controller, which can't decode them. Auto-scaled (serverless) workers stop working, with no error at the proxy.
Some examples of calls with a ComputeConfig:
CreateWorkerDeploymentVersion(compute_config)UpdateWorkerDeploymentVersionComputeConfigValidateWorkerDeploymentVersionComputeConfig
Proposal
Leave ComputeProvider.details and ComputeScaler.details unsealed on the way to the server, and leave them alone on the way back.
- Make the exemption field-specific (match the parent message), not type-wide, so other
Payloadfields stay sealed. - Document it alongside the search attribute exemption.
- 主要语言
- Go
- 星标
- 32
- 派生
- 14
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 62
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
temporalio/temporal-proxy 的其他 Issue
-
Reject unknown config keys at startup可能已有人在做 @pseudomuto 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
temporalio/temporal-proxy#330 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 71/100
temporalio/temporal-proxy#329 ·
维护者通常 1 天内回复
-
Reject requests when translated Namespace is not a valid Cloud Namespace可能重新可做 @kriyanshii 于 17 天前认领,目前没有进行中的 PR。 未关闭enhancement good first issue
难度 2/5 1-3 小时 新手友好度 78/100
temporalio/temporal-proxy#281 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 58/100
temporalio/temporal-proxy#178 ·
维护者通常 1 天内回复
查看 temporalio/temporal-proxy 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
seriousm4x/UpSnap#1786 ·
-
bug feedback ui/ux
难度 2/5 1-3 小时 新手友好度 67/100
peasant-labs/peasant#1307 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
connectrpc/conformance#1211 ·
维护者通常 1 天内回复
-
bug effort:s impact:med raised-by:desk risk:low
难度 2/5 1-3 小时 新手友好度 75/100
medici-finance/assay#8342 · 1 条评论 ·
维护者通常 1 天内回复
-
hardening
难度 2/5 1-3 小时 新手友好度 82/100
inference-sim/inference-sim#2821 ·
维护者通常 1 天内回复