Skip to content

Fix empty-key memory budget eviction - #72

Merged
Jason-Doyle merged 3 commits into
mainfrom
experiment/empty-key-memory-eviction
Dec 3, 2026
Merged

Jason-Doyle merged 3 commits into
mainfrom
experiment/empty-key-memory-eviction

Conversation

@Jason-Doyle

Copy link
Copy Markdown
Owner

Change

Correct the memory LRU exhaustion guard so an empty raw eldest key is evicted normally instead of blocking entry/byte budget enforcement. The production change is one explicit undefined comparison. Empty keys remain supported; public options, accounting, defaults, cache policy and stored formats are unchanged.

Qualification

  • Prospective protocol published before implementation; source and collector frozen before the sole detached historical comparison.
  • All 384 candidate contracts pass versus 216/384 historically. Nine declared controls retain exactly equal full observations.
  • All 645 focused/related cases and 36 native Chromium/Firefox/WebKit cases pass, plus four built public-entrypoint probes and existing package/type/documentation checks.
  • Independent replay validates 12,648 commands/probes, 20,676 root calls, 10,140 clones, all 384 pairs, 81 frozen input digests, the CSV and both graphs.
  • Complete raw evidence is preserved in a lossless gzip archive, with compressed/expanded hashes and all native observations published.

Report, exact tables, graphs, evidence and reproduction

Scope and costs

This boundary concerns direct raw caches and shared roots containing a raw empty key. Normal encoded factory keys are nonempty. Correct enforcement adds eviction deletes and can add later cache misses/fallback reads; no production-frequency, physical-heap or latency benefit is established.

Merge assessment: 93/100 against the prospective 85/100 threshold. All hard gates, including exact-publication-head CI and CodeQL, remain mandatory. No cloud, infrastructure, shared-runtime, release or deployment change.

@Jason-Doyle
Jason-Doyle merged commit 7220ab5 into main Dec 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant