Skip to content

Report child workflow termination to the parent in test server#2921

Open
fancyweb wants to merge 1 commit into
temporalio:masterfrom
fancyweb:feat/ts-t-cwf
Open

Report child workflow termination to the parent in test server#2921
fancyweb wants to merge 1 commit into
temporalio:masterfrom
fancyweb:feat/ts-t-cwf

Conversation

@fancyweb

Copy link
Copy Markdown

What was changed

temporal-test-server now reports child workflow termination to the parent workflow, mirroring how other outcomes (e.g. cancellation) are already handled.

Why?

When a child workflow is terminated, temporal-test-server closes the child but never notifies the parent. As a result, the parent hangs indefinitely, whereas a real Temporal server rejects it with a ChildWorkflowFailure/TerminatedFailure.

Checklist

  1. How was this tested:
    Rebuilt the temporal-test-server native binary and pointed my own previously hanging test at it, and it now completes as expected.

  2. Any docs updates needed?
    Not that I know of.

@fancyweb fancyweb requested a review from a team as a code owner June 18, 2026 12:07
@CLAassistant

CLAassistant commented Jun 18, 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.

2 participants