Skip to main content

Module compactionvalidate

Module compactionvalidate 

Source
Expand description

Whether a compaction config can serve the applications behind a serving surface (the REST server, the trigger controllers), checked by a dry run of Runner::new per application rather than by re-implementing its checks.

A config can pass Config::validate and still be unservable: with no summarizer, the default one needs the root agent’s model, and a workflow agent has none. Without this check a server starts, reports healthy, and fails every request instead.

Functions§

against_agents
Whether cfg can serve every application loader lists, given the services on base.
against_root_agent
against_agents for a surface that serves only the loader’s root agent.