chore: regenerate models from upstream schemas #60

Merged
stack72 merged 1 commit from automated/regenerate-models into main 2026-06-19 01:16:12 +00:00
Owner

Summary

Automated regeneration of extension models from upstream provider schemas.

Schema Sources

  • AWS: CloudFormation Resource Schema
  • GCP: Google Discovery Documents
  • Hetzner: Hetzner Cloud OpenAPI spec
  • DigitalOcean: DigitalOcean OpenAPI spec

Review Notes

  • Files under model/ are auto-generated — review the manifest.yaml diffs for version changes
  • CalVer versioning with content-based change detection ensures versions only bump when content changes
  • Publishing happens automatically when this PR is merged (via the publish workflow)
## Summary Automated regeneration of extension models from upstream provider schemas. ### Schema Sources - **AWS**: CloudFormation Resource Schema - **GCP**: Google Discovery Documents - **Hetzner**: Hetzner Cloud OpenAPI spec - **DigitalOcean**: DigitalOcean OpenAPI spec ### Review Notes - Files under `model/` are auto-generated — review the `manifest.yaml` diffs for version changes - CalVer versioning with content-based change detection ensures versions only bump when content changes - Publishing happens automatically when this PR is merged (via the publish workflow)
chore: regenerate models from upstream schemas (2026-06-18)
Some checks failed
CI / cve/dirtyfrag - check (pull_request) Has been skipped
CI / cve/dirtyfrag - lint (pull_request) Has been skipped
CI / gcp models - lockfiles up to date (pull_request) Successful in 1m13s
CI / software-factory - check (pull_request) Has been skipped
CI / cloudflare models - sample check (pull_request) Successful in 1m14s
CI / aws models - lockfiles up to date (pull_request) Successful in 1m21s
CI / software-factory - lockfile up to date (pull_request) Has been skipped
CI / workflows/s3-bootstrap - lockfile up to date (pull_request) Has been skipped
CI / cve/dirtyfrag - fmt (pull_request) Has been skipped
CI / cve/mini-shai-hulud - fmt (pull_request) Has been skipped
CI / cve/mini-shai-hulud - test (pull_request) Has been skipped
CI / gcp models - sample check (pull_request) Successful in 1m27s
CI / Adversarial Code Review (pull_request) Has been skipped
CI / model/digitalocean - check (pull_request) Successful in 55s
CI / cve/mini-shai-hulud - lint (pull_request) Has been skipped
CI / cve/dirtyfrag - lockfile up to date (pull_request) Has been skipped
CI / cve/dirtyfrag - test (pull_request) Has been skipped
CI / model/hetzner-cloud - lockfile up to date (pull_request) Successful in 54s
CI / cve/mini-shai-hulud - check (pull_request) Has been skipped
CI / cloudflare models - lockfiles up to date (pull_request) Successful in 1m7s
CI / software-factory - fmt (pull_request) Has been skipped
CI / software-factory - lint (pull_request) Has been skipped
CI / software-factory - test (pull_request) Has been skipped
CI / aws models - sample check (pull_request) Successful in 1m28s
CI / CI Security Review (pull_request) Has been skipped
CI / model/hetzner-cloud - check (pull_request) Successful in 55s
CI / model/digitalocean - lockfile up to date (pull_request) Successful in 54s
CI / cve/mini-shai-hulud - lockfile up to date (pull_request) Has been skipped
CI / Claude Code Review (pull_request) Failing after 3m6s
CI / Merge Gate (pull_request) Failing after 26s
996be18c31
Author
Owner

Code Review

Blocking Issues

  1. 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 without codegen/ changes in two cases: (a) pure version bumps via the bump-versions script, or (b) a codegen regeneration that also modifies codegen/. Neither applies here.

    Specific examples of non-trivial content changes:

    • model/aws/s3/extensions/models/bucket.ts: New AnnotationTableConfigurationSchema added with multiple fields.
    • model/aws/bedrockagentcore/extensions/models/configuration_bundle.ts: New KmsKeyArn field with regex validation added to GlobalArgsSchema, StateSchema, and InputsSchema.
    • model/aws/wafv2/extensions/models/web_acl.ts: New PriceSchema, PaymentNetworkSchema, CryptoConfigSchema, and MonetizationConfig added.
    • 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:aws and deno task generate:gcp were 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.

## Code Review ### Blocking Issues 1. **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 without `codegen/` changes in two cases: (a) pure version bumps via the `bump-versions` script, or (b) a codegen regeneration that also modifies `codegen/`. Neither applies here. **Specific examples of non-trivial content changes:** - `model/aws/s3/extensions/models/bucket.ts`: New `AnnotationTableConfigurationSchema` added with multiple fields. - `model/aws/bedrockagentcore/extensions/models/configuration_bundle.ts`: New `KmsKeyArn` field with regex validation added to `GlobalArgsSchema`, `StateSchema`, and `InputsSchema`. - `model/aws/wafv2/extensions/models/web_acl.ts`: New `PriceSchema`, `PaymentNetworkSchema`, `CryptoConfigSchema`, and `MonetizationConfig` added. - `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:aws` and `deno task generate:gcp` were 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.
stack72 deleted branch automated/regenerate-models 2026-06-19 01:16:12 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
swamp-club/swamp-extensions!60
No description provided.