tilt-dev / tilt-dev/tilt

Resource trigger mode UI overrides get reset on Tiltfile reload

Open
#5,154 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Description

Expected Behavior
  • Tilt remembers overrides from UI throughout a session, even if Tiltfile is re-evaluated
Current Behavior
  • Tiltfile evaluation resets trigger modes to values as defined there, losing any UI overrides
Steps to Reproduce
  1. tilt up on a project
  2. Change a trigger mode in the UI
  3. touch Tiltfile
About Your Use Case

Many workflows can trigger a re-evaluation of the Tiltfile, so it's frustrating to have these reset seemingly at random during development.

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.

Research direction

Reproduce the issue by running tilt up, changing a resource trigger mode in the UI, and touching the Tiltfile. Trace how trigger modes are stored during Tiltfile re-evaluation; done means UI overrides remain unchanged after reload, while values defined in the Tiltfile still apply when no UI override exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.