tilt
tilt copied to clipboard
webui shows CrashLoopBackOff confusingly
This seems like a regression or slightly different case of #4258
Steps to Reproduce
- check out servantes
- edit hypothesizer/app.py and add some gobbledygook to make it invalid python (I put
asdfon the first line of theif __name__ == 'main'block) tilt up hypothesizer- open the web ui
- go to the hypothesizer resource view and click on "Errors (1)"
Expected Behavior
When the web ui error filter says there's an error and I click on it, it shows an error
Current Behavior

- every time the pod crash loops, the filters at the top briefly flicker to "Errors (0) Warnings (1)" and then back to "Errors (1) Warnings(0)"
- When I click on "Errors (1)", the log is blank.
Context
tilt doctor Output
$ tilt doctor
Tilt: v0.20.2-dev, built 2021-05-10
System: darwin-amd64
---
Docker
- Host: [default]
- Version: 1.41
- Builder: 2
---
Kubernetes
- Env: kind-0.6+
- Context: kind-kind
- Cluster Name: kind-kind
- Namespace: default
- Container Runtime: containerd
- Version: v1.18.2
- Cluster Local Registry: {Host:localhost:50380 hostFromCluster: SingleName:}
- ```
#### About Your Use Case
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
I also spoke with a user on 3/1/21 who described an issue that may be similar, though it was just a verbal description with no repro steps. FWIW:
- User sees Errors filter with number "(4)"
- User selects Errors, but sees no data in logs
Hello! This is currently biting me also. My pod is in CrashLoopBackOff state, because an import error in the service's code, totally not working, and Tilt only shows this as a warning, not an error :(