temporalio / temporal

Temporal service
https://docs.temporal.io
MIT License
12.2k stars 851 forks source link

User metadata not propagated from child workflow command to child workflow's execution config #6412

Closed cretz closed 3 months ago

cretz commented 3 months ago

Expected Behavior

Like start workflow, I would expect start child workflow user metadata to end up on the execution config on the child workflow.

Actual Behavior

The user metadata only ends up on the event, not the actual child workflow

See https://github.com/temporalio/temporal/pull/5857 where user metadata propagation was added.

skovtunenko commented 1 month ago

I found the comment in the Go SDK related to this issue in private fields:

        // TODO(cretz): Expose once https://github.com/temporalio/temporal/issues/6412 is fixed
        staticSummary string
        staticDetails string

Those are fields in the ChildWorkflowOptions struct.