Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/child-runs-api #1153 +/- ##
=======================================================
+ Coverage 93.13% 93.21% +0.07%
=======================================================
Files 54 54
Lines 3672 3728 +56
=======================================================
+ Hits 3420 3475 +55
- Misses 252 253 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
vdusek
added this pull request to stack #1152
September 30, 2026 08:19
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1151.
Adds
abort_with_parenttoActor.startandActor.call. It's off by default and needsname. The flag is stored with the name in the child run registry, so a parent that migrated or was resurrected still knows which children to abort. The latest call under a name sets the value.The SDK registers its own
ABORTINGlistener onApifyEventManagerwhen the Actor context starts. It's kept apart from user listeners, sooff()without a listener doesn't remove it. On a graceful abort, it gracefully aborts every flagged child that's stillREADYorRUNNING, all in parallel. If one abort fails, the error is logged and the others go ahead. Each child is aborted with the client it was started with in this process, which matters when a customtokenwas passed. A child from before a migration uses the default client.ChildRunInfonow exposes the flag too.A hard abort, a timeout or an OOM kill still leaves the children running. Covering that needs a parent/child link on the platform.
Closes #1128
✍️ Drafted by Claude Code