runner
Database-owned execution cursors, claims, and bounded retry decisions.
External effects are at-least-once across a crash. Handlers opting into execution context can use the stable slot as their idempotency key.
- exception bedrock_server_manager.scheduler.runner.DeferredRun
Contention postpones work without consuming its retry budget.
- bedrock_server_manager.scheduler.runner.candidate(config, record, moment, name='')
Choose a pending retry, explicit request, or latest eligible occurrence.
- async bedrock_server_manager.scheduler.runner.run_schedule(repository, name, config, server, execute, *, reconcile=None, moment=None, check_contention=True)
Claim against the latest definition before invoking any external effect.
- bedrock_server_manager.scheduler.runner.next_attempt(config, record, moment, name)
Forecast pending work separately from the next calendar occurrence.