Skip to content

fix: wsbuilder: complete job and mark workspace deleted if no provisioners available #18465

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnstcn
Copy link
Member

Alternate fix for #18080

Modifies wsbuilder to complete the provisioner job and mark the workspace as deleted if it is clear that no provisioner will be able to pick up the delete build.

This has a significant advantage of not deviating too much from the current semantics of POST /api/v2/workspacebuilds. #18460 ends up returning a 204 on orphan delete due to no build being created.

@johnstcn johnstcn self-assigned this Jun 19, 2025
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