chore: regenerate models from upstream schemas #55

Merged
stack72 merged 1 commit from automated/regenerate-models into main 2026-06-16 21:21:02 +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-16)
All checks were successful
CI / workflows/s3-bootstrap - lint (pull_request) Has been skipped
CI / workflows/s3-bootstrap - lockfile up to date (pull_request) Has been skipped
CI / cve/dirtyfrag - check (pull_request) Has been skipped
CI / model/digitalocean - lockfile up to date (pull_request) Successful in 51s
CI / cve/dirtyfrag - fmt (pull_request) Has been skipped
CI / cve/dirtyfrag - lint (pull_request) Has been skipped
CI / cve/dirtyfrag - test (pull_request) Has been skipped
CI / cve/mini-shai-hulud - check (pull_request) Has been skipped
CI / cve/mini-shai-hulud - lint (pull_request) Has been skipped
CI / cve/mini-shai-hulud - fmt (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 / cve/mini-shai-hulud - test (pull_request) Has been skipped
CI / codegen - check (pull_request) Has been skipped
CI / codegen - lint (pull_request) Has been skipped
CI / codegen - fmt (pull_request) Has been skipped
CI / codegen - lockfile up to date (pull_request) Has been skipped
CI / CI Security Review (pull_request) Has been skipped
CI / model/hetzner-cloud - check (pull_request) Successful in 54s
CI / model/hetzner-cloud - lockfile up to date (pull_request) Successful in 52s
CI / model/digitalocean - check (pull_request) Successful in 1m0s
CI / cloudflare models - lockfiles up to date (pull_request) Successful in 1m5s
CI / gcp models - lockfiles up to date (pull_request) Successful in 1m6s
CI / cloudflare models - sample check (pull_request) Successful in 1m11s
CI / aws models - lockfiles up to date (pull_request) Successful in 1m13s
CI / aws models - sample check (pull_request) Successful in 1m21s
CI / gcp models - sample check (pull_request) Successful in 1m30s
CI / Adversarial Code Review (pull_request) Has been skipped
CI / Claude Code Review (pull_request) Successful in 3m29s
CI / Merge Gate (pull_request) Successful in 33s
49e8d644e6
Author
Owner

Code Review

Blocking Issues

None.

Summary

All 51 changed files are under model/ — no codegen/ files were modified. This matches the established automated "chore: regenerate models from upstream schemas" CI workflow seen in PRs #47, #48, #51, and #52 (all merged to main), so the absence of codegen/ changes is expected and not a sign of hand-editing.

Every modified file retains its // Auto-generated extension model header and // Do not edit manually. Re-generate with: deno task generate:aws comment, confirming these are codegen outputs, not hand-edits. CLAUDE.md's "Never hand-edit files under model/" rule is not violated.

Change summary across providers:

  • AWS CloudWatch (log_alarm): Removes QueryLanguage field from ScheduledQueryConfiguration — upstream schema dropped it.
  • AWS ElementalInference (dictionary): New model for AWS::ElementalInference::Dictionary.
  • AWS Lambda (capacity_provider): Minor field update.
  • AWS Neptune (global_cluster): New model for AWS::Neptune::GlobalCluster.
  • AWS ObservabilityAdmin (organization_centralization_rule): Minor field update.
  • AWS ResilienceHubV2 (user_journey): Minor field update.
  • AWS SageMaker (domain): Minor field update.
  • AWS SSM (association): Adds AssociationDispatchAssumeRole and Tags fields reflecting upstream CloudFormation schema additions.
  • GCP AndroidManagement (enterprises, enterprises_enrollmenttokens): Field additions from upstream Discovery Document changes.
  • GCP BigQuery (multiple models): Minor field updates.
  • GCP BigQueryConnection (connections): Adds parameters map to both authentication and connector configuration blocks — upstream API additions.
  • GCP Classroom (two student submission models): Minor updates.
  • GCP DiscoveryEngine (widgetconfigs, engines, licenseconfigs): Field additions.
  • GCP Firestore (databases_documents): Minor update.
  • GCP MerchantAPI (accounts_datasources): Minor update.
  • GCP OracleDatabase (multiple models): Switches goldengateConnectionTypes, goldengateDeploymentEnvironments, goldengateDeploymentTypes, goldengateDeploymentVersions from readResource (GET) to readViaList (list-then-filter) — matches upstream API capability changes; adds new fields to cloudexadatainfrastructures, cloudvmclusters, exascaledbstoragevaults.
  • GCP VMWareEngine (privateclouds): Field additions.

All version bumps follow CalVer (2026.06.16.1) and include the required upgrades chain entry. Manifests are consistent with their model lists.

Suggestions

  1. The bigqueryconnection/connections.ts GlobalArgsSchema uses z.unknown() for the nested secretValue.plaintext field (inside authentication.parameters), while the top-level configuration.parameters uses z.string(). This asymmetry is likely a generated artifact from the upstream Discovery Document describing the field differently in nested vs. top-level contexts. Worth keeping an eye on whether the upstream schema stabilises, but not a blocker for a generated file.
## Code Review ### Blocking Issues None. ### Summary All 51 changed files are under `model/` — no `codegen/` files were modified. This matches the established automated "chore: regenerate models from upstream schemas" CI workflow seen in PRs #47, #48, #51, and #52 (all merged to main), so the absence of `codegen/` changes is expected and not a sign of hand-editing. Every modified file retains its `// Auto-generated extension model` header and `// Do not edit manually. Re-generate with: deno task generate:aws` comment, confirming these are codegen outputs, not hand-edits. CLAUDE.md's "Never hand-edit files under `model/`" rule is not violated. **Change summary across providers:** - **AWS CloudWatch** (`log_alarm`): Removes `QueryLanguage` field from `ScheduledQueryConfiguration` — upstream schema dropped it. - **AWS ElementalInference** (`dictionary`): New model for `AWS::ElementalInference::Dictionary`. - **AWS Lambda** (`capacity_provider`): Minor field update. - **AWS Neptune** (`global_cluster`): New model for `AWS::Neptune::GlobalCluster`. - **AWS ObservabilityAdmin** (`organization_centralization_rule`): Minor field update. - **AWS ResilienceHubV2** (`user_journey`): Minor field update. - **AWS SageMaker** (`domain`): Minor field update. - **AWS SSM** (`association`): Adds `AssociationDispatchAssumeRole` and `Tags` fields reflecting upstream CloudFormation schema additions. - **GCP AndroidManagement** (`enterprises`, `enterprises_enrollmenttokens`): Field additions from upstream Discovery Document changes. - **GCP BigQuery** (multiple models): Minor field updates. - **GCP BigQueryConnection** (`connections`): Adds `parameters` map to both `authentication` and connector `configuration` blocks — upstream API additions. - **GCP Classroom** (two student submission models): Minor updates. - **GCP DiscoveryEngine** (widgetconfigs, engines, licenseconfigs): Field additions. - **GCP Firestore** (`databases_documents`): Minor update. - **GCP MerchantAPI** (`accounts_datasources`): Minor update. - **GCP OracleDatabase** (multiple models): Switches `goldengateConnectionTypes`, `goldengateDeploymentEnvironments`, `goldengateDeploymentTypes`, `goldengateDeploymentVersions` from `readResource` (GET) to `readViaList` (list-then-filter) — matches upstream API capability changes; adds new fields to `cloudexadatainfrastructures`, `cloudvmclusters`, `exascaledbstoragevaults`. - **GCP VMWareEngine** (`privateclouds`): Field additions. All version bumps follow CalVer (`2026.06.16.1`) and include the required `upgrades` chain entry. Manifests are consistent with their model lists. ### Suggestions 1. The `bigqueryconnection/connections.ts` GlobalArgsSchema uses `z.unknown()` for the nested `secretValue.plaintext` field (inside `authentication.parameters`), while the top-level `configuration.parameters` uses `z.string()`. This asymmetry is likely a generated artifact from the upstream Discovery Document describing the field differently in nested vs. top-level contexts. Worth keeping an eye on whether the upstream schema stabilises, but not a blocker for a generated file.
stack72 deleted branch automated/regenerate-models 2026-06-16 21:21:03 +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!55
No description provided.