Skip to content

Add TASK_FAILED handling to async (gRPC) result path in processYamlModule #186

@mvillmow

Description

@mvillmow

The fix in #87 covers the synchronous MessageBus path. The gRPC path in ModuleLeadAgent::processYamlModule() and ComponentLeadAgent::processYamlComponent() waits for results via an external callback (processTaskResult). If the coordinator delivers a FAILED status via gRPC, the result_aggregator_ is not consulted and hasFailures() is never set. The gRPC result callback should check hmas::TaskResult::success() and call coordination_.recordFailure() accordingly.

Follow-up from #87

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions