codegen: resync gen/ from EF 4cf4d23a - #295
Merged
Merged
Conversation
Contributor
Command surface: additive only — 5 new command(s)New commands — additive, nothing existing can break.
Reference only, never blocking. See RELEASE.md "Checking for Regressions" for how to read this. |
The prod resync introduced PATCH /v3/avatars/{group_id} and the four brand-kit
write/detail endpoints, which TestAllGeneratedCommandsHaveExamples fails on until
examples exist. Regenerated gen/ from the same spec (EF 4cf4d23a) with STRICT=1;
only avatar.go and brand.go changed, confirming the rest of the bot's output is
reproduced exactly.
Codegen only emits scalar body fields as flags, so the brand-kit role assignments
are reachable only through -d. The update examples cover that plus the API's
full-replace semantics, where an empty role object is the spelling that clears a
role — verified end to end that `{"color_roles":{}}` reaches the wire as an empty
object rather than being dropped.
Brand kit creation imports assets in the background and brand registers no poll
config, so there is no --wait. The get example carries the polling instruction
instead, since that is the command an agent has to loop on.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
somanshreddy
approved these changes
Aug 18, 2026
somanshreddy
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed the generated surface and the added examples. Generated output is byte-for-byte reproducible from the deployed spec (EF 4cf4d23a); the gen/ delta over the bot's commit is Examples blocks only. Every example verified end to end against a local mock server for method, path, and body.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-generated PR: a production deploy shipped an updated OpenAPI spec. This PR contains the CLI command definitions regenerated from the now-live prod spec in
gen/.What changed
New commands
heygen avatar update--PATCH /v3/avatars/{group_id}heygen brand kits create--POST /v3/brand-kitsheygen brand kits delete--DELETE /v3/brand-kits/{brand_kit_id}heygen brand kits get--GET /v3/brand-kits/{brand_kit_id}heygen brand kits update--PATCH /v3/brand-kits/{brand_kit_id}Public command surface only; commands hidden from
--helpare not listed.Compared against heygen-cli
mainatb905aac41ed14f90499bd66fbb867aa9f6fb3afd.If CI fails (e.g. missing examples), fix the issue and push to this branch.
Source commit: 4cf4d23a699ef198a35211a84fe139827909c6d2
Triggered by: https://github.com/heygen-com/experiment-framework/commit/4cf4d23a699ef198a35211a84fe139827909c6d2