tilt
tilt copied to clipboard
erroneous duplicate builds
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
will try to narrow down a smaller repro case, the project i'm working on right now is pretty big and doesn't have an easy one
We see this all the time.
i was actually never able to come up with a repro case for this, and the problem disappeared shortly after
@nicks, have you seen this problem pop up again since your last comments?
@adamf, if you have any details you can share about when you're seeing duplicate builds, that would be helpful!