-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add flow compilation utilities for creating flows from JSON shapes #465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 11-30-feat_core_add_shape_extraction_and_comparison_functions
Are you sure you want to change the base?
Conversation
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
View your CI Pipeline Execution ↗ for commit 0bdfc08
☁️ Nx Cloud last updated this comment at |
e0978a9 to
b1eb033
Compare
09c6368 to
abd6e12
Compare
abd6e12 to
0bdfc08
Compare
b1eb033 to
9adebe8
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-465.pgflow.pages.dev 📝 Details:
_Last updated: _ |

Add Flow Compilation and Deletion Utilities
This PR adds two new utility functions to help with flow management:
pgflow._create_flow_from_shape(p_flow_slug, p_shape)- Creates a complete flow from a JSONB shape definition, handling steps and dependencies in a single operation.pgflow.delete_flow_and_data(p_flow_slug)- Safely removes a flow and all its associated runtime data, including PGMQ queues and all database records.The implementation includes:
These utilities will be particularly useful for development mode recompilation and for managing flows programmatically.