Skip to content

Conversation

@jonbannister
Copy link
Collaborator

The current implementation of the scheduler is running as a background thread in the webapp. This change allows us to instead deploy the scheduler as a separate process for production use-cases such that it can be given the correct resources, lifecycled, etc.

jonbannister and others added 4 commits January 14, 2026 09:45
The scheduler can now run as a separate process instead of a background
thread in the webapp. This allows the scheduler to be restarted
independently in Kubernetes deployments without affecting the webapp.

New CLI command: notebooker-cli start-scheduler
New webapp flag: --scheduler-management-only

When using the standalone scheduler, the webapp should be started with
--scheduler-management-only so it can manage jobs without executing them.
- Use scheduler.start(paused=True) to prevent jobs firing before pause
- Fix _gen_all_templates to skip empty folders (was showing folder names)
- Fix test ordering assertion for templates endpoint
- Apply black and prettier formatting
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@jonbannister jonbannister requested review from a team, aflag, ceallen and morotti January 23, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants