Skip to content

feat(fixtures): adopt the published logical-name plane packages - #1468

Merged
pyramation merged 5 commits into
mainfrom
feat/logical-plane-fixtures
Jul 27, 2026
Merged

feat(fixtures): adopt the published logical-name plane packages#1468
pyramation merged 5 commits into
mainfrom
feat/logical-plane-fixtures

Conversation

@pyramation

Copy link
Copy Markdown
Contributor

Summary

Final step of the logical-name plane migration (constructive-io/constructive-planning#1269): the integration-test fixtures move off the pre-rename npm packages onto the just-published logical set, so tests exercise the exact production shape (routing_public, the server default from #1466) with no schema overrides.

  • pgpm.json: @constructive-db/{apps,catalog,routing}@3.0.0 + routing-platform@2.0.0; routing-functions dropped — resolve_route() now ships inside routing.
  • Seed fixtures write routing_public/catalog_public/apps_public instead of the constructive_* names. The published modules are schema+grants only (no binding-sync triggers), so the scoped fixture now seeds the compiled hostname_bindings/route_bindings rows directly (hostname_bindings.id mirrors the trigger derivation md5(domain_id|hostname)::uuid).
  • All explicit routingSchema: 'constructive_routing_public' test overrides deleted — the server default routing_public applies.
  • graphql/codegen introspection sources (api-schemas.ts et al.) had hardcoded constructive_routing_public SQL missed in feat(server): default the scoped routing plane to logical routing_public #1466; now query routing_public.api_schemas.

Local: server-test suites green (server 34/34, scoped-routing 8/8, express-context 7/7, fn-routes 7/7, upload 39/39 with MinIO).

Link to Devin session: https://app.devin.ai/sessions/ef854ab8e37e4fedbb21bfd777608edd
Requested by: @pyramation

…outing schema overrides

- pgpm.json: @constructive-db/{apps,catalog,routing}@3.0.0 + routing-platform@2.0.0;
  routing-functions removed (resolve_route now ships inside routing)
- scoped seed fixtures write logical schemas (routing_public/catalog_public/apps_public)
  and seed the compiled hostname_bindings/route_bindings rows directly since the
  published schema+grants modules carry no binding-sync triggers
- server-test/playwright tests drop the explicit routingSchema overrides and use
  the server default routing_public
- codegen introspection sources query routing_public.api_schemas
@pyramation pyramation self-assigned this Jul 27, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

…log/apps@3.1, routing-platform@3)

The published surface now carries only the routing read-path resolvers
and the catalog-sync propagation triggers; binding-sync stays unpublished
so the compiled hostname_bindings/route_bindings rows remain seeded
directly. Schema assertion updated for the logical-name plane schemas.
…ting@5.0.0, catalog/apps/routing-platform@4.0.0)
@pyramation
pyramation merged commit a055893 into main Jul 27, 2026
16 checks passed
@pyramation
pyramation deleted the feat/logical-plane-fixtures branch July 27, 2026 09:33
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