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

ben-manes / caffeine / #5640
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 15 Jul 2026 02:18AM UTC
Jobs 1
Files 78
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

15 Jul 2026 01:40AM UTC coverage: 99.964%. Remained the same
#5640

push

github

ben-manes
Match the bounded cache on the vanished-key refresh discard

UnboundedLocalCache.remap discarded a refresh unconditionally on the
absent+null path, so replaceAll racing a concurrent remove + re-refresh
killed a token registered after the removal — where BoundedLocalCache
returns early without discarding for a non-creating caller. A vanished
key is a skip, not a mutation, so the refresh it raced (none) must not
be cancelled. Thread a computeIfAbsent flag (false for replaceAll and
computeIfPresent, true for compute and merge) and return early without
discarding on the absent branch when creation is disallowed; a creating
caller that returns null still discards, as before.

4145 of 4154 branches covered (99.78%)

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

8415 of 8418 relevant lines covered (99.96%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5640.1 15 Jul 2026 02:18AM UTC 78
99.96
Source Files on build #5640
  • Tree
  • List 78
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 154aefb8 on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc