tilt icon indicating copy to clipboard operation
tilt copied to clipboard

erroneous duplicate builds

Open nicks opened this issue 3 years ago • 4 comments

I'm seeing a problem where Tilt sometimes duplicates builds incorrectly. The flow looks like this:

  1. Deliberately introduce a typo in a Dockerfile
  2. Let tilt build it
  3. 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

nicks avatar May 07 '21 18:05 nicks

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

nicks avatar May 07 '21 18:05 nicks

We see this all the time.

adamf avatar Mar 01 '22 22:03 adamf

i was actually never able to come up with a repro case for this, and the problem disappeared shortly after

nicks avatar Mar 01 '22 22:03 nicks

@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!

lizzthabet avatar Apr 25 '22 14:04 lizzthabet