temporalio / temporalio/sdk-python
[Bug] Headers should always run through external storage
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.