Open artem-zinnatullin opened 5 years ago
do you have action graph caching enabled? if so try skipping the action graph cache and see if it works - https://buckbuild.com/files-and-dirs/buckconfig.html#client.skip-action-graph-cache
good call @raviagarwal7, I'll try 👍
We're still seeing it with action graph cache disabled :(
Maybe anyone from Buck team can shine a light on this issue? It seems that daemon corrupts its in-memory state
We're still getting this ~4 times per developer per day, had to add automatic workaround and retry but unclear what exactly goes wrong :(
I want to say that we're also experiencing this issue and it's really crippling to our developer velocity. Essentially to the point that we have a git hook to run ./buckw kill
after changing anything.
Any suggestions to help us diagnose this issue would be appreciated.
We're seeing this as well. These occurred mostly after rebases. One particular reproducible instance was pulling master and rebasing to pickup a new inner enum defined in a Java scope consumed by Kotlin
We're getting few different issues during incremental builds on developer machines where particularly
buck kill
helps.Issue 1: Corrupted zip file of a jar from another module
It can happen with any module combination. jar file is actually present in expected path and seems to be valid (javap dumps of classes are fine too).
Running same build command will fail again.
buckw kill
fixes it.Issue 2: Java code can't reference Kotlin class from another module
IRxActivityBinder
was a new class, added to to the module. Module was already in dependency list of target module.Running the build again will fail.
buck kill
fixes the issue.Looks like something is off about the Buck daemon 🤔
Environment: