Skip to main content

phase_topology

Function phase_topology 

Source
pub fn phase_topology(
    target: BuildTarget,
    parsed: &[ParsedFile],
    groups: &BTreeMap<String, Vec<usize>>,
    kinds: &BTreeMap<String, UnitKind>,
    unit_tables: &HashMap<String, UnitTable>,
    errors: &mut ErrorSink,
)
Expand description

The project-wide topology checks, in the order their diagnostics appear: #1822 (on Workers, a required local capability needs a provider), #3328 (one service per email address across the whole project, on every target), #3644 (one consuming context per queue) and #2306 (on Workers, a WebSocket on open and the agent it transfers to share a file). One call for the build and the editor path, which both run them.