src/dazzle_back/runtime/sla_manager.py¶
Generated: 2026-03-30T04:38:48.293063+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
SLA runtime enforcement — timer tracking, breach detection, escalation.
Listens to entity lifecycle events (via CRUDService callbacks) and tracks SLA timers in memory. A periodic background task checks for tier transitions and executes breach actions (field updates + notifications).
Architecture:...
Key Exports¶
SLATimerparse_schedulebusiness_secondsSLAManageractive_timer_countget_timerstartshutdownon_entity_eventcheck_breaches
Dependencies¶
Imports¶
__future__.annotationsasynciologgingtimedataclasses.dataclassdatetime.UTCdatetime.datetimedatetime.timedeltadatetime.tzinfotyping.TYPE_CHECKINGtyping.Anydazzle.core.ir.sla.SLAConditionSpecdazzle.core.ir.sla.SLATierSpeczoneinfo.ZoneInfodazzle.core.ir.sla.SLASpec
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_sla_manager.pytests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.