Skip to content

[Bug] Ensure every inbound and outbound workflow payload goes through codec #1071

@cretz

Description

@cretz

Describe the bug

Today it seems user metadata (and maybe other things) aren't encoded outbound. Not only must we make sure every non-search attribute payload is decoded on activation and encoded on completion, we must write a test to ensure this for all future payloads.

The ideal way forward here would be to write a general code generated payload visitor utility that everyone can use, even ourselves. We have done this in Go and Ruby. The visitor could be used for this. It would also help solve temporalio/features#468.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions