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

fix: FindDevContainer tries to lookup the pod and returns first result #72

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

pascalbreuninger
Copy link
Member

So far we were waiting for the pod to come up in the implementation of
the FindDevContainer interface. This leads to a state where users
would have to wait for up to options.PodTimeout to delete a workspace
when the pod is stuck in an unschedulable/otherwise pending state.

FindDevContainer now behaves similar to implementations in the
dockerDriver in that it just looks up the pod and reports a result
immediately

@pascalbreuninger pascalbreuninger requested a review from a team January 28, 2025 07:35
So far we were waiting for the pod to come up in the implementation of
the `FindDevContainer` interface. This leads to a state where users
would have to wait for up to `options.PodTimeout` to delete a workspace
when the pod is stuck in an unschedulable/otherwise pending state.

`FindDevContainer` now behaves similar to implementations in the
dockerDriver in that it just looks up the pod and reports a result
immediately
@pascalbreuninger pascalbreuninger merged commit 6dfa6fe into main Jan 28, 2025
1 check passed
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.

2 participants