src.monitoring.assignment_monitor module#
Continuous monitoring for task assignment state changes.
This module monitors for task state reversions and handles them appropriately to prevent workers from being stuck with reverted tasks.
- class src.monitoring.assignment_monitor.AssignmentMonitor[source]#
Bases:
objectMonitors task assignments for state reversions and inconsistencies.
- __init__(persistence, kanban_client, check_interval=30)[source]#
Initialize the assignment monitor.
- Parameters:
persistence (
AssignmentPersistence) – Assignment persistence layerkanban_client (
KanbanInterface) – Kanban board interfacecheck_interval (
int) – How often to check for reversions (seconds)
- class src.monitoring.assignment_monitor.AssignmentHealthChecker[source]#
Bases:
objectPerforms periodic health checks on assignment system.
- __init__(persistence, kanban_client, monitor)[source]#
- Parameters:
persistence (AssignmentPersistence)
kanban_client (KanbanInterface)
monitor (AssignmentMonitor)