LiveUpdate does not finish with Pending after switching the trigger mode from manual to auto.

Open
#6,077 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, docker-compose, go

Research direction

Start with the linked reproduction repository and follow the WebUI transition from manual to auto for the app resource, then reproduce the file update with touch server.js. Trace why LiveUpdate remains Pending after that transition; done means the update triggers and finishes successfully instead of staying Pending.

Written by the indexing model from the issue text.

Description

bug
Expected Behavior

LiveUpdate is triggered and finished successfully when files are updated.

Current Behavior

The resource is pending and does not finish.
スクリーンショット 2023-03-15 16 36 11

Steps to Reproduce
  1. Run the following resource with Tilt. (I have the code to reproduce based on a tutorial. here.)
  • with docker-compose
  • with live update
  • with manual trigger
    image
  1. In the WebUI, change the trigger mode of app from manual to auto.
    スクリーンショット 2023-03-15 16 55 04

  2. Update a file of app resource as follows.

$ touch server.js

-> LiveUpdate of app resource does not finish with Pending.

Context
tilt doctor Output
$ tilt doctor
Tilt: v0.32.0, built 2023-03-13
System: darwin-arm64
---
Docker
- Host: unix:///Users/suzuki.yoshiharu/.docker/run/docker.sock
- Server Version: 20.10.23
- API Version: 1.41
- Builder: 2
- Compose Version: v2.15.1
---
Kubernetes
- Env: docker-desktop
- Context: docker-desktop
- Cluster Name: docker-desktop
- Namespace: default
- Container Runtime: docker
- Version: v1.25.4
- 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-in
- Machine: e4f1d3c3e5e32ef82408eec45fb2f2a1
- Repo: N0bjDegm65kAF+Q2vFT8zQ==
About Your Use Case
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tilt-dev/tilt

All issues in tilt-dev/tilt

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.