From 756e8506819c67d7e1140bd5d756ec7f5be2cdbb Mon Sep 17 00:00:00 2001 From: damocles Date: Tue, 14 Jul 2026 22:00:15 +0200 Subject: [PATCH] fix(#2352): allow too_many_lines on the HostRequest dispatch router --- hive-c0re/src/server.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hive-c0re/src/server.rs b/hive-c0re/src/server.rs index 6a5d1bc4..baafde31 100644 --- a/hive-c0re/src/server.rs +++ b/hive-c0re/src/server.rs @@ -74,6 +74,12 @@ async fn handle(stream: UnixStream, coord: Arc) -> Result<()> { } } +#[allow( + clippy::too_many_lines, + reason = "flat one-arm-per-HostRequest-variant router; each arm just \ + delegates to a handler. Splitting the match would scatter the \ + wire-command routing without shrinking it." +)] async fn dispatch(req: &HostRequest, coord: Arc) -> HostResponse { let result: anyhow::Result = async { Ok(match req {