tilt
tilt copied to clipboard
[proposal] --output-snapshot-on-exit should emit a snapshot on timeout
Describe the Feature You Want
- If
--output-snapshot-on-exitis set,tilt cishould output a snapshot when a timeout is reached.
Current Behavior
tilt cidoes not emit a snapshot.
Why Do You Want This?
- We use
tilt snapshotto help developers debug issues on CI systems, since they cannot access the Tilt UI. - Snapshots are useful to being able to debug why a
tilt cirun is timing out, for instance, a dependency ordering issue or a service not successfully starting up.
We use tilt ci --output-snapshot-on-exit and we regularly get snapshots with error like:
Error: Timeout after 40m0s: 4 resources waiting ...
It seems to be working for us, and has been for years. We're on v0.33.21 right now
We set --timeout=.... I'm not sure if that matters. There may be more going on here if you aren't getting snapshots on timeout.