chore: regenerate models from upstream schemas #47
Loading…
Reference in a new issue
No description provided.
Delete branch "automated/regenerate-models"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Automated regeneration of extension models from upstream provider schemas.
Schema Sources
Review Notes
model/are auto-generated — review themanifest.yamldiffs for version changesCode Review
Blocking Issues
Model files changed without corresponding codegen/ changes.
All changed files are under
model/, and the diff includes substantive schema changes well beyond version/upgrade entries — new schema fields (channelToAffiliateProgramLink,youtubeChannelPackDetails,SessionConfigurationSchema,StreamingConfigurationSchema), enum additions (EXCHANGE_EXTE,TARGETING_TYPE_YOUTUBE_CHANNEL_PACK,channelToAffiliateProgramLink), description enrichment throughout, and three file deletions (dfareporting/inventoryitems.ts,dfareporting/orders.ts,dfareporting/projects.ts). Nocodegen/files are present in the diff.Per the review rules: "If model files have changes beyond version/upgrade entries and no codegen/ changes exist, flag that as a blocking issue (hand-edited generated code)."
If this was produced by running
deno task fetch-schema:<provider>followed bydeno task generate:<provider>against updated upstream schemas (with no pipeline code changes), that is a legitimate workflow — but it is indistinguishable from hand-editing from this PR alone. Please confirm the models were regenerated via the codegen pipeline, or add a note in the PR description confirming so.Inaccurate upgrade description in
thirdpartylinks.ts.model/gcp/youtube/extensions/models/thirdpartylinks.tsadds a newchannelToAffiliateProgramLinksub-object to the schema (a meaningful structural addition), but the new upgrade entry recordsdescription: "No schema changes". Compare withpartners_targetingtypes_assignedtargetingoptions.tsin the same PR, which correctly records"Added: youtubeChannelPackDetails". If this is generated, the generator has an inconsistency; if it was written manually, it is incorrect.Suggestions