Skip to content

[Bug] Headers are not propagated to scheduled workflows #938

@LarsAlmgren

Description

@LarsAlmgren

What are you really trying to do?

Headers was recently added (temporalio/features#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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions