[proposal] --output-snapshot-on-exit should emit a snapshot on timeout
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 413
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 6
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the timeout handling in tilt ci and the existing --output-snapshot-on-exit and tilt snapshot entry points. Confirm how snapshots are currently emitted, then verify that a timed-out CI run produces a snapshot when the flag is set and preserves current behavior otherwise.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100