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
{{ message }}
Repository navigation
docs(cache): ADR 040 and policy docs misstate segment re-observation and deny filtering #2267
design:adrNeeds a new or updated ADR in adr/kind:docsREADME, docs/, runbook, rustdoc or ADR prose onlykind:testTest coverage, flakes, fixtures or the e2e harnessprio:lowWhen convenient
adr/040-cache-policy.md (Known limitations, segment bullet): says a cached blob returns to an uncapped state "until traffic re-observes it". set_segment runs only on fill admission (crates/cache/src/engine.rs, the admit paths), so a pre-restart blob served as a hit stays Main for good; traffic does not re-observe it into a segment.
adr/040-cache-policy.md ~L69–71 and crates/cache/src/policy/mod.rs (~L52, L57, L88): say eviction candidates are filtered of / stripped of deny-listed hashes. CacheEngine::eviction_candidates deliberately keeps deny-listed hashes so deny wins over pin (see the comment at the top of that function).
Separately: on macOS, a few decdn-nodenode_origin_pull tests flake locally (a_partial_cached_budget_falls_through_to_the_cold_path_and_meters_once, a_probe_cache_hit_still_honours_the_negative_cache, a_probe_cache_hit_still_honours_the_wedged_provider_filter, node_origin_not_found_refusal_does_not_tar_upstream): 2–4 of 90 fail per --retries 0 run, at the same rate on main's behaviour. CI is green, so this may be machine-specific.
design:adrNeeds a new or updated ADR in adr/kind:docsREADME, docs/, runbook, rustdoc or ADR prose onlykind:testTest coverage, flakes, fixtures or the e2e harnessprio:lowWhen convenient
Activity