Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## fix/abort-unnamed-child-runs #1271 +/- ##
================================================================
+ Coverage 93.94% 94.09% +0.14%
================================================================
Files 54 54
Lines 4014 4115 +101
================================================================
+ Hits 3771 3872 +101
Misses 243 243
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
force-pushed
the
feat/resurrect-child-runs-with-parent
branch
from
November 20, 2026 17:52
0b5b934 to
2ad4871
Compare
vdusek
marked this pull request as ready for review
November 20, 2026 17:58
vdusek
force-pushed
the
feat/resurrect-child-runs-with-parent
branch
from
November 20, 2026 18:38
2ad4871 to
3c84975
Compare
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.
Part 4 of 7 of the target state of Actor composability, section 8.3. Stacked on #1250.
resurrect_with_parent: bool | None = NoneonActor.start,Actor.call,Actor.start_task, andActor.call_task. It is stored in the record the same way asabort_with_parent.ABORTING, the SDK setsabortedWithParentin the records of the runs it aborts. It writes the registry once before it sends the abort requests, and once more with what the requests returned.ABORTEDrun, clearsabortedWithParent, and returns the active run. A run that is stillABORTINGis waited for first. If the resurrect request fails, the call raises and the record stays as it is.abortedWithParent. A call that sees the run in another status thanABORTINGorABORTEDclears the flag.Two known gaps of the specification are handled this way:
abortedWithParent, unless the abort request returns itABORTING.ABORTING. If it is, the process resurrects nothing. This covers a parent that is migrated or rebooted while it is being aborted.An E2E test covers the whole path: the parent is aborted, the child is aborted with it, the parent is resurrected, and the same call resurrects the child.
✍️ Drafted by Claude Code