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

umputun / stash / 19720805290
83%

Build:
DEFAULT BRANCH: master
Ran 27 Nov 2025 12:02AM UTC
Jobs 1
Files 11
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

27 Nov 2025 12:00AM UTC coverage: 82.848% (-0.1%) from 82.976%
19720805290

push

github

web-flow
feat(store): add optional in-memory cache for read operations (#13)

* feat(store): add optional in-memory cache for read operations

Add loading cache wrapper using go-pkgz/lcw/v2 that:
- Caches values on first read (loading cache pattern)
- Automatically invalidates on Set/Delete operations
- Uses LRU eviction with configurable max keys

Useful for PostgreSQL deployments where network latency
makes caching beneficial, or high-volume read workloads.

Configuration:
- --cache.enabled / STASH_CACHE_ENABLED
- --cache.max-keys / STASH_CACHE_MAX_KEYS (default: 1000)

* test: add integration test for cache layer

50 of 66 new or added lines in 2 files covered. (75.76%)

1908 of 2303 relevant lines covered (82.85%)

21.46 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
62.57
0.81% app/main.go
14
75.0
app/store/cached.go
Jobs
ID Job ID Ran Files Coverage
1 19720805290.1 27 Nov 2025 12:02AM UTC 11
82.85
GitHub Action Run
Source Files on build 19720805290
  • Tree
  • List 11
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cbb29c63 on github
  • Prev Build on master (#19720393988)
  • Next Build on master (#19721100474)
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