swarm-controller: move the review concern into its own module
Refs #6897
This commit is contained in:
parent
b52fc0ec8e
commit
237cdaffaa
1 changed files with 24 additions and 12 deletions
|
|
@ -76,8 +76,6 @@ mod message_stream;
|
|||
mod meta_build;
|
||||
mod meta_fanout;
|
||||
mod meta_flake;
|
||||
mod notify_flows;
|
||||
mod notify_router_api;
|
||||
mod observability_grant;
|
||||
mod otel_http_client;
|
||||
mod pause_hold;
|
||||
|
|
@ -87,8 +85,7 @@ mod proxy_credential;
|
|||
mod pulls;
|
||||
mod queue_identity;
|
||||
mod read_policy;
|
||||
mod request_reviewer;
|
||||
mod review_classifier;
|
||||
mod review;
|
||||
mod routes;
|
||||
mod schedules;
|
||||
mod ssh_connections;
|
||||
|
|
@ -105,6 +102,8 @@ mod wanted;
|
|||
mod webhook;
|
||||
|
||||
use jobq::{Late, WorkerDeps, spawn_jobq_worker};
|
||||
// The review modules keep their crate-root paths (`crate::review_classifier::…`).
|
||||
use review::{notify_flows, notify_router_api, request_reviewer, review_classifier};
|
||||
use routes::AppState;
|
||||
use startup::{
|
||||
agent_icon_reader, agent_status_reader, agents_md_reader, build_app,
|
||||
|
|
|
|||
Loading…
Reference in a new issue