From cb730a980cf66f3334bab4df729c58b101d0e6ae Mon Sep 17 00:00:00 2001 From: ScriptedAlchemy Date: Sat, 19 Sep 2026 13:57:58 +0000 Subject: [PATCH] fix(sessions): drop the u64 identity conversion clippy rejects CI clippy (rust 1.97, -D warnings) fails master since #1857: useless_conversion on the JSONL partial-window test's file length, which is already u64. Co-Authored-By: Claude Fable 5.1 --- .../runtime/observation/jsonl_observation_admission/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tracedecay-sessions/src/runtime/observation/jsonl_observation_admission/tests.rs b/crates/tracedecay-sessions/src/runtime/observation/jsonl_observation_admission/tests.rs index b5a72dfff6..6c33688210 100644 --- a/crates/tracedecay-sessions/src/runtime/observation/jsonl_observation_admission/tests.rs +++ b/crates/tracedecay-sessions/src/runtime/observation/jsonl_observation_admission/tests.rs @@ -1026,7 +1026,7 @@ async fn cursor_cas_lost_on_a_partially_covered_window_replays_the_tail() { }) ) .unwrap(); - let len = u64::try_from(std::fs::metadata(&path).unwrap().len()).unwrap(); + let len = std::fs::metadata(&path).unwrap().len(); let spy = SeamSpyAdmission::default(); spy.script_peer_covers_batch_prefix();