Azure / Azure/azure-functions-durable-python

Logging or Exceptions when Durable Functions Activity Does Not Exist

Abierto
#301 4 comentarios 2 reacciones 0 asignados Ver en GitHub
Debuggability Enhancement P2
Lenguaje dominante
Python
Estrellas
157
Forks
70
Merge medio
2 d 10 h
PR fusionados (30 d)
2

Descripción

Pretty simple request, but not sure how simple it would be to implement.

Basically I would like some sort of feedback when you use the call_activity() method of the DurableOrchestrationContext class with a Durable Function Activity that does not exist.

```python
import azure.functions as func
import azure.durable_functions as df

def orchestrator_function(context: df.DurableOrchestrationContext):
logging.info("Starting Activity!")
result = yield context.call_activity("I_Do_Not_Exist", None, None)
logging.info("You will never see me because the code stops at the above step!")
return result

main = df.Orchestrator.create(orchestrator_function)
```

Side note: I may or may not have spent an hour and a half troubleshooting an orchestrator only to realize it was a typo in the activity name.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza en DurableOrchestrationContext.call_activity() y sigue cómo la biblioteca y el runtime gestionan un nombre de actividad desconocido. Revisa las pruebas existentes de despacho de actividades y manejo de errores; se considera terminado cuando una actividad inexistente produce información clara en lugar de detenerse sin una explicación útil, con cobertura de regresión.

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

Evaluación

Stack tecnológico
azure, python
Área
backend
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.