Skip to content

Makefile: bump CODE_GENERATOR_IMAGE to release-1.34, fix deepcopy-gen/openapi-gen invocations - #648

Merged
tamalsaha merged 1 commit into
masterfrom
update-codegen-image
Sep 2, 2026
Merged

Makefile: bump CODE_GENERATOR_IMAGE to release-1.34, fix deepcopy-gen/openapi-gen invocations#648
tamalsaha merged 1 commit into
masterfrom
update-codegen-image

Conversation

@tamalsaha

Copy link
Copy Markdown
Contributor

Summary

CODE_GENERATOR_IMAGE was still pinned to release-1.32. Both deepcopy-gen and openapi-gen changed their CLI in the newer toolchain this bumps to:

  • deepcopy-gen dropped --input-dirs/--output-file-base for positional package args + --output-file.
  • openapi-gen dropped --input-dirs/--output-package for positional package args + --output-dir/--output-pkg/--output-file.

deepcopy-gen's output is byte-identical to what was already checked in. openapi-gen's output picks up five type schemas (CAPIClusterInfo, ClusterClaimFeatures, ClusterClaimInfo, ClusterInfo, TypeReference) that already existed in api/v1 but were missing from the checked-in openapi_generated.go, plus two stale doc comments -- it was already out of date before this change. openapi isn't wired into the gen target here (left as-is, matches existing composition), so nothing was regenerating it; not exercised by verify-gen either.

Verification

Ran locally against the real ghcr.io/appscode/gengo:release-1.34 image: make verify (verify-gen + verify-modules), check-license, lint, build -- all pass.

…/openapi-gen invocations for the new CLI

CODE_GENERATOR_IMAGE was still pinned to release-1.32. Both deepcopy-gen
and openapi-gen changed their CLI in the newer toolchain this bumps to:
deepcopy-gen dropped --input-dirs/--output-file-base for positional
package args + --output-file; openapi-gen dropped --input-dirs/
--output-package for positional package args + --output-dir/
--output-pkg/--output-file.

deepcopy-gen's output is byte-identical to what was already checked in
(verified by diffing before/after). openapi-gen's output picks up five
type schemas (CAPIClusterInfo, ClusterClaimFeatures, ClusterClaimInfo,
ClusterInfo, TypeReference) that already existed in api/v1 but were
missing from the checked-in openapi_generated.go, plus two stale doc
comments -- api/v1/openapi_generated.go was already out of date before
this change; 'openapi' isn't wired into the 'gen' target here (matches
this repo's existing composition, left as-is), so nothing was
regenerating it. Not otherwise exercised by verify-gen (which only runs
'gen fmt', i.e. clientset + gen-enum, not openapi).

Verified with make check-license, lint, build, and verify against the
real gengo-builder release-1.34 image.

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha
tamalsaha merged commit 6228294 into master Sep 2, 2026
4 checks passed
@tamalsaha
tamalsaha deleted the update-codegen-image branch September 2, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant