feat(schema): add graph_execution_module — 7 partitioned execution tables + execution tree#98
feat(schema): add graph_execution_module — 7 partitioned execution tables + execution tree#98pyramation wants to merge 11 commits into
Conversation
…bles + execution tree Phase 2 schema: split graph_module (definitions only) from graph_execution_module (ephemeral execution state + merkle tree). New execution tables (all partitioned by time): - executions, outputs, node_states (moved from graph_module) - execution_tree_object, _store, _commit, _ref (merkle tree for time-travel debugging) New execution_store_id column on executions table links each execution to its merkle tree store. Includes pgpm modules, SDK (schemas, ORM, CLI, hooks), and pgpm-test CI workflow.
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
constructive-compute: prefix constructive_infra_public refs with constructive-infra: constructive-compute: prefix constructive_private refs with constructive-storage: constructive-infra-seed: prefix internal self-refs correctly
…ompute The job provision trigger function is generated at runtime by constructive-db. Add a no-op stub so standalone pgpm deploy works.
…ed requires all deps deployed)
|
Closing — will rebuild on top of feat/flows-panel-ui |
Summary
Splits execution concerns out of
graph_moduleinto a newgraph_execution_module, mirroring thefunction_module/function_invocation_modulepattern. This enables platform-scoped graph definitions with entity-scoped executions.Schema (slice export from constructive-db #1622):
graph_execution_modulegenerator produces 7 partitioned tables + 4 execution functions:graph_moduleretains only definition tables (graphs + merkle store).pgpm standalone deploy fixes:
constructive-infra:prefix on FK constraint deps inconstructive-compute/pgpm.planconstructive_privateschema + no-op trigger stub (generated at runtime by constructive-db)DROP TYPEkeyword infunction_requirementrevert scriptpgpm.jsonworkspace config +constructive-infra-seedexcluded from test (multi-package seed)Refs: constructive-planning #1057"
Link to Devin session: https://app.devin.ai/sessions/b2291a8e333e445aa125a2efd1996206
Requested by: @pyramation