refactor(orchestrator): replace manual HTTP dispatch with FastAPI
test / integration-docker (pull_request) Failing after 13s
lint / lint (push) Successful in 1m16s
test / image-input-builds (pull_request) Successful in 1m8s
test / unit (pull_request) Successful in 2m43s
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 10m11s

This commit is contained in:
2026-07-26 23:37:55 +00:00
parent f9a4ce127d
commit 6fef945d4e
4 changed files with 401 additions and 497 deletions
+5 -3
View File
@@ -44,7 +44,7 @@ if TYPE_CHECKING:
from ..gateway import Gateway, GatewayError
from .lifecycle import Orchestrator
from .service import OrchestratorCore
from .server import OrchestratorServer, dispatch, make_server
from .server import OrchestratorServer, create_app, dispatch, make_server
# Facade name -> submodule that defines it. Lazy so importing a leaf (or the
@@ -67,8 +67,9 @@ _LAZY: dict[str, str] = {
"GatewayError": "..gateway",
"Orchestrator": ".lifecycle",
"OrchestratorCore": ".service",
"OrchestratorServer": ".server",
"create_app": ".server",
"dispatch": ".server",
"OrchestratorServer": ".server",
"make_server": ".server",
}
@@ -100,7 +101,8 @@ __all__ = [
"GatewayError",
"Orchestrator",
"OrchestratorCore",
"OrchestratorServer",
"create_app",
"dispatch",
"OrchestratorServer",
"make_server",
]