-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Replace scheduler service with DBOS for improved reliability
Problem
Current scheduler service uses custom scheduling logic that could benefit from database-backed durability and automatic recovery.
Proposed Solution
Replace scheduler_service.py with DBOS scheduled workflows:
@DBOS.scheduled('0 */6 * * *') # Every 6 hours
@DBOS.workflow()
async def cleanup_old_executions():
await perform_cleanup_operations()Benefits
- Built-in persistence and reliability
- Automatic recovery if service restarts
- Simplified codebase
- Database-backed scheduling state
Next Steps
- Add DBOS dependency
- Pilot implementation for scheduled cleanup tasks
- Evaluate for broader workflow execution use cases
Resources: DBOS Documentation
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request