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

go-pkgz / lcw
94%

Build:
DEFAULT BRANCH: master
Repo Added 20 Jan 2019 12:12AM UTC
Files 22
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • ci/go-version-from-go-mod
  • escape-scache-key-separators
  • fix-cache-semantics
  • fix-ci-caching
  • fix-limit-boundaries
  • fix-mock-pubsub-race
  • internal
  • lru_internal
  • paskal/bump_ci
  • paskal/bump_go
  • paskal/bump_modules
  • paskal/cleanup_mockery
  • paskal/fix_double_close
  • paskal/fix_expirable_cache
  • paskal/fix_flapping_test
  • paskal/fix_golangci_lint
  • paskal/generics
  • paskal/golang-ci-lint
  • paskal/modernise
  • paskal/readme
  • paskal/reduce_memory_usage
  • paskal/update-go-modules
  • pubsub
  • rbac
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.6.1
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.8.0
  • refs/tags/v0.8.1
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • refs/tags/v1.0.2
  • refs/tags/v1.1.0
  • refs/tags/v1.2.0
  • refs/tags/v1.2.1
  • refs/tags/v1.2.2
  • refs/tags/v2.0.0
  • refs/tags/v2.1.0
  • refs/tags/v2.1.1
  • refs/tags/v2.1.2
  • scache
  • uri
  • v0.4.0

09 Nov 2026 04:58PM UTC coverage: 94.343% (-0.02%) from 94.363%
42660071143

push

github

web-flow
Escape separators inside Scache key parts (#55)

An id or scope containing @@ or $$, such as a page URL, split the
composed key into the wrong number of parts. Flush could not parse such
a key and skipped it, so the entry stayed cached until it expired or was
evicted.

Each part is now escaped, % as %25, @ as %40 and $ as %24, so the
separators appear only between parts. A key whose parts contain none of
these characters keeps its string. A key that has any of them gets a new
string, which can equal the old string of a different key: an id with a
literal %40 used to be stored as the new string of the same id with @.
A Redis cache kept across the upgrade can return such an entry until it
expires.

24 of 24 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

1551 of 1644 relevant lines covered (94.34%)

19797.22 hits per line

Relevant lines Covered
Build:
Build:
1644 RELEVANT LINES 1551 COVERED LINES
19797.22 HITS PER LINE
Source Files on master
  • Tree
  • List 22
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
42660071143 master Escape separators inside Scache key parts (#55) An id or scope containing @@ or $$, such as a page URL, split the composed key into the wrong number of parts. Flush could not parse such a key and skipped it, so the entry stayed cached until it ex... push 09 Nov 2026 04:59PM UTC web-flow github
94.34
42360630370 master Merge pull request #54 from go-pkgz/fix-mock-pubsub-race Fix flaky event bus tests push 07 Nov 2026 09:40AM UTC web-flow github
94.36
42304200343 master Take the CI Go version from go.mod CI pinned its Go version separately from go.mod. It now reads the major and minor version from the go directive and installs the latest patch release of it. go.mod drops its toolchain go1.21.6 line, which speci... push 06 Nov 2026 10:23PM UTC umputun github
94.3
41254416568 master serialize expirable cache admission Loads of different keys checked the limits and inserted without a common lock, so concurrent cold loads could all pass the checks. The total went over MaxCacheSize, v1 kept more than MaxKeys keys, and v2 evicte... push 31 Oct 2026 11:54PM UTC umputun github
94.12
41253876158 master Make MaxValSize and expirable MaxCacheSize limits inclusive MaxValSize refused a value of exactly the configured size in every backend, although its documentation describes the limit as the largest size allowed, and ExpirableCache stopped one byt... push 31 Oct 2026 11:47PM UTC umputun github
94.27
32196080946 master fix size limits, key limits, load stampede, redis namespacing and scoped flush (#51) * apply go fix: interface{} to any, sort.Slice to slices.Sort mechanical rewrite produced by go fix, no behaviour changes * update dependencies, replace go-mul... push 18 Aug 2026 11:12PM UTC web-flow github
94.14
19903546292 master Fix CI workflow: checkout before setup-go for proper caching (#50) - Move checkout step before setup-go to enable Go module caching - setup-go needs go.mod/go.sum files to generate cache keys - Update golangci-lint action to v7 and version to v2.... push 03 Dec 2025 05:52PM UTC web-flow github
95.42
10167092668 master remove unused delete() call, revert LoadingCache.purge changes `purge` call became broken in 41ffddb34, this change reverts it to the old behaviour so that memory won't be freed on its call. It's called relatively frequently and so copying the `d... push 30 Jul 2024 05:36PM UTC umputun github
95.42
10165675259 master improve v1 expirable cache memory management by recreating map on purge Modified the `Purge` and `purge` methods to recreate the `data` map, allowing the old map to be garbage collected, and added a new test to check for it. push 30 Jul 2024 03:55PM UTC umputun github
95.42
10155823672 master fix golangci-lint errors in CI by renaming shadowing parameters names push 30 Jul 2024 03:52AM UTC umputun github
95.42
See All Builds (222)
  • Repo on GitHub
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