What existing functionality needs improvement?
For our usage, the buildkitd would fail with the following error once out of every 100 builds or so.
build new buildkitd client: maybe start buildkitd: maybe restart: could not connect to buildkitd to shut down container
This would even happen immediately after a successful build. So our hunch is that everything is working right, but we we need to give a little more time to connect.
I made a Proof of Concept PR here:
joshuabremerdexcom#1
This adds a buildkit-conn-timeout flag to the CLI to let it take longer to connect.
If it's something you'd be willing to add in, I can finish this up and make sure it meets the contributing standards.
Expected Behavior
When you run:
earthly --buildkit-conn-timeout=30 +build
It will take 30 seconds to timeout if it can't connect to the buildkitd container instead of 5 seconds.
What existing functionality needs improvement?
For our usage, the buildkitd would fail with the following error once out of every 100 builds or so.
This would even happen immediately after a successful build. So our hunch is that everything is working right, but we we need to give a little more time to connect.
I made a Proof of Concept PR here:
joshuabremerdexcom#1
This adds a
buildkit-conn-timeoutflag to the CLI to let it take longer to connect.If it's something you'd be willing to add in, I can finish this up and make sure it meets the contributing standards.
Expected Behavior
When you run:
It will take 30 seconds to timeout if it can't connect to the buildkitd container instead of 5 seconds.