Skip to content

feat: sync all modules from constructive-db main#81

Merged
pyramation merged 3 commits into
mainfrom
feat/sync-from-constructive-db
Jun 6, 2026
Merged

feat: sync all modules from constructive-db main#81
pyramation merged 3 commits into
mainfrom
feat/sync-from-constructive-db

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

@pyramation pyramation commented Jun 6, 2026

Summary

Syncs all 7 modules from constructive-db/pgpm-modules/ to pgpm-modules/packages/:

  • database-jobs, encrypted-secrets-table, inflection-db, metaschema-modules, metaschema-schema, object-tree, services

Key changes beyond the raw file sync:

  • 4 new module tables in metaschema-modules: config_secrets_module, i18n_module, user_credentials_module, user_settings_module (with matching deploy/verify/revert)
  • namespace_module verify updated to match new column set (scope, prefix, provisions, default_permissions, etc.)
  • Restored revert files for services + object-tree that were incorrectly removed by the sync (constructive-db didn't have them)
  • Updated test snapshot (48 modules / 55 tables) + added 30s timeout for the information_schema FK join test
  • Reverted database-jobs test and encrypted-secrets-table snapshot to main versions (they reference function signatures / UUID defaults not yet published)

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

Syncs deploy/, verify/, revert/, __tests__/, pgpm.plan, and jest.config
from constructive-db/pgpm-modules/ on main. Key changes:

- inflection-db: rename extension from pgpm-inflection-db to inflection-db,
  sync all SQL procedures
- metaschema-schema: add composite_type + node_type_registry tables
- metaschema-modules: add config_secrets_module, i18n_module,
  user_credentials_module, user_settings_module, agent_chat_module tables
- database-jobs: sync test updates
- services: add api_settings + database_settings tables, add Makefile
- object-tree: version bump from source changes
- encrypted-secrets-table: snapshot update
@devin-ai-integration
Copy link
Copy Markdown

🤖 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

…ility

- Revert database-jobs test to main (no db_id param in published function)
- Revert encrypted-secrets-table snapshot to main (uuid_generate_v4 in test env)
- Regenerate metaschema-modules snapshot (48 modules, 55 total tables)
- Restore services revert files deleted by sync (fixes integration test)
- Restore object-tree set_and_commit revert (drop both functions)
- Restore metaschema-modules verify/revert from main, add new module files
- Update namespace_module verify to match new deploy schema
- Add verify/revert for 4 new modules (config_secrets, i18n, user_credentials, user_settings)
@pyramation pyramation merged commit 716a872 into main Jun 6, 2026
24 checks passed
@pyramation pyramation deleted the feat/sync-from-constructive-db branch June 6, 2026 01:18
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