From 23c51c25b3ae7450e078966e4d91a0c075b4e1d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Sep 2025 15:27:26 +0000 Subject: [PATCH 1/2] build(deps): bump github/codeql-action from 3.29.11 to 3.30.0 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.11 to 3.30.0. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/3c3833e0f8c1c83d449a7478aa59c036a9165498...2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.30.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/codeql.yml | 4 ++-- .github/workflows/scorecards.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 459318737634..7be4d7168f0b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -36,7 +36,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3.29.11 + uses: github/codeql-action/init@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0 # Override language selection by uncommenting this and choosing your languages # with: # languages: go, javascript, csharp, python, cpp, java @@ -46,4 +46,4 @@ jobs: make - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3.29.11 + uses: github/codeql-action/analyze@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0 diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 143744c9ef8e..82b391e77818 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -49,6 +49,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@3c3833e0f8c1c83d449a7478aa59c036a9165498 # tag=v3.29.11 + uses: github/codeql-action/upload-sarif@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # tag=v3.30.0 with: sarif_file: results.sarif From c77b708525dfac92b720d18c9508a7e0308c5caf Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 3 Sep 2025 09:54:21 +0200 Subject: [PATCH 2/2] pkg/cio: Close(): use errors.Join to return all errors Preserve all errors encountered, instead of only the last one. Signed-off-by: Sebastiaan van Stijn --- pkg/cio/io.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/cio/io.go b/pkg/cio/io.go index 9e982cb0a9f5..d04dcc871d66 100644 --- a/pkg/cio/io.go +++ b/pkg/cio/io.go @@ -18,6 +18,7 @@ package cio import ( "context" + "errors" "fmt" "io" "net/url" @@ -205,16 +206,16 @@ func (c *cio) Wait() { } func (c *cio) Close() error { - var lastErr error + var errs []error for _, closer := range c.closers { if closer == nil { continue } if err := closer.Close(); err != nil { - lastErr = err + errs = append(errs, err) } } - return lastErr + return errors.Join(errs...) } func (c *cio) Cancel() {