Skip to content

Do not wait in VerdaCompute.create_instance#3723

Merged
jvstme merged 1 commit intomasterfrom
verda_do_not_wait_in_create_instance
Apr 1, 2026
Merged

Do not wait in VerdaCompute.create_instance#3723
jvstme merged 1 commit intomasterfrom
verda_do_not_wait_in_create_instance

Conversation

@jvstme
Copy link
Copy Markdown
Collaborator

@jvstme jvstme commented Mar 31, 2026

Previously, VerdaCompute.create_instance would
block for up to 3 minutes while the SDK was
waiting for the instance to leave the ORDERED
status. This could hurt performance (the database
connection is blocked while waiting) and
reliability (server restarts or exceptions during
the wait cause the instance to be orphaned).

Use the newly introduced Verda SDK option to avoid
the wait in create_instance(), so that it is
performed by subsequent
update_provisioning_data() calls instead.

Previously, `VerdaCompute.create_instance` would
block for up to 3 minutes while the SDK was
waiting for the instance to leave the `ORDERED`
status. This could hurt performance (the database
connection is blocked while waiting) and
reliability (server restarts or exceptions during
the wait cause the instance to be orphaned).

Use the newly introduced Verda SDK option to avoid
the wait in `create_instance()`, so that it is
performed by subsequent
`update_provisioning_data()` calls instead.
@jvstme jvstme merged commit 129e214 into master Apr 1, 2026
28 checks passed
@jvstme jvstme deleted the verda_do_not_wait_in_create_instance branch April 1, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant