tilt icon indicating copy to clipboard operation
tilt copied to clipboard

Bug report: Watched file tiltfile reload leaves (Tiltfile) pending until manual reload

Open nsheaps opened this issue 2 years ago • 0 comments

Expected Behavior

When a watched file triggers a tiltfile reload, the tiltfile shouldn't remain in pending after the file(s) is reloaded.

Current Behavior

On occasion (unclear why), when a watched file triggers a reload of (Tiltfile) the tiltfile finishes reloading but the resource remains in pending, which blocks the reload of other services in tilt.

Steps to Reproduce

  1. Create a tiltfile that watches a file, and has resources that depend on the tiltfile (all)
  2. Start tilt, let everything settle
  3. touch the file being watched
  4. Note the tiltfile reloads, and will sometimes still be marked as pending after (see image)

Screen Shot 2022-07-21 at 10 54 00 AM

Context

tilt doctor Output

NOTE: I upgraded to v0.30.5 today and saw this happen again.

➜  ~ tilt doctor
Tilt: v0.30.3, built 2022-06-10
System: darwin-amd64
---
Docker
- Host: unix:///var/run/docker.sock
- Server Version: 20.10.17
- API Version: 1.41
- Builder: 2
- Compose Version: v2.6.1
---
Kubernetes
- Env: unknown
- Context: dev-3
- Cluster Name: dev-3
- Namespace: ws-nathan-heaps
- Container Runtime: cri-o
- Version: v1.21.8
- Cluster Local Registry: none
---
Thanks for seeing the Tilt Doctor!
Please send the info above when filing bug reports. 💗

The info below helps us understand how you're using Tilt so we can improve,
but is not required to ask for help.
---
Analytics Settings
--> (These results reflect your personal opt in/out status and may be overridden by an `analytics_settings` call in your Tiltfile)
- User Mode: opt-out
- Machine: 849283229ca9b586029a6d42301bc3c7
- Repo:

About Your Use Case

We use tilt heavily, many times >25 services enabled via tilt, and (Tiltfile) is all the way at the bottom. This being hit-or-miss tends to trend towards me seeing things hit Waiting on (Tiltfile) and not understanding why, if I notice at all.

nsheaps avatar Jul 25 '22 14:07 nsheaps