feat: add guarded State Hub inbox read projection pilot
Some checks failed
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / pytest-smoke (push) Failing after 2s

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a06ed7-828d-7ca0-a8d4-0c3e5a0c4102
This commit is contained in:
tegwick 2026-09-05 10:37:09 +02:00
parent 9724b273a1
commit 6fb5ce285c
6 changed files with 343 additions and 0 deletions

View file

@ -138,6 +138,9 @@ def create_app(
# Exact projection routes precede the generic /projections/{projection_id}
# route so Starlette dispatch cannot shadow them.
if resolved_settings.statehub_inbox_reads:
from hub_core.runtime.inbox_projection import create_inbox_projection_router
app.include_router(create_inbox_projection_router())
app.include_router(create_workload_projection_router())
app.include_router(create_ports_router())
app.include_router(create_repository_navigation_router())