-
Notifications
You must be signed in to change notification settings - Fork 15
refactor: remove last_invoked_at from track_worker_function to fix debounce handling #520
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
refactor: remove last_invoked_at from track_worker_function to fix debounce handling #520
Conversation
|
|
View your CI Pipeline Execution ↗ for commit 696273c
☁️ Nx Cloud last updated this comment at |
a34d33c to
696273c
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-520.pgflow.pages.dev 📝 Details:
_Last updated: _ |
696273c to
f703acd
Compare
🚀 Production Deployment: Website✅ Successfully deployed to production! 🔗 Production URL: https://pgflow.dev 📝 Details:
Deployed at: 2025-12-08T10:46:26+01:00 |

Improve worker function tracking and lifecycle management
This PR refines the worker function tracking mechanism and improves worker lifecycle management:
Removed
last_invoked_atfromtrack_worker_function()to separate concerns:track_worker_function()ensure_workers()settinglast_invoked_atEnhanced worker lifecycle management:
isCreatedgetter to lifecycle interfacesWorker.startOnlyOnce()Updated migration file with clearer extension creation comments
Fixed tests to reflect the new behavior:
last_invoked_atThese changes improve separation of concerns and make the worker startup process more robust.