pub fn resolve_bucket_coverage(
buckets: &[JitBucket],
view_meta: &ViewMetadata,
candidates: &[PartitionFreshnessRow],
) -> Result<Vec<Coverage>, Error>Expand description
Judges every bucket against the candidate rows and cascades: writing a stale bucket retires
rows (those inside its spec hulls for Containment, those intersecting them for Overlap),
which can strip coverage from a bucket that relied on one of them. Verdicts only move from
covered to stale, so the loop ends in at most buckets.len() passes, and the query that
triggers the writes never reads a bucket its own writes just emptied.
buckets are ascending and non-overlapping; returns verdicts parallel to them. Does no I/O.