You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Abort child runs when the parent is gracefully aborted #1128
When a parent Actor is aborted, its child runs keep going and bill against the account until they
finish on their own. There is no way to take them down with the parent.
Depends on #1127. The abort needs to know which children to abort, and after a migration only a
persisted registry still knows.
On Event.ABORTING the SDK aborts every tracked child run that is still active. It stays off by
default because aborting a child throws away its work, which is the caller's call to make.
This is best-effort by nature. It covers a graceful abort, where the parent is given time to run its
listeners. A hard abort, a run timeout or an OOM kill orphans the children regardless, and the fix
for that case is a parent/child link on the platform side.
Prior art
apify-orchestrator, as abortAllRunsOnGracefulAbort:
Activity