Skip to content

[Bug] Interceptor contract inconsistency for OutboundInterceptor.start_update_with_start_workflow #1582

@kislyuk-openai

Description

@kislyuk-openai

We are using temporalio.client.Client.connect(interceptors=...) to install interceptors that must run on every outbound gRPC request. The interceptors refresh header values that are stored in the rpc_metadata dictionary attached to every input. However, unlike all other inputs we have seen, https://python.temporal.io/temporalio.client.StartWorkflowUpdateWithStartInput.html does not contain rpc_metadata. Instead it's a composite container of multiple requests.

It would be great to have the API for the interceptor remain consistent so that for composite/multiop calls, the container's rpc_metadata is projected into each of the contained ops.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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