Add workflow baseline orchestration contracts

This commit is contained in:
2026-07-31 19:39:59 +02:00
parent 42b5019464
commit 6ebb299d6c
7 changed files with 304 additions and 5 deletions
@@ -35,6 +35,12 @@ async def lifespan(app: FastAPI):
api_key_secret=settings.dev_bootstrap_api_key,
user_password=settings.dev_bootstrap_password,
)
lifecycle = getattr(app.state, "govoplan_lifecycle", None)
if lifecycle is not None and hasattr(
lifecycle,
"reconcile_workflow_definitions",
):
lifecycle.reconcile_workflow_definitions()
yield