Skip to content

Move climod under .codegen - #8205

Open
parthban-db wants to merge 1 commit into
mainfrom
parthban/climod-under-codegen
Open

parthban-db wants to merge 1 commit into
mainfrom
parthban/climod-under-codegen

Conversation

@parthban-db

Copy link
Copy Markdown
Contributor

Changes

Moves the generated climod/ directory to .codegen/climod/, next to the classic SDK's .codegen/cli.json, and points task generate-clijson's cli-mod step at the new path. The layout inside is unchanged:

.codegen/
    climod/
        .codegen.json        (genkit cli-mod target config)
        .codegen/            (cli.json, sdk-go-field-paths.txt, _last_sha)
    cli.json, _openapi_sha   (classic SDK, unchanged)

Why

Generated files belong under a dot folder rather than at the top level of the repository. climod/ keeps its own .codegen.json and .codegen/ because it comes from a separate pipeline, the modular Go SDK's descriptor set in genkit's cli-mod mode, which doesn't interact with the classic SDK's OpenAPI generation. genkit reads a target's config from <dir>/.codegen.json, and its classic update-sdk run only writes its own files into the CLI's .codegen/, so the nested target doesn't affect it.

The daily Go SDK update switches to the new path in a Universe change. Until both land, it doesn't find the cli-mod target and leaves it as is, so no update breaks in between.

Tests

  • ./task checks passes and changes nothing else.
  • Nothing else in the repository refers to climod/.

This pull request and its description were written by Isaac.

Co-authored-by: Isaac <no-reply@databricks.com>
@parthban-db
parthban-db requested a review from a team as a code owner November 30, 2026 13:34

@review-oss-bot review-oss-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review at 85d6e3e. Each finding was verified against the code.

No blocking issues found.

This PR moves the generated climod/ target to .codegen/climod/ without changing the files, and points the cli-mod step of generate-clijson at the new directory, along with its comment and task description. I found no remaining references to the old path and no defect in the change. Nothing here needs fixing before merge.

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 85d6e3e

Run: 46429874195

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 91 6 1:56
✅​ aws-windows-latest-4core-16gb 91 6 3:17
✅​ azure linux-2core-8gb 91 6 1:56
✅​ azure-windows-latest-4core-16gb 91 6 2:56
✅​ gcp linux-2core-8gb 91 6 2:53
✅​ gcp-windows-latest-4core-16gb 91 6 3:22
Top 3 slowest tests (at least 2 minutes):
duration env testname
3:21 gcp-windows-latest-4core-16gb TestAccept
3:16 aws-windows-latest-4core-16gb TestAccept
2:55 azure-windows-latest-4core-16gb TestAccept

This branch has not been deployed

No deployments
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.

3 participants