You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resource should not start itself and show an error state
Current Behavior
Resource starts and will show as ready but dependent resources will never start
Steps to Reproduce
Create a local_resource with a bad probe spec (do not include exec / http_get / tcp_socket so that there's no action, e.g. readiness_probe=probe())
Create a local_resource dependent upon the former
Run tilt up
Additional Context
Realistically, we won't be able to do all validation during Tiltfile parsing, so we'll always need to handle this case on resource start when the actual probe worker is initialized
Currently, the logic attempts to log a warning and fallback to process being immediately ready; unfortunately, other state logic will still see a probe spec as existing and so things get into a weird, inconsistent state
The text was updated successfully, but these errors were encountered:
Expected Behavior
Current Behavior
Steps to Reproduce
local_resource
with a bad probe spec (do not includeexec
/http_get
/tcp_socket
so that there's no action, e.g.readiness_probe=probe()
)local_resource
dependent upon the formertilt up
Additional Context
Tiltfile
parsing, so we'll always need to handle this case on resource start when the actual probe worker is initializedThe text was updated successfully, but these errors were encountered: