chore: regenerate models from upstream schemas #59

Merged
stack72 merged 1 commit from automated/regenerate-models into main 2026-06-17 14:30:06 +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-17)
Some checks failed
CI / kubernetes - test (pull_request) Has been skipped
CI / kubernetes - lint (pull_request) Has been skipped
CI / kubernetes - lockfile up to date (pull_request) Has been skipped
CI / workflows/gcs-bootstrap - check (pull_request) Has been skipped
CI / workflows/s3-bootstrap - check (pull_request) Has been skipped
CI / workflows/gcs-bootstrap - fmt (pull_request) Has been skipped
CI / workflows/s3-bootstrap - fmt (pull_request) Has been skipped
CI / workflows/gcs-bootstrap - lint (pull_request) Has been skipped
CI / workflows/s3-bootstrap - lint (pull_request) Has been skipped
CI / workflows/s3-bootstrap - test (pull_request) Has been skipped
CI / workflows/gcs-bootstrap - test (pull_request) Has been skipped
CI / cve/dirtyfrag - check (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/dirtyfrag - fmt (pull_request) Has been skipped
CI / cve/mini-shai-hulud - check (pull_request) Has been skipped
CI / cve/dirtyfrag - lockfile up to date (pull_request) Has been skipped
CI / software-factory - fmt (pull_request) Has been skipped
CI / software-factory - lint (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 / software-factory - lockfile up to date (pull_request) Has been skipped
CI / cve/mini-shai-hulud - fmt (pull_request) Has been skipped
CI / software-factory - check (pull_request) Has been skipped
CI / software-factory - test (pull_request) Has been skipped
CI / CI Security Review (pull_request) Has been skipped
CI / Adversarial Code Review (pull_request) Has been skipped
CI / Claude Code Review (pull_request) Failing after 3m26s
CI / Merge Gate (pull_request) Failing after 30s
cefb15be03
Author
Owner

Code Review

Blocking Issues

  1. Model files contain schema-level changes with no corresponding codegen/ changes.

    Every changed file is under model/, but the changes go well beyond version/upgrade entries. Across the diff, the following substantive schema changes appear:

    • harness.ts — 10+ new Zod schema objects (S3FilesAccessPointConfigurationSchema, EfsAccessPointConfigurationSchema, SelfManagedLatticeResourceSchema, ManagedVpcResourceSchema, PrivateEndpointSchema, PrivateEndpointOverrideSchema, HarnessLiteLlmModelConfigSchema, HarnessSkillS3SourceSchema, HarnessSkillGitAuthSchema, HarnessSkillGitSourceSchema), new fields on existing schemas
    • elasticloadbalancing/ — entirely new service directory (load_balancer.ts, _lib/aws.ts, deno.json, deno.lock, manifest.yaml, etc.)
    • cluster.ts — new SharedEnvironmentConfigSchema, new RestrictedInstanceGroupsConfig field
    • origin_endpoint.ts — new AudioTimelinePattern enum field, two new ScteSchema enum values
    • clusters.ts / clusters_nodepools.tsimageFamily field removed from multiple schema locations
    • matters_holds.ts — new geminiQuery field
    • Various files — description text updated on existing fields

    Per CLAUDE.md, files under model/ are auto-generated and must never be hand-edited. The review rules identify two legitimate cases for model-only changes: (a) codegen regeneration where codegen/ also changes, or (b) pure version bumps via the bump-versions script (only version, upgrades, and manifest entries change). This PR is neither — it has structural schema changes without any codegen/ changes.

    The commit message says "chore: regenerate models from upstream schemas", suggesting these were produced by running deno task fetch-schema:<provider> followed by deno task generate:<provider>. If so, the pipeline should be run again and the resulting diff verified to confirm the output is identical (idempotency check), and the PR description should note which upstream schema fetch produced these changes. Without that verification, it is indistinguishable from hand-editing.

    Resolution: Re-run the full fetch + generate pipeline, verify idempotency (running generate a second time produces zero new diffs), and confirm the model/ diff matches what is in this PR. If the codegen pipeline itself needed changes to produce this output, those changes must be included.

Suggestions

None.

## Code Review ### Blocking Issues 1. **Model files contain schema-level changes with no corresponding `codegen/` changes.** Every changed file is under `model/`, but the changes go well beyond version/upgrade entries. Across the diff, the following substantive schema changes appear: - `harness.ts` — 10+ new Zod schema objects (`S3FilesAccessPointConfigurationSchema`, `EfsAccessPointConfigurationSchema`, `SelfManagedLatticeResourceSchema`, `ManagedVpcResourceSchema`, `PrivateEndpointSchema`, `PrivateEndpointOverrideSchema`, `HarnessLiteLlmModelConfigSchema`, `HarnessSkillS3SourceSchema`, `HarnessSkillGitAuthSchema`, `HarnessSkillGitSourceSchema`), new fields on existing schemas - `elasticloadbalancing/` — entirely new service directory (`load_balancer.ts`, `_lib/aws.ts`, `deno.json`, `deno.lock`, `manifest.yaml`, etc.) - `cluster.ts` — new `SharedEnvironmentConfigSchema`, new `RestrictedInstanceGroupsConfig` field - `origin_endpoint.ts` — new `AudioTimelinePattern` enum field, two new `ScteSchema` enum values - `clusters.ts` / `clusters_nodepools.ts` — `imageFamily` field removed from multiple schema locations - `matters_holds.ts` — new `geminiQuery` field - Various files — description text updated on existing fields Per CLAUDE.md, files under `model/` are **auto-generated and must never be hand-edited**. The review rules identify two legitimate cases for model-only changes: (a) codegen regeneration where `codegen/` also changes, or (b) pure version bumps via the `bump-versions` script (only `version`, `upgrades`, and `manifest` entries change). This PR is neither — it has structural schema changes without any `codegen/` changes. The commit message says "chore: regenerate models from upstream schemas", suggesting these were produced by running `deno task fetch-schema:<provider>` followed by `deno task generate:<provider>`. If so, the pipeline should be run again and the resulting diff verified to confirm the output is identical (idempotency check), and the PR description should note which upstream schema fetch produced these changes. Without that verification, it is indistinguishable from hand-editing. **Resolution**: Re-run the full fetch + generate pipeline, verify idempotency (running generate a second time produces zero new diffs), and confirm the `model/` diff matches what is in this PR. If the codegen pipeline itself needed changes to produce this output, those changes must be included. ### Suggestions None.
stack72 deleted branch automated/regenerate-models 2026-06-17 14:30:06 +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!59
No description provided.