From 6f318c174c34121ae35e28eae779c9c34c473f0f Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Wed, 7 Oct 2026 13:31:52 -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 e56ec39d0b8f..2d2bd49adfdb 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,7 @@ require ( github.com/hashicorp/go-cty-funcs v0.0.0-20250818135842-6aab67130928 github.com/hashicorp/hcl/v2 v2.24.0 github.com/in-toto/in-toto-golang v0.11.0 - github.com/moby/buildkit v0.34.0-rc2 + github.com/moby/buildkit v0.34.0 github.com/moby/moby/api v1.56.0 github.com/moby/moby/client v0.6.0 github.com/moby/policy-helpers v0.0.0-20261006174519-bd98f4747414 diff --git a/go.sum b/go.sum index ac1c5700e728..eef48f148692 100644 --- a/go.sum +++ b/go.sum @@ -397,8 +397,8 @@ github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQ github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -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/go-archive v0.2.0 h1:zg5QDUM2mi0JIM9fdQZWC7U8+2ZfixfTYoHL7rWUcP8= diff --git a/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go b/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go index 791f6c2a8c8d..a521c665011d 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 cb1a62556dfd..59f32be7186e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -649,7 +649,7 @@ github.com/mattn/go-shellwords # github.com/mitchellh/go-wordwrap v1.0.1 ## explicit; go 1.14 github.com/mitchellh/go-wordwrap -# 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