Tags: kumahq/kuma
Tags
chore(deps): bump kumahq/kuma-gui to 8091d9adbde195aefcff4427179c59ee… …2fe69ffa (#15312) Bumps kumahq/kuma-gui to version [release-2.13@8091d9adbde195aefcff4427179c59ee2fe69ffa](https://github.com/kumahq/kuma-gui/tree/8091d9adbde195aefcff4427179c59ee2fe69ffa) > Changelog: chore(deps): use latest kumahq/kuma-gui Signed-off-by: GitHub <noreply@github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ci(cleanup): add disk cleanup before checkout (#15077) ci(cleanup): add disk cleanup before checkout Add free-disk-space action before checkout in both check and e2e jobs to prevent disk space issues during build process. The action runs before checkout to avoid creating files in the git working directory. Expected to free up 12-16 GB of disk space before build operations, improving reliability of CI jobs.
feat(deps)!: migrate module path to github.com/kumahq/kuma/v2 (#15032) ## Motivation Migrate Go module path to `github.com/kumahq/kuma/v2` for semantic import versioning compliance. This is required for proper Go module version resolution when Kuma is at v2.x versions. ## Implementation information This PR includes the complete migration with all post-migration fixes consolidated from master: - Updated `go.mod` module declaration to `github.com/kumahq/kuma/v2` - Mass-replaced ~10,649 import statements across 2,228 files - Updated 46 `.proto` files `go_package` options - Updated configuration files (`.golangci.yml`, `mk/*.mk`, shell scripts) - Applied post-migration fixes from PRs #14907, #14910, #14911, #14919, #14961, #14962 - Regenerated all files with new module path **Post-migration fixes included:** - PR #14907: Update policy-gen CLI defaults to `/v2` path - PR #14910: Fix `RelativeToPkgMod` for v2 module paths - PR #14911: Fix `PostgresContainer` with `-trimpath` - PR #14919: Hardcode `/v2` in resource-gen - PR #14961: Update OpenAPI config import paths to `/v2` - PR #14962: Fix `GO` variable evaluation in makefiles **Verification:** - `make check` passes locally - CI full matrix validation enabled via `ci/run-full-matrix` label ## Supporting documentation Related: #2073 ## BREAKING CHANGE All Go import paths must be updated from `github.com/kumahq/kuma` to `github.com/kumahq/kuma/v2` for any code that imports Kuma packages. This affects all downstream projects, plugins, and extensions. **Before:** ```go import "github.com/kumahq/kuma/pkg/core/resources/model" ``` **After:** ```go import "github.com/kumahq/kuma/v2/pkg/core/resources/model" ``` Users must update their `go.mod` to require `github.com/kumahq/kuma/v2` instead of `github.com/kumahq/kuma` and update all import statements accordingly. --------- Signed-off-by: Bart Smykla <bartek@smykla.com>
fix(tools): backport AddGoComments symlink fix to release-2.11 ## Motivation During /v2 module path migration for Kong Mesh release-2.11, OpenAPI schema generation removes field descriptions from generated files. This breaks `make check` because the regenerated `docs/generated/openapi.yaml` has descriptions stripped out. The issue occurs because `AddGoComments` from `invopop/jsonschema` cannot load Go source code comments when Kuma's `resource-gen` tool is called from downstream projects (Kong Mesh) via symlinks. The function requires the working directory to be at the module root to find Go source files. ## Implementation information This PR backports the fix from release-2.12 (commit 81fdbf8, Kuma PR #14978). The fix modifies `tools/resource-gen/pkg/generator/main.go` to: - Resolve symlinks in the `readDir` path using `filepath.EvalSymlinks` - Convert to absolute path for correct directory reference - Temporarily change to the module root directory before calling `AddGoComments` - Restore the original working directory immediately after This ensures OpenAPI schema field descriptions are preserved when generating schemas from downstream projects. ## Supporting documentation - Original fix: Kuma PR #14978 (release-2.12) - Original commit: 81fdbf8 - Related: Kong Mesh PR #8712 (release-2.11 /v2 migration) > Changelog: skip Signed-off-by: Bart Smykla <bartek@smykla.com>
fix(tools): fix AddGoComments for symlinks Auto-merge enabled for AddGoComments symlink fix. This ensures OpenAPI schema field descriptions appear correctly when Kuma's `resource-gen` tool is called from downstream projects via symlinks. Part of /v2 module path migration for release-2.12.
PreviousNext