Don't seal compute provider and scaler details on worker deployment calls
Maintainer thường phản hồi trong vòng 1 ngày
@rahulsjha đang làm issue này rồi.
Từ ngày 3/12/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 32
- Fork
- 14
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 62
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của temporalio/temporal-proxy
-
Reject unknown config keys at startupCó thể đã có người làm @pseudomuto đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
temporalio/temporal-proxy#330 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
temporalio/temporal-proxy#329 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Reject requests when translated Namespace is not a valid Cloud NamespaceCó thể làm lại được @kriyanshii đã nhận 17 ngày trước và không có pull request nào đang mở. Đang mởenhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
temporalio/temporal-proxy#281 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
temporalio/temporal-proxy#178 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của temporalio/temporal-proxy
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
seriousm4x/UpSnap#1786 ·
-
bug feedback ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
peasant-labs/peasant#1307 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Reformat test names for single-protocol tests to start with Protocol/, i.e. gRPC/ or Websocket/Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
connectrpc/conformance#1211 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug effort:s impact:med raised-by:desk risk:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
medici-finance/assay#8342 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
hardening
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
inference-sim/inference-sim#2821 ·
Maintainer thường phản hồi trong vòng 1 ngày