temporalio / temporalio/cli

[Bug] Headers are not propagated to scheduled workflows

Open
#938 1 comment 2 reactions 1 assignee View on GitHub

@chaptersix is already working on this.

Since Jun 11, 2026.

bug
Dominant language
Go
Stars
379
Forks
103
Avg merge
2d 11h
Merged PRs (30d)
23

Description

What are you really trying to do?

Headers was recently added (https://github.com/temporalio/features/issues/703) but haven't been released yet.
I built the version from main branch and tested it, but it seems like headers are not propagated when I use them in schedules.
I expect headers to be included in the workflows triggered by schedules, in the same way as they are when I start workflows with the cli using --headers flag.

Describe the bug

Headers are not included in scheduled workflows.

Minimal Reproduction

Build from master branch and then schedule any workflow using the headers flag. When the workflow executes the headers will not be included.

go run ./cmd/temporal schedule update \
    --schedule-id "example_18_schedule" \
    --interval 5m \
    --task-queue master/etl \
    --type example \
    --input 'Hello world' \
    --input false \
    ----headers 'MyHeader={"ID":18}'
Environment/Versions
  • OS and processor: M4 Pro Mac
  • Temporal Version: Temporal Cloud
  • Building the cli from source
Additional context

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.