Skip to content

codegen: resync gen/ from EF 4cf4d23a - #295

Merged
somanshreddy merged 2 commits into
mainfrom
sync/cli-codegen-4cf4d23a
Aug 18, 2026
Merged

somanshreddy merged 2 commits into
mainfrom
sync/cli-codegen-4cf4d23a

Conversation

@heygen-rui-bot

Copy link
Copy Markdown
Collaborator

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-kits
  • heygen 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 --help are not listed.
Compared against heygen-cli main at b905aac41ed14f90499bd66fbb867aa9f6fb3afd.

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

@github-actions

Copy link
Copy Markdown
Contributor

Command surface: additive only — 5 new command(s)

New commands — additive, nothing existing can break.

  • heygen avatar update
  • heygen brand kits create
  • heygen brand kits delete
  • heygen brand kits get
  • heygen brand kits update

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 somanshreddy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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.

@somanshreddy
somanshreddy merged commit d02ab39 into main Aug 18, 2026
9 of 10 checks passed
@somanshreddy
somanshreddy deleted the sync/cli-codegen-4cf4d23a branch August 18, 2026 06:00
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