Skip to main content

build_multi_router

Function build_multi_router 

Source
pub fn build_multi_router(
    registry: &WorkspaceRegistry,
) -> Result<WorkspaceRouter>
Expand description

Build a multi-workspace WorkspaceRouter from a parsed registry (R60).

Cheap validation (id shape, absolute paths, config parse) happens here; an invalid or unresolvable workspace is recorded as WorkspaceHealth::Unavailable rather than aborting the server (R9/R61). Opening the SQLite store is deferred to the first query.