From 2f22ab4956309757c98e935cb194be767f1fa67f Mon Sep 17 00:00:00 2001 From: Will Pfleger Date: Fri, 12 Jun 2026 18:17:03 -0400 Subject: [PATCH] fix: repair main build after cross-PR merge skew MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit error_outcome_emission_tests::test_config() (added by #1010) was missing the turn_liveness_secs field that #1017 added to Config — #1017's CI ran before #1010 merged so this third initializer was overlooked. Also fix desktop-tauri clippy manual_is_multiple_of in legacy_storage.rs (from #1016), which the pre-push hook enforces locally but GitHub CI did not exercise for that PR. --- crates/buzz-acp/src/lib.rs | 1 + desktop/src-tauri/src/commands/legacy_storage.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/buzz-acp/src/lib.rs b/crates/buzz-acp/src/lib.rs index 82c3dd275..f6422f963 100644 --- a/crates/buzz-acp/src/lib.rs +++ b/crates/buzz-acp/src/lib.rs @@ -3159,6 +3159,7 @@ mod error_outcome_emission_tests { max_turn_duration_secs: 3600, agents: 1, heartbeat_interval_secs: 0, + turn_liveness_secs: 10, heartbeat_prompt: None, system_prompt: None, initial_message: None, diff --git a/desktop/src-tauri/src/commands/legacy_storage.rs b/desktop/src-tauri/src/commands/legacy_storage.rs index e1cbd334c..eebd083dc 100644 --- a/desktop/src-tauri/src/commands/legacy_storage.rs +++ b/desktop/src-tauri/src/commands/legacy_storage.rs @@ -80,7 +80,7 @@ fn decode_webkit_local_storage_value(bytes: &[u8]) -> Option { return Some(String::new()); } - if bytes.len() % 2 == 0 { + if bytes.len().is_multiple_of(2) { let has_utf16_ascii_shape = bytes.chunks_exact(2).any(|chunk| chunk[1] == 0); if has_utf16_ascii_shape { let utf16: Vec = bytes