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

naughtygopher / pocache / 43476952461
96%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 05:51PM 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

13 Nov 2026 05:51PM UTC coverage: 95.694% (-0.1%) from 95.833%
43476952461

push

github

web-flow
[minor] Payload.ExpireAt is a plain time.Time (#26)

ExpireAt was an *atomic.Pointer[time.Time], but a Payload is created by Add
and never modified after it is handed to the store, so the atomic protected
nothing. It cost two extra allocations per Add and a pointer lookup per Get.

- breaking: Payload.ExpireAt type changes, p.ExpireAt.Load() becomes
  p.ExpireAt. Value() and Expiry() are unchanged
- a zero ExpireAt, e.g. from a custom store which dropped the timestamp,
  is treated as expired. Previously a nil ExpireAt panicked in Get

Benchmarks, 10 runs each, benchstat:
  Add             77.9ns -> 65.4ns (-15.9%), 56B 3 allocs -> 48B 1 alloc
  Get hit         35.3ns -> 34.7ns (-1.7%)
  Get threshold   63.0ns -> 61.8ns (-1.8%)
  Get miss        no change

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

200 of 209 relevant lines covered (95.69%)

304.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43476952461.1 13 Nov 2026 05:51PM UTC 1
95.69
GitHub Action Run
Source Files on build 43476952461
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 94da985a on github
  • Prev Build on main (#43473806044)
  • Next Build on main (#45126536214)
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