Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use context instead of channel to signal cancellation from the caller to child nodes in the graph #36391

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dsa0x
Copy link
Contributor

@dsa0x dsa0x commented Jan 23, 2025

Fixes #

Using context allows us to signal all child nodes for cancellation from the caller that built the graph. This will be useful in Terraform test, where user might cancel the running tests, and we want to shutdown gracefully.

Target Release

1.11.x

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

@dsa0x dsa0x added the no-changelog-needed Add this to your PR if the change does not require a changelog entry label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog-needed Add this to your PR if the change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant