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

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

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 30 May 2026 06:33PM 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

30 May 2026 05:53PM UTC coverage: 100.0%. Remained the same
#5485

push

github

ben-manes
Honor RemapHints.preserveRefresh in UnboundedLocalCache

The async synchronous view flags query-style no-ops — putIfAbsent on a present
key, a non-matching conditional remove/replace, and a same-instance compute —
with RemapHints.preserveRefresh so they leave an in-flight refresh intact (they
aren't real mutations). BoundedLocalCache.remap honored the hint, but
UnboundedLocalCache.compute dropped it and its remap always discarded, so those
no-ops cancelled a racing refresh(key) on unbounded async caches while the
bounded sibling preserved it.

Thread the hint through UnboundedLocalCache.compute -> remap and skip the
discard on a same-instance return when preserveRefresh is set, mirroring
BoundedLocalCache.remap. A real mutation still discards the refresh.

Found by /audit-sibling-divergence.

4011 of 4018 branches covered (99.83%)

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

8205 of 8205 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5485.1 30 May 2026 06:33PM UTC 78
100.0
Source Files on build #5485
  • Tree
  • List 78
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 953db0cf on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
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