Skip to content

chore: update schemas from constructive-db (post-data-room-fixes) - #2016

Merged
devin-ai-integration[bot] merged 1 commit into
mainfrom
schema-update/post-data-room-fixes
Nov 17, 2026
Merged

devin-ai-integration[bot] merged 1 commit into
mainfrom
schema-update/post-data-room-fixes

Conversation

@Anmol1696

Copy link
Copy Markdown
Contributor

Automated Schema + SDK Update

This PR was created by the schema-propagation workflow.

What changed

Updated schema files from constructive-db and regenerated ALL SDK clients.

Source: constructive-db@bbad925a3e4

Schemas updated

  • sdk/constructive-sdk/schemas/ — all API targets from constructive-db (auto-discovered)
  • sdk/migrate-client/schemas/ — migrate
  • pgpm/export/src/meta-export-tables.json — generated meta export table list

Clients regenerated

  • sdk/constructive-sdk/src/ — ORM client
  • sdk/constructive-cli/src/ — CLI client
  • sdk/constructive-react/src/ — React hooks
  • sdk/migrate-client/src/ — Migrate client

Skill references updated

  • .agents/skills/ — Generated skill documentation

Auto-generated by constructive-hub schema-propagation

Auto-generated by schema-propagation workflow.
Source: constructive-db@bbad925a3e4
@luxor-code-review

luxor-code-review Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 2 nitpicks below.

🧹 Nitpicks (2) — 🟢 2 low
  • 🟢 Usage still advertises removed create subcommand (ast-migration.ts:33) — The regenerated ast-migration command still advertises a create subcommand in its usage text (sdk/constructive-cli/src/api/cli/commands/ast-migration.ts:33), but this PR removed the create handler, so the prompt options and handleTableSubcommand switch only support list and find-first.
  • 🟢 --serviceHostname silently dropped by api CLI (api.ts:27) — The regenerated api command added serviceHostname to its fieldSchema (sdk/constructive-cli/src/api/cli/commands/api.ts:27), but the field is absent from the create/update prompt lists, from the data objects sent to client.api.create/update, and from every default select.

This PR is a pure codegen regeneration — 2,132 changed files, all generated SDK output and skill reference docs; no hand-written source changes are included. The underlying schema changes remove table-CRUD create mutations and several queries/types, rename BuilderBinding to ServiceBinding, replace *Upload fields with *Url/*Versions (FileVersion), and add rich metadata fields across the Meta* types.

Files Change
sdk/constructive-sdk/schemas/*.graphql Schema snapshots updated: BuilderBinding→ServiceBinding, Upload scalar removal, new FileVersion/MetaFileField/trgm filters, removed root queries and create mutations
sdk/constructive-sdk/src/** ORM models, input/select types, and query-builders regenerated in lockstep with the schemas; cross-package trees verified byte-identical
sdk/constructive-cli/src/** CLI commands regenerated; read-only record models drop create(), ServiceBinding commands renamed
sdk/constructive-react/src/** React Query hooks regenerated with matching query/mutation keys and invalidations; removed-mutation hook files deleted cleanly
sdk/migrate-client/** migrate schema and ORM updated with additive meta changes only
.agents/skills/** Skill reference docs regenerated; removed *-public skills verified to have no dangling references

The regeneration is internally consistent across all packages (rename, hook keys, and export indexes verified aligned); the only confirmed defects are two minor CLI usage/option mismatches noted inline. Several breaking changes (removed mutations/queries, flattened CreatePrincipalInput, async constructBlueprint) affect external consumers of the published packages rather than this repo.

Reviewed commit: 7fa0838

@devin-ai-integration
devin-ai-integration Bot merged commit 53a25e2 into main Nov 17, 2026
20 checks passed
@devin-ai-integration
devin-ai-integration Bot deleted the schema-update/post-data-room-fixes branch November 17, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant