chore: regenerate models from upstream schemas #44

Merged
stack72 merged 1 commit from automated/regenerate-models into main 2026-06-08 16:13:09 +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-08)
All checks were successful
CI / workflows/gcs-bootstrap - 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 - check (pull_request) Has been skipped
CI / cve/mini-shai-hulud - check (pull_request) Has been skipped
CI / cve/mini-shai-hulud - fmt (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/dirtyfrag - test (pull_request) Has been skipped
CI / model/hetzner-cloud - lockfile up to date (pull_request) Successful in 1m5s
CI / cve/mini-shai-hulud - lint (pull_request) Has been skipped
CI / cve/mini-shai-hulud - test (pull_request) Has been skipped
CI / cve/dirtyfrag - lockfile up to date (pull_request) Has been skipped
CI / cve/mini-shai-hulud - lockfile up to date (pull_request) Has been skipped
CI / aws models - sample check (pull_request) Successful in 1m26s
CI / cloudflare models - sample check (pull_request) Successful in 1m20s
CI / codegen - fmt (pull_request) Has been skipped
CI / codegen - lint (pull_request) Has been skipped
CI / gcp models - sample check (pull_request) Successful in 1m33s
CI / codegen - check (pull_request) Has been skipped
CI / codegen - lockfile up to date (pull_request) Has been skipped
CI / gcp models - lockfiles up to date (pull_request) Successful in 1m57s
CI / Dependency Audit (pull_request) Successful in 5m41s
CI / model/hetzner-cloud - check (pull_request) Successful in 1m4s
CI / CI Security Review (pull_request) Has been skipped
CI / model/digitalocean - check (pull_request) Successful in 1m11s
CI / cloudflare models - lockfiles up to date (pull_request) Successful in 58s
CI / aws models - lockfiles up to date (pull_request) Successful in 1m14s
CI / Adversarial Code Review (pull_request) Has been skipped
CI / Claude Code Review (pull_request) Successful in 6m40s
CI / Merge Gate (pull_request) Successful in 33s
e1ec801e83
Author
Owner

Code Review

Blocking Issues

None.

Observations

All 263 changed files are under model/ (auto-generated). Changes fall into two categories:

1. AWS _lib/aws.ts - 249 files, identical change each

Every file gets the same 5-line else-if branch adding a warning for partial credentials. All 249 files share identical before/after git object hashes (3365a615a to 52c72eafb), which is only possible via the codegen pipeline - not hand-editing.

Verified: codegen/aws/libGenerator.ts on origin/main already contains this exact code (merged via PR #41). This PR propagates a previously-landed template change to the generated output. Legitimate codegen regeneration even though codegen/ itself does not change in this PR.

The warning does not log any credential values - only a diagnostic message. No security concern.

2. GCP containeranalysis and dataplex - schema + version changes

  • containeranalysis: removes cvssV4 fields from notes.ts, notes_occurrences.ts, occurrences.ts; version bump 2026.06.07.1 to 2026.06.08.1.
  • dataplex: adds unstructuredDataProfileResult to datascans.ts and datascans_jobs.ts; version bump and manifest releaseNotes updated.

Both are clean upstream-schema regenerations consistent with the surrounding generated code style.

Suggestions

  1. The commit message does not mention that the AWS _lib/aws.ts regeneration propagates the earlier libGenerator.ts template change (PR #41). A note in the PR body would make the audit trail clearer for future reviewers.
## Code Review ### Blocking Issues None. ### Observations All 263 changed files are under model/ (auto-generated). Changes fall into two categories: **1. AWS _lib/aws.ts - 249 files, identical change each** Every file gets the same 5-line else-if branch adding a warning for partial credentials. All 249 files share identical before/after git object hashes (3365a615a to 52c72eafb), which is only possible via the codegen pipeline - not hand-editing. Verified: `codegen/aws/libGenerator.ts` on `origin/main` already contains this exact code (merged via PR #41). This PR propagates a previously-landed template change to the generated output. Legitimate codegen regeneration even though `codegen/` itself does not change in this PR. The warning does not log any credential values - only a diagnostic message. No security concern. **2. GCP containeranalysis and dataplex - schema + version changes** - containeranalysis: removes `cvssV4` fields from `notes.ts`, `notes_occurrences.ts`, `occurrences.ts`; version bump 2026.06.07.1 to 2026.06.08.1. - dataplex: adds `unstructuredDataProfileResult` to `datascans.ts` and `datascans_jobs.ts`; version bump and manifest `releaseNotes` updated. Both are clean upstream-schema regenerations consistent with the surrounding generated code style. ### Suggestions 1. The commit message does not mention that the AWS `_lib/aws.ts` regeneration propagates the earlier `libGenerator.ts` template change (PR #41). A note in the PR body would make the audit trail clearer for future reviewers.
stack72 deleted branch automated/regenerate-models 2026-06-08 16:13:10 +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!44
No description provided.