Fix reconciliation expectations and strict Clippy checks

This commit is contained in:
karl committed 2026-10-23 09:57:28 +02:00
1 parent feec06bc41
commit a85a4e1184
4 files changed
+49 -21

No files matched your search

+4 -4
View File
@@ -787,10 +787,10 @@ impl Store {
return Ok(Vec::new());
}
trace.end(generation_span, Default::default());
if !self
if self
.ann_cache
.as_ref()
.is_some_and(|(generation, _)| *generation == active)
.is_none_or(|(generation, _)| *generation != active)
{
let prepared = trace.timed("semantic.prepared_graph_lookup", parent, |_, _| {
let checksum: String = snapshot.query_row(
@@ -815,10 +815,10 @@ impl Store {
.is_some_and(|(generation, _)| *generation == active),
),
);
if !self
if self
.ann_cache
.as_ref()
.is_some_and(|(generation, _)| *generation == active)
.is_none_or(|(generation, _)| *generation != active)
{
let blob_span = trace.begin("semantic.ann_blob_read", ann_load);
let length: Option<usize> = snapshot.query_row(