erroneous duplicate builds
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 413
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 6
Description
I'm seeing a problem where Tilt sometimes duplicates builds incorrectly. The flow looks like this:
- Deliberately introduce a typo in a Dockerfile
- Let tilt build it
- Fix the typo
Expected behavior:
Tilt should re-run the build with the typo fixed.
Actual behavior:
Tilt re-runs the build twice: once with the typo not fixed, and once with the typo fixed. Sometimes this means I'm waiting around for a few minutes while Tilt runs the build that I think is going to fail
I strongly suspect this is related to recent filewatch changes and synchronization.... cc @milas
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
Reproduce the sequence with a Dockerfile typo, an initial Tilt build, and a subsequent fix. Start by inspecting the recent filewatch and synchronization changes mentioned in the report; done means Tilt runs only the build using the fixed Dockerfile, without an extra build using the stale typo.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dockerfile
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100