Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle activity creation failures in spawn_instance #458

Merged
merged 3 commits into from
Jun 17, 2021

Conversation

azawlocki
Copy link
Contributor

@azawlocki azawlocki commented Jun 10, 2021

Resolves #415

An exception raised by _Engine.create_activity() in start_worker coroutine inside spawn_instance is not handled and bubbles up when the task running start_worker is awaited, which crashes the whole spawn_instance.

NOTE: Don't merge this PR yet, it will go into the first beta.2 patch release (0.6.1).

@azawlocki azawlocki requested a review from a team June 10, 2021 12:15
@azawlocki azawlocki changed the title Handlle activity creation failures in spawn_instance Handle activity creation failures in spawn_instance Jun 11, 2021
@azawlocki azawlocki linked an issue Jun 11, 2021 that may be closed by this pull request
@azawlocki azawlocki merged commit 787ad78 into b0.6 Jun 17, 2021
@azawlocki azawlocki deleted the az/spawn-instance-activity-failure branch June 17, 2021 09:36
@azawlocki azawlocki mentioned this pull request Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

surprising traceback
2 participants