From 02aa866e5b1627c8a25e33a36f46ba9799221742 Mon Sep 17 00:00:00 2001 From: iris Date: Tue, 18 Aug 2026 21:19:42 +0200 Subject: [PATCH] fix(#3458): add missing swarm_name field to test AppState initializer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3643eccf added swarm_name: Option> to AppState and updated the production initializer, but not state_with_roster()'s test-only one — main's --all-targets/test build has been broken since. None, matching atlas's proposed shape: the roster/links tests this helper backs don't read the display name, and the loading path already has its own coverage (load_swarm_name_covers_missing_and_set). Closes #3458. --- swarm-controller/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/swarm-controller/src/main.rs b/swarm-controller/src/main.rs index 3c39cf79..d1423759 100644 --- a/swarm-controller/src/main.rs +++ b/swarm-controller/src/main.rs @@ -1057,6 +1057,7 @@ mod tests { status: None, jobq: std::sync::Arc::clone(&sched), webhook_secret: None, + swarm_name: None, }; (state, sched) }