temporalio / temporalio/features

[Feature Request] Serialization context for codecs and converters

Open
#434 1 comment 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
32
Forks
28
Avg merge
1d 9h
Merged PRs (30d)
7

Description

Is your feature request related to a problem? Please describe.

When serializing/deserializing a payload for a workflow or activity users payload codec/converter may want to know details about the payloads context. For example with workflow input/output, the context could include workflow ID. This can be useful if the users want to sign the payload with the workflowID to help protect against replay attacks.

Describe the solution you'd like

A solution similar to the Java SDK in other languages, see https://github.com/temporalio/sdk-java/pull/1695. Also, make sure that the async activity client gets this context too. Note, this information needs to be available to converters too e.g. for outbound client calls, so it's not just for codecs.

Per-SDK Tickets

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked Java SDK pull request and the per-SDK tickets listed in the issue, especially the unchecked Ruby and PHP items. Compare how the completed SDKs expose serialization context to codecs and converters, then confirm the remaining SDK tickets are implemented and their tests cover workflow, activity, and outbound client payloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, go, java, php, python, ruby, typescript
Domain
backend-api-design, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.