From dfb4cdb2b9fb44a25b15bd14ec68470b1be2a4b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Sep 2026 12:06:29 +0000 Subject: [PATCH 1/2] build(deps): bump github.com/urfave/cli/v3 from 3.10.1 to 3.11.0 Bumps [github.com/urfave/cli/v3](https://github.com/urfave/cli) from 3.10.1 to 3.11.0. - [Release notes](https://github.com/urfave/cli/releases) - [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/urfave/cli/compare/v3.10.1...v3.11.0) --- updated-dependencies: - dependency-name: github.com/urfave/cli/v3 dependency-version: 3.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 865b62d..5a449f1 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/stretchr/testify v1.11.1 github.com/sumup/sumup-go v0.19.0 github.com/urfave/cli-docs/v3 v3.1.0 - github.com/urfave/cli/v3 v3.10.1 + github.com/urfave/cli/v3 v3.11.0 golang.org/x/term v0.45.0 ) diff --git a/go.sum b/go.sum index caa206a..f30227f 100644 --- a/go.sum +++ b/go.sum @@ -52,8 +52,8 @@ github.com/sumup/sumup-go v0.19.0 h1:/AT4t6R4geRDdAtXiEI/JgOK/PyfPd7va77KEjzYoqU github.com/sumup/sumup-go v0.19.0/go.mod h1:D++G2u9zvobimuUrgvSbah/tS3ON2Dmi6yb6ScA2Jpg= github.com/urfave/cli-docs/v3 v3.1.0 h1:Sa5xm19IpE5gpm6tZzXdfjdFxn67PnEsE4dpXF7vsKw= github.com/urfave/cli-docs/v3 v3.1.0/go.mod h1:59d+5Hz1h6GSGJ10cvcEkbIe3j233t4XDqI72UIx7to= -github.com/urfave/cli/v3 v3.10.1 h1:7Kx9H50hrHbRbyxgO1KP6/BcbiGRz0uYh5YyQ30JEEY= -github.com/urfave/cli/v3 v3.10.1/go.mod h1:ysVLtOEmg2tOy6PknnYVhDoouyC/6N42TMeoMzskhso= +github.com/urfave/cli/v3 v3.11.0 h1:P/euJp99kb9p0tlVY+iYTLYYTAQlfl0hR2gUO1Img1Q= +github.com/urfave/cli/v3 v3.11.0/go.mod h1:ysVLtOEmg2tOy6PknnYVhDoouyC/6N42TMeoMzskhso= github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no= github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM= golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= From 2006e56865bf0e2c94b339bafdf2114cd5c15a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Dzivjak?= Date: Fri, 11 Sep 2026 14:09:22 +0200 Subject: [PATCH 2/2] fix(codegen): download pinned SDK before resolving its directory Fresh module caches omit the SDK directory from go list, causing catalog generation to fail before CI tests run. Download the pinned module before resolving it. Codex implemented the generator fix and validated cold-cache generation, race tests, and lint. Co-authored-by: Codex (cherry picked from commit ab5dee2921e4af64ec10e1d9eb1f8f7b620f04e0) --- internal/cmd/generate-operations/main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/cmd/generate-operations/main.go b/internal/cmd/generate-operations/main.go index 0e7cfe3..674185c 100644 --- a/internal/cmd/generate-operations/main.go +++ b/internal/cmd/generate-operations/main.go @@ -158,6 +158,12 @@ func run(outputPath, specPath, sdkVersion string) error { } func resolveModule() (*moduleInfo, error) { + // go list only includes Dir when the module has already been downloaded. + download := exec.Command("go", "mod", "download", sdkModule) + if output, err := download.CombinedOutput(); err != nil { + return nil, fmt.Errorf("download pinned SDK module: %w: %s", err, strings.TrimSpace(string(output))) + } + command := exec.Command("go", "list", "-m", "-json", sdkModule) output, err := command.Output() if err != nil {