Files
leleka/control-plane/src/serve
Pavlo Ratushnyi a0052cda6c STRA-338 S7: serve() is a list of phase functions (state, engine, http children), none over 30 lines
serve() was one function of about 240 lines. It is now the ordered list of start-up phases (load config and history, check
host, embedded engine, provision, bind, state, MCP, CORS warning, codec, vision, prompt switches, runtime worker, worker or
pool, idle unload, serve, stop) and the phases live in serve/state.rs, serve/engine.rs and serve/http.rs. The order of the
side effects is the old order; the state is still handed to the router by value (the engine channel closes when the server
stops); every string literal of the old file (log and error texts) is present unchanged. The 149-column log line is now
wrapped with a string continuation that produces the same text.
2026-11-06 01:12:37 +01:00
..