• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

humanspeak / memory-cache / 27031652293
99%

Build:
DEFAULT BRANCH: main
Ran 05 Jun 2026 06:05PM UTC
Jobs 1
Files 1
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Jun 2026 05:51PM UTC coverage: 100.0% (+3.0%) from 96.98%
27031652293

push

github

web-flow
perf(cache): prune expired entries before eviction (#166)

* perf(cache): prune expired entries before eviction

Reclaim expired entries before applying maxSize LRU eviction so valid
entries are not evicted while stale entries still occupy capacity.

- Preserve LRU eviction when the cache remains full after pruning
- Add regression coverage for TTL and LRU order diverging
- Document the TTL plus maxSize behavior in README, API docs, and examples

Closes #161

* docs(cache): clarify ttl example timing

Stagger the TTL plus maxSize examples so readers can see that only the
first entry expires before the next write prunes it.

104 of 104 branches covered (100.0%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

204 of 204 relevant lines covered (100.0%)

954.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 node-22 - 27031652293.1 05 Jun 2026 06:05PM UTC 1
100.0
GitHub Action Run
Source Files on build 27031652293
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27031652293
  • 190aedc5 on github
  • Prev Build on main (#26699205522)
  • Next Build on main (#27032195024)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc