Skip to content

chore: regenerate API client from latest OpenAPI spec - #96

Merged
giordano-lucas merged 2 commits into
mainfrom
chore/regenerate-api-client
Sep 7, 2026
Merged

chore: regenerate API client from latest OpenAPI spec#96
giordano-lucas merged 2 commits into
mainfrom
chore/regenerate-api-client

Conversation

@giordano-lucas

@giordano-lucas giordano-lucas commented Sep 7, 2026

Copy link
Copy Markdown
Member

Automated regeneration of the generated API client (internal/api, internal/cmd/*_flags.gen.go) from the latest OpenAPI spec.

Last regenerated: 2026-09-07 16:04 UTC

@andreakiro andreakiro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Auto-approved: scheduled API client regeneration.

@greptile-apps

greptile-apps Bot commented Sep 7, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates the generated API client with function response schemas and GotoAction.wait_until, while correcting the malformed goto-action union generated in the previous revision.

  • Restores GotoAction as a concrete typed model across all affected unions.
  • Adds response_format to function response models.
  • Adds round-trip tests for goto actions in all three union contexts.
  • The previously reported compilation failure is fully fixed.

Confidence Score: 5/5

The PR appears safe to merge; the previous generated-code compilation defect is fixed and no new actionable issues were identified.

GotoAction is once again a concrete struct, all affected helpers consistently use that type, discriminator dispatch is correct, and the new tests exercise the repaired serialization paths. The package tests could not be executed because the environment does not provide the Go toolchain, but the reviewed changes reveal no merge-blocking defect.

Important Files Changed

Filename Overview
internal/api/client.gen.go Adds generated response fields and restores concrete, consistent GotoAction union helpers, resolving the previous compilation failure.
internal/api/client_gen_test.go Adds focused round-trip coverage for goto-action serialization across all three affected union types.

Reviews (2): Last reviewed commit: "test: cover goto action union round trip..." | Re-trigger Greptile

Comment thread internal/api/client.gen.go
@giordano-lucas
giordano-lucas force-pushed the chore/regenerate-api-client branch from 6a2f996 to cabbe71 Compare September 7, 2026 10:36

@andreakiro andreakiro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Auto-approved: scheduled API client regeneration.

@giordano-lucas
giordano-lucas force-pushed the chore/regenerate-api-client branch from cabbe71 to c5c4c21 Compare September 7, 2026 14:20

@andreakiro andreakiro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Auto-approved: scheduled API client regeneration.

@giordano-lucas
giordano-lucas force-pushed the chore/regenerate-api-client branch from c2b54bd to aaabffe Compare September 7, 2026 16:04

@andreakiro andreakiro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Auto-approved: scheduled API client regeneration.

@giordano-lucas

Copy link
Copy Markdown
Member Author

@greptile review

@giordano-lucas
giordano-lucas merged commit 38d3d8d into main Sep 7, 2026
4 checks passed
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.

2 participants