-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Make the pods be removed when workspacekit fails. #10085
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change makes sense.
Could you add a fixture to test this new behaviour: https://github.com/gitpod-io/gitpod/blob/main/components/ws-manager/pkg/manager/monitor_test.go#L20?
@csweichel |
@utam0k To add a new fixture, you would want to add a new json file that would test this new behaviour (look at existing ones as inspiration), and then run command above to generate golden file from that new json file. Let me know if you need help with this. |
Adding myself as reviewer as Chris is OOO this week. |
@sagor999 PTAL |
Description
There was a problem with workspace pendings due to finalizer not working properly when iws failed to start (or had a large delay). This PR avoids that by skipping the finalizer. Also, the workspace phase is now consistent with it.
Related Issue(s)
Fixes #9673
How to test
Release Notes
Documentation
No