[Bug] Headers are not propagated to scheduled workflows

Offen
#938 2 Kommentare 3 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@chaptersix arbeitet bereits daran.

Seit 11.6.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

bug
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
Vorherrschende Sprache
Go
Sterne
390
Forks
123
Ø Merge
2 T. 9 Std.
Gemergte PRs (30 T.)
13

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus temporalio/cli

Alle Issues in temporalio/cli

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.