Repository navigation
feat: add Actor.start_task to start task without waiting for it to finish - #1164
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1164 +/- ##
==========================================
+ Coverage 92.87% 92.90% +0.03%
==========================================
Files 53 53
Lines 3549 3554 +5
==========================================
+ Hits 3296 3302 +6
+ Misses 253 252 -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
marked this pull request as ready for review
October 7, 2026 09:21
Actor.start_task()Actor.start_task() to start an Actor task without waiting for it to finish
Actor.start_task() to start an Actor task without waiting for it to finish
Closed
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.
Adds
Actor.start_task(), which starts an Actor task and returns the run without waiting for it to finish. Until now that meant callingActor.apify_client.task(task_id).start()directly and losing what the wrapper adds: thetokenshortcut,timeout='inherit'and webhook conversion.It takes the same parameters as
call_task()exceptwait. The concepts guide gets a matching "Actor start task" section.Closes: #1161
JS parity issue: apify/apify-sdk-js#764
✍️ Drafted by Claude Code