tilt-dev / tilt-dev/tilt

Force rebuild/update of resource ignoring cache

Open
#3,220 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

As shown in the screenshot, you can force rebuild/update of a resource by clicking the button in the sidebar.

Screen Shot 2020-04-17 at 11 21 31 AM

The feature request is to be able to do this, but ignoring cache.

See conversation in #tilt https://kubernetes.slack.com/archives/CESBL84MV/p1587135898194100?thread_ts=1587129910.193400&cid=CESBL84MV

And in particular:

but want to be able to force the cache ignore on demand (e.g. through the force redeploy in GUI)

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

Start by tracing the sidebar force rebuild/update button and the resource build or cache path it invokes. Implement an on-demand option that forces the selected resource to rebuild while ignoring its cache, then verify that the GUI action produces an updated resource rather than a cached result.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.