From 91cf39aff87717113286ca2d5a5bf392e40fcb79 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Wed, 7 Oct 2026 13:34:21 -0700 Subject: [PATCH] vendor: update buildkit to v0.34.0 Signed-off-by: Tonis Tiigi --- go.mod | 2 +- go.sum | 4 ++-- .../moby/buildkit/util/flightcontrol/flightcontrol.go | 4 +++- vendor/modules.txt | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index cc6026c09e..fa17a39ad7 100644 --- a/go.mod +++ b/go.mod @@ -64,7 +64,7 @@ require ( github.com/miekg/dns v1.1.73 github.com/mistifyio/go-zfs/v4 v4.0.0 github.com/mitchellh/copystructure v1.2.0 - github.com/moby/buildkit v0.34.0-rc2 + github.com/moby/buildkit v0.34.0 github.com/moby/docker-image-spec v1.3.1 github.com/moby/extensions v0.0.0-20260918151408-e4c23d866037 github.com/moby/go-archive v0.3.3 diff --git a/go.sum b/go.sum index 9e8ced4819..ee94fbb5b4 100644 --- a/go.sum +++ b/go.sum @@ -467,8 +467,8 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/buildkit v0.34.0-rc2 h1:GRqHSi9Bia5l+KiiWqV5BQOzx36I85FMyawI0jQbsMk= -github.com/moby/buildkit v0.34.0-rc2/go.mod h1:e+Za70y2a3nL1U2Y0P8TvhPyKp2Ok2NS+Q4siSArDiM= +github.com/moby/buildkit v0.34.0 h1:bG5h2y1s5IVvc/uSGo6hVlYbd2eXVFRuADl9Zf+jeJM= +github.com/moby/buildkit v0.34.0/go.mod h1:e+Za70y2a3nL1U2Y0P8TvhPyKp2Ok2NS+Q4siSArDiM= github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0= github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo= github.com/moby/extensions v0.0.0-20260918151408-e4c23d866037 h1:i1M45d/grN16YYOstJ1aGWgo4QOnItgAAa/X4z2+Y9Q= diff --git a/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go b/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go index 791f6c2a8c..a521c66501 100644 --- a/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go +++ b/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go @@ -302,8 +302,10 @@ func (ps *progressState) run(pr progress.Reader) { if errors.Is(err, io.EOF) { ps.mu.Lock() ps.done = true + writers := ps.writers + ps.writers = nil ps.mu.Unlock() - for _, w := range ps.writers { + for _, w := range writers { w.Close() } } diff --git a/vendor/modules.txt b/vendor/modules.txt index e2ae7a9631..8af236e6ad 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1063,7 +1063,7 @@ github.com/mitchellh/copystructure # github.com/mitchellh/reflectwalk v1.0.2 ## explicit github.com/mitchellh/reflectwalk -# github.com/moby/buildkit v0.34.0-rc2 +# github.com/moby/buildkit v0.34.0 ## explicit; go 1.26.8 github.com/moby/buildkit/api/services/control github.com/moby/buildkit/api/types