Skip to content

[Bug]: Killing a running durable execution does not kill child contexts #339

@dreams-and-thoughts

Description

@dreams-and-thoughts

Expected Behavior

All child contexts started within the parent execution should stop when the parent execution is stopped.

Actual Behavior

The child contexts continue to run, despite the parent execution being stopped.

Steps to Reproduce

  1. Start a child context process using: context.run_in_child_context(child_process)
  2. Stop the lambda execution from the console.
  3. The execution status goes to Stopped.
  4. The child context stays in 'Started' status, and the process continues, confirmed by log output.

SDK Version

1.3.0

Python Version

3.14

Is this a regression?

No

Last Working Version

No response

Additional Context

We have a use case where a process (running in a durable lambda) can be 'terminated' by a user via an API call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions