Skip to content

Fix test server dropping headers on signals - #3066

Open
sangkyoonnam wants to merge 1 commit into
temporalio:mainfrom
sangkyoonnam:fix/2586-test-server-signal-header
Open

Fix test server dropping headers on signals#3066
sangkyoonnam wants to merge 1 commit into
temporalio:mainfrom
sangkyoonnam:fix/2586-test-server-signal-header

Conversation

@sangkyoonnam

Copy link
Copy Markdown

What was changed

  • TestWorkflowMutableStateImpl#addExecutionSignaledEvent now copies the header from the signal request onto the WorkflowExecutionSignaled event.
  • Added SignalHeaderTest covering header propagation through the test server on a direct signal.

Why?

The time-skipping test server built the signaled event from identity, input, and signalName only, so headers set on a signal were dropped and never reached the inbound workflow interceptor. The child-workflow and activity paths in the
same file already copy the header the same way.

Checklist

  1. Closes Time skipping server drops headers in workflow signal #2586

  2. How was this tested:
    New SignalHeaderTest sets a header on a signal through a client interceptor and asserts the inbound workflow interceptor receives it. Run with ./gradlew :temporal-sdk:test --tests "io.temporal.workflow.signalTests.SignalHeaderTest". It fails on main with expected:<signal-header-value> but was:<null> and passes with the fix.

  3. Any docs updates needed?
    No.

@sangkyoonnam
sangkyoonnam requested a review from a team as a code owner September 11, 2026 08:16
@CLAassistant

CLAassistant commented Sep 11, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Time skipping server drops headers in workflow signal

2 participants