chore: regenerate models from upstream schemas #11

Merged
stack72 merged 1 commit from automated/regenerate-models into main 2026-05-28 12:18:30 +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-05-28)
All checks were successful
CI / workflows/s3-bootstrap - lockfile up to date (pull_request) Has been skipped
CI / cve/dirtyfrag - check (pull_request) Has been skipped
CI / cve/dirtyfrag - fmt (pull_request) Has been skipped
CI / cve/dirtyfrag - lint (pull_request) Has been skipped
CI / cve/mini-shai-hulud - check (pull_request) Has been skipped
CI / cve/dirtyfrag - test (pull_request) Has been skipped
CI / cve/mini-shai-hulud - fmt (pull_request) Has been skipped
CI / cve/mini-shai-hulud - lint (pull_request) Has been skipped
CI / cve/mini-shai-hulud - test (pull_request) Has been skipped
CI / cve/mini-shai-hulud - lockfile up to date (pull_request) Has been skipped
CI / cve/dirtyfrag - lockfile up to date (pull_request) Has been skipped
CI / codegen - check (pull_request) Has been skipped
CI / Dependency Audit (pull_request) Successful in 4m4s
CI / codegen - fmt (pull_request) Has been skipped
CI / model/hetzner-cloud - check (pull_request) Successful in 54s
CI / model/digitalocean - check (pull_request) Successful in 1m0s
CI / codegen - lockfile up to date (pull_request) Has been skipped
CI / codegen - lint (pull_request) Has been skipped
CI / model/hetzner-cloud - lockfile up to date (pull_request) Successful in 1m5s
CI / model/digitalocean - lockfile up to date (pull_request) Successful in 1m24s
CI / cloudflare models - lockfiles up to date (pull_request) Successful in 1m11s
CI / CI Security Review (pull_request) Has been skipped
CI / gcp models - lockfiles up to date (pull_request) Successful in 1m27s
CI / cloudflare models - sample check (pull_request) Successful in 1m28s
CI / aws models - lockfiles up to date (pull_request) Successful in 1m29s
CI / aws models - sample check (pull_request) Successful in 1m43s
CI / gcp models - sample check (pull_request) Successful in 1m44s
CI / Adversarial Code Review (pull_request) Has been skipped
CI / Claude Code Review (pull_request) Successful in 4m1s
CI / Merge Gate (pull_request) Successful in 32s
9a0a2e91e6
Author
Owner

Code Review

Blocking Issues

None.

Suggestions

  1. Upgrade descriptions are inaccurate across all four models: Each new upgrade entry uses description: "No schema changes", but each model does include schema changes — new optional fields (NetworkInterface, InstanceRequirements in sagemaker/cluster; per-GPU accelerator fields in dataproc/batches and dataproc/sessions; sizeAboveBytes/sizeBelowBytes in storage/buckets) and InstanceType being relaxed from required to optional in sagemaker/cluster. These are all non-breaking additions, so the pass-through upgradeAttributes: (old) => old is correct. But the description field is misleading. If the codegen pipeline can detect non-breaking field additions, a description like "Added optional fields from upstream schema update" would be more informative for anyone reading the upgrade history.

Context on model-only changes: This PR contains no codegen/ changes, but the changed model files are clearly auto-generated output (auto-gen header comment, consistent Zod structure, bot-authored commit from forgejo-actions[bot]). The preceding regeneration commit (563f4073) follows the same pattern — model/ changes only, no codegen/ changes — confirming this is the normal daily upstream schema regeneration workflow where the pipeline is unchanged and only the input schemas from AWS/GCP have evolved.

## Code Review ### Blocking Issues None. ### Suggestions 1. **Upgrade descriptions are inaccurate across all four models**: Each new upgrade entry uses `description: "No schema changes"`, but each model does include schema changes — new optional fields (`NetworkInterface`, `InstanceRequirements` in sagemaker/cluster; per-GPU accelerator fields in dataproc/batches and dataproc/sessions; `sizeAboveBytes`/`sizeBelowBytes` in storage/buckets) and `InstanceType` being relaxed from required to optional in sagemaker/cluster. These are all non-breaking additions, so the pass-through `upgradeAttributes: (old) => old` is correct. But the description field is misleading. If the codegen pipeline can detect non-breaking field additions, a description like `"Added optional fields from upstream schema update"` would be more informative for anyone reading the upgrade history. --- **Context on model-only changes**: This PR contains no `codegen/` changes, but the changed model files are clearly auto-generated output (auto-gen header comment, consistent Zod structure, bot-authored commit from `forgejo-actions[bot]`). The preceding regeneration commit (`563f4073`) follows the same pattern — `model/` changes only, no `codegen/` changes — confirming this is the normal daily upstream schema regeneration workflow where the pipeline is unchanged and only the input schemas from AWS/GCP have evolved.
stack72 deleted branch automated/regenerate-models 2026-05-28 12:18:31 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
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!11
No description provided.