tilt icon indicating copy to clipboard operation
tilt copied to clipboard

[proposal] --output-snapshot-on-exit should emit a snapshot on timeout

Open DerekTBrown opened this issue 1 year ago • 1 comments

Describe the Feature You Want

  • If --output-snapshot-on-exit is set, tilt ci should output a snapshot when a timeout is reached.

Current Behavior

  • tilt ci does not emit a snapshot.

Why Do You Want This?

  • We use tilt snapshot to 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 ci run is timing out, for instance, a dependency ordering issue or a service not successfully starting up.

DerekTBrown avatar Nov 26 '24 18:11 DerekTBrown

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.

dnephin avatar May 15 '25 18:05 dnephin