Finding f1bug
forget(&index, &gone)` runs even when `dry_run` is true, so a "report only" dry run permanently deletes the index entries for every blob it would have removed — the blobs become unreachable cache…
forget(&index, &gone)` runs even when `dry_run` is true, so a "report only" dry run permanently deletes the index entries for every blob it would have removed — the blobs become unreachable cache misses and are collected as unreferenced garbage by the next real sweep, making `?dry_run=true` destructive despite the route's promise.
bug Category: bug Confidence: Not recorded
services/proxy/src/sweep.rs:140
Evidence quote
Not recorded
Suggested fix
Not recorded
Category: bug Confidence: Not recorded
services/proxy/src/sweep.rs:102
Evidence quote
Not recorded
Suggested fix
Not recorded
Category: bug Confidence: Not recorded
services/proxy/src/sweep.rs:230
Evidence quote
Not recorded
Suggested fix
Not recorded
Finding f4bug
values()` loads `sweep_bytes_reclaimed` at index 4 and `sweep_blobs_removed` at index 5, but `COUNTERS` puts `..._blobs_removed_total` at index 4 and `..._bytes_reclaimed_total` at index 5, so the…
values()` loads `sweep_bytes_reclaimed` at index 4 and `sweep_blobs_removed` at index 5, but `COUNTERS` puts `..._blobs_removed_total` at index 4 and `..._bytes_reclaimed_total` at index 5, so the two new counters are rendered under each other's names — the exact mix-up the comment above `COUNTERS` warns about, and the ops doc tells operators to alert on the misrendered `cairn_proxy_sweep_bytes_reclaimed_total`.
bug Category: bug Confidence: Not recorded
services/proxy/src/metrics.rs:94
Evidence quote
Not recorded
Suggested fix
Not recorded
Category: bug Confidence: Not recorded
services/proxy/src/routes/admin.rs:76
Evidence quote
Not recorded
Suggested fix
Not recorded
Category: bug Confidence: Not recorded
services/proxy/src/sweep.rs:119
Evidence quote
Not recorded
Suggested fix
Not recorded
Category: performance Confidence: Not recorded
services/proxy/src/sweep.rs:84
Evidence quote
Not recorded
Suggested fix
Not recorded
Category: bug Confidence: Not recorded
services/proxy/src/main.rs:108
Evidence quote
Not recorded
Suggested fix
Not recorded
Category: bug Confidence: Not recorded
services/proxy/src/sweep.rs:164
Evidence quote
Not recorded
Suggested fix
Not recorded
Finding f10bug
when `fs::remove_file` fails on line 126, the blob is still counted in `removed`/`bytes`/`remaining` and pushed to `gone`, so the reported reclaim overstates reality and `forget` deletes the index…
when `fs::remove_file` fails on line 126, the blob is still counted in `removed`/`bytes`/`remaining` and pushed to `gone`, so the reported reclaim overstates reality and `forget` deletes the index entries of a blob that is still on disk, orphaning it until a later sweep.
bug Category: bug Confidence: Not recorded
services/proxy/src/sweep.rs:134
Evidence quote
Not recorded
Suggested fix
Not recorded