chore: regenerate models from upstream schemas #60
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 contain substantive content changes with no corresponding
codegen/changes.All 40 changed files are under
model/. The changes go well beyond version/upgrade entries — they include new Zod schemas, new fields added to existing schemas, and entirely new model files (e.g.,model/gcp/aiplatform/extensions/models/onlineevaluators.ts). Per CLAUDE.md and the review criteria, model files may only change withoutcodegen/changes in two cases: (a) pure version bumps via thebump-versionsscript, or (b) a codegen regeneration that also modifiescodegen/. Neither applies here.Specific examples of non-trivial content changes:
model/aws/s3/extensions/models/bucket.ts: NewAnnotationTableConfigurationSchemaadded with multiple fields.model/aws/bedrockagentcore/extensions/models/configuration_bundle.ts: NewKmsKeyArnfield with regex validation added toGlobalArgsSchema,StateSchema, andInputsSchema.model/aws/wafv2/extensions/models/web_acl.ts: NewPriceSchema,PaymentNetworkSchema,CryptoConfigSchema, andMonetizationConfigadded.model/gcp/aiplatform/extensions/models/onlineevaluators.ts: Entirely new 1208-line file.Context: The commit message ("chore: regenerate models from upstream schemas") matches the pattern of prior regeneration PRs (#55, #59). The generated code structure is consistent with the codegen pipeline's output style. This strongly suggests the codegen tool was run against updated upstream schemas, and the pipeline code itself was unchanged — a common workflow not explicitly covered by the two documented legitimate cases. However, per the stated review criteria, this must be flagged as a blocking issue because
codegen/was not modified.Resolution: Either (a) confirm that
deno task generate:awsanddeno task generate:gcpwere actually run to produce these changes (and document that "regeneration without pipeline changes" is a legitimate third case), or (b) if the changes were hand-edited, revert and regenerate via the codegen pipeline instead.Suggestions
None.