Skip to content

[NOT-465] Regenerate API client#49

Merged
andreakiro merged 1 commit into
mainfrom
regen-ready-endpoint
Jul 1, 2026
Merged

[NOT-465] Regenerate API client#49
andreakiro merged 1 commit into
mainfrom
regen-ready-endpoint

Conversation

@andreakiro

@andreakiro andreakiro commented Jul 1, 2026

Copy link
Copy Markdown
Member

Regenerates internal/api/client.gen.go to include the new GET /ready readiness-probe endpoint (added to notte-api in monorepo #1781).

Purely additive (+102 lines): ReadyCheck, NewReadyCheckRequest, ReadyCheckResult, ReadyCheckWithResponse, ParseReadyCheckResult.

Generated with the CI-pinned toolchain (oapi-codegen@v2.5.1) against staging OpenAPI. Unblocks the monorepo Release Check step [5/8] (notte-cli matches staging OpenAPI) for the prod release.

Linear: NOT-465 https://linear.app/nottelabsinc/issue/NOT-465/notte-cli-pr-49-regenerate-api-client

@greptile-apps

greptile-apps Bot commented Jul 1, 2026

Copy link
Copy Markdown

Greptile Summary

Regenerates internal/api/client.gen.go via oapi-codegen@v2.5.1 to add client support for the new GET /ready readiness-probe endpoint introduced in the notte-api monorepo.

  • Adds ReadyCheck / ReadyCheckWithResponse to both client interfaces and their concrete implementations, along with NewReadyCheckRequest, ReadyCheckResult, and ParseReadyCheckResult.
  • All new code follows the exact same generator-produced patterns already present throughout the file; HealthResponse is an existing model type reused here for the JSON200 response.

Confidence Score: 5/5

Purely additive generated code; no existing behaviour is modified and the change is structurally identical to every other endpoint already in the file.

The diff is a faithful oapi-codegen regeneration — it only appends new functions and struct fields, touches no existing logic, and reuses an already-validated model type (HealthResponse). There is nothing that could regress existing callers.

No files require special attention; the single changed file is generated and the new code is straightforward.

Important Files Changed

Filename Overview
internal/api/client.gen.go Purely additive oapi-codegen output: adds ReadyCheck, NewReadyCheckRequest, ReadyCheckResult, ReadyCheckWithResponse, and ParseReadyCheckResult for the new GET /ready endpoint; follows identical patterns to all other generated methods in the file

Reviews (3): Last reviewed commit: "regenerate API client for /ready endpoin..." | Re-trigger Greptile

@andreakiro andreakiro changed the title regenerate API client for /ready endpoint Regenerate API client for /ready endpoint Jul 1, 2026
@andreakiro andreakiro changed the title Regenerate API client for /ready endpoint Regenerate API client Jul 1, 2026
@andreakiro andreakiro merged commit 55158ec into main Jul 1, 2026
4 of 5 checks passed
@giordano-lucas giordano-lucas changed the title Regenerate API client [NOT-465] Regenerate API client Jul 10, 2026
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