Skip to content

Bug: Returning an exception object as the result of an orchestration causes it to never complete #108

@andystaples

Description

@andystaples

When returning an exception as the result of an orchestration, the orchestration will never complete:

Example:

def test_orchestrator(ctx: task.OrchestrationContext, _):
    entity_id = EntityInstanceId("FailingEntity", "testEntity")
    try:
        yield ctx.call_entity(entity_id, "fail")
    except task.TaskFailedError as e:
        return e

This orchestration will never complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions