You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:bugSomething does not behave as documentedkind:docsREADME, docs/, runbook, rustdoc or ADR prose onlyprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Follow-ups found while reviewing #2202 (#2196). Both are outside that PR's diff.
1. spawn_harvest drops every peer-store write error
spawn_harvest (crates/cli/src/commands/fetch.rs) discards the results of upsert_identity, record_sample and prune_and_cap with let _ =. Since #2202, probe samples are the only input to latency_ms, so the harvest is the only writer the fast-path ranking depends on.
A peer store that fails every write (read-only data dir, full disk, bad permissions) freezes the ranking with no log at any level. record_first_open and settle_lane / settle_drive already log a failed write at debug.
Expected: a failed harvest write logs at least at debug with the peer and the operation, like record_first_open. Consider warn once per harvest when every write fails, because that means the store is unusable, not that one record is bad.
2. ADR 039 says per-lane outcomes are not persisted
adr/039-multi-source-parallel-fetch.md § Source diversity and per-peer memory, Client bullet:
The fetch result reports the scheduler's other per-lane outcomes — stalls, drops, verification failures; the client does not persist them.
settle_lane and settle_drive (crates/cli/src/commands/fetch.rs) call PeerStore::record_failure when the drive blames the peer, so a blamed drive failure does persist, as a failure stamp.
Expected: the ADR states that a drive failure the peer caused sets the failure stamp, and that the other outcome details (stall, drop, verification failure) are reported, not stored. Fix the doc, not the code, unless the stamp is found to be wrong.
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:bugSomething does not behave as documentedkind:docsREADME, docs/, runbook, rustdoc or ADR prose onlyprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
fix(cli,client): batch fix bundle-pull lane, watchdog and dedup bugs (#…