Support cancelling a workflow with details

Abierto
#967 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go, rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Go
Estrellas
35
Forks
31
Merge medio
1 d 12 h
PR fusionados (30 d)
20

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de temporalio/features

Todos los issues de temporalio/features

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.