Skip to content

feat: add wait_for_finish to run and build get() - #1226

Merged
vdusek merged 11 commits into
apify:masterfrom
dheerajitbhu:fix/get-wait-for-finish
Nov 16, 2026
Merged

vdusek merged 11 commits into
apify:masterfrom
dheerajitbhu:fix/get-wait-for-finish

Conversation

@dheerajitbhu

@dheerajitbhu dheerajitbhu commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Adds an optional wait_for_finish argument to RunClient.get() and BuildClient.get() and their async variants. The API holds the response until the run or build finishes, for at most 60 seconds. A timeout tier is extended by the wait, the same way as in start() and build().

ActorClient.start(), build(), default_build(), and TaskClient.start() now also accept wait_for_finish as a timedelta. An int number of seconds still works.

Closes: #1176

✍️ Drafted by Claude Code

@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Nov 11, 2026
@vdusek vdusek changed the title feat: add wait_for_finish to RunClient.get and BuildClient.get feat: add wait_for_finish to run and build get() Nov 16, 2026

@vdusek vdusek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vdusek
vdusek merged commit e8c6ba6 into apify:master Nov 16, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add wait_for_finish to RunClient.get and BuildClient.get

2 participants