-
Notifications
You must be signed in to change notification settings - Fork 14
chore: remove test_flow_worker and add missing anon permissions #340
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
chore: remove test_flow_worker and add missing anon permissions #340
Conversation
|
|
View your CI Pipeline Execution ↗ for commit d93b4fa
☁️ Nx Cloud last updated this comment at |
97a9568 to
cd742df
Compare
3f4a7dc to
c7577a4
Compare
cd742df to
013d6d0
Compare
013d6d0 to
d93b4fa
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-340.pgflow.pages.dev 📝 Details:
_Last updated: _ |
🔍 Preview Deployment: Demo✅ Deployment successful! 🔗 Preview URL: https://pr-340-pgflow-demo.jumski.workers.dev 📝 Details:
_Last updated: _ |
Merge activity
|
# Remove test_flow_worker and improve demo permissions This PR removes the unused `test_flow_worker` function and its associated configuration from the demo app. The function was likely a test implementation that's no longer needed. Key changes: - Removed the `test_flow_worker` function configuration from `config.toml` - Deleted the entire `test_flow_worker` directory and its files - Removed the migration that created the test flow - Added permissions for anon role to view `pgflow.step_tasks` and `pgflow.workers` tables - Added a new migration to clean up orphaned pgmq queues, ensuring a clean slate before flow migrations run The cleanup migration handles cases where DROP EXTENSION pgmq didn't cascade properly by safely removing any orphaned queues and sequences.

Remove test_flow_worker and improve demo permissions
This PR removes the unused
test_flow_workerfunction and its associated configuration from the demo app. The function was likely a test implementation that's no longer needed.Key changes:
test_flow_workerfunction configuration fromconfig.tomltest_flow_workerdirectory and its filespgflow.step_tasksandpgflow.workerstablesThe cleanup migration handles cases where DROP EXTENSION pgmq didn't cascade properly by safely removing any orphaned queues and sequences.