-
Notifications
You must be signed in to change notification settings - Fork 15
refactor: simplify environment detection for flow compilation mode #475
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: 12-01-add_flow_compilation_at_worker_startup_with_sql_direct_call
Are you sure you want to change the base?
Conversation
|
|
View your CI Pipeline Execution ↗ for commit 7440546
☁️ Nx Cloud last updated this comment at |
1bef6d0 to
f98a265
Compare
4074b3f to
88f515d
Compare
88f515d to
7440546
Compare
f98a265 to
c5ef186
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-475.pgflow.pages.dev 📝 Details:
_Last updated: _ |

Refactor Flow Compilation Environment Detection
This PR improves how we detect local/development environments for flow compilation by:
isLocalEnvironmentproperty to thePlatformAdapterinterfaceFlowWorkerLifecycleisLocalSupabaseEnv()function for checking environment recordsThe changes make the code more maintainable by:
This refactoring maintains the same behavior while making the code more robust and easier to understand.