Support cancelling a workflow with details

Đang mở
#967 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, rust
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Start with the Core change referenced in temporalio/sdk-rust#1501 and compare how Go and Rust workers populate CancelWorkflowExecution command details with the Java, TypeScript, Python, and Ruby SDK behavior. Choose an SDK and trace how its cancellation error reaches the command; done means the worker sends those details and the SDK’s behavior tests cover cancellation with details.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
Is your feature request related to a problem? Please describe.

A workflow that completes as cancelled can't attach details in most SDKs. The server stores CancelWorkflowExecutionCommandAttributes.details, and clients already read them back, but only Go and Rust workers send them. The other SDKs send an empty cancel command, even where their cancellation error accepts details.

Describe the solution you'd like

Workflows can complete as cancelled with details, which the worker puts on the CancelWorkflowExecution command.

Additional context

Core added details to its cancel command in temporalio/sdk-rust#1501, so core-based SDKs can now support this.

Per-SDK Tickets
  • Go - already supported
  • Java -
  • TypeScript -
  • Python -
  • temporalio/sdk-dotnet#1081
  • Ruby -
  • Rust - temporalio/sdk-rust#1463
  • PHP -
  • Temporal CLI - not applicable
Ngôn ngữ chính
Go
Star
35
Fork
31
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
20

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của temporalio/features

Tất cả issue của temporalio/features

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.