When there is a workspace error (e.g. invalid container), the UI shows the workspace state as Starting for 10 minutes before changing to Failed
Reproduce with
- Use the following devfile
schemaVersion: 2.1.0
components:
- name: tooling-container
attributes:
remotedevelopment.gitlab/inject-editor: true
container:
image: doesnt:exist
- See that the workspace is in a "Starting" state
- See that the workspace pod is in error state:
~/w/g/g/gitlab (remote_dev|✔) ❯❯❯ k get pod
NAME READY STATUS RESTARTS AGE
workspace-2-1-8fjbeq-8658b87b9f-mmxk4 0/1 ErrImagePull 0 75s
~/w/g/g/gitlab (remote_dev|✔) ❯❯❯ k get pod
NAME READY STATUS RESTARTS AGE
workspace-2-1-8fjbeq-8658b87b9f-mmxk4 0/1 ImagePullBackOff 0 4m23s
- the workspace state will eventually (roughly in 10m) turn to "Failed"
Edited by 🤖 GitLab Bot 🤖
