temporalio / temporalio/sdk-python

[Bug] Headers should always run through external storage

Open
#1,395 0 comments 0 reactions 1 assignee View on GitHub

@jmaeagle99 is already working on this.

Since Jul 6, 2026.

bug
Dominant language
Python
Stars
1.2k
Forks
241
Avg merge
3d 21h
Merged PRs (30d)
55

Description

What are you really trying to do?

Headers, just like any other payload, should always run through external storage.

Describe the bug

See https://github.com/temporalio/sdk-python/blob/main/temporalio/client.py#L9186. The call to _transform_outbound_payload (which encodes, stores externally, and validates size) is conditioned on whether headers should be encoded or not. The encode_headers parameter should only affect the code encoding phase, not the other phases of transforming payloads.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.