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

jellydator / ttlcache
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix/range-skips-reordered-items
DEFAULT BRANCH: master
Repo Added 24 Mar 2022 11:37AM UTC
Files 4
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 fix/range-skips-reordered-items
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • IS-86
  • add-has-method
  • add-range-foreach
  • add-version
  • dbcache-example
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/github.com/stretchr/testify-1.9.0
  • dependabot/go_modules/go.uber.org/goleak-1.3.0
  • dependabot/go_modules/golang.org/x/sync-0.10.0
  • dependabot/go_modules/golang.org/x/sync-0.11.0
  • dependabot/go_modules/golang.org/x/sync-0.14.0
  • dependabot/go_modules/golang.org/x/sync-0.15.0
  • dependabot/go_modules/golang.org/x/sync-0.16.0
  • dependabot/go_modules/golang.org/x/sync-0.17.0
  • dependabot/go_modules/golang.org/x/sync-0.20.0
  • dependabot/go_modules/golang.org/x/sync-0.21.0
  • dependabot/go_modules/golang.org/x/sync-0.6.0
  • dependabot/go_modules/golang.org/x/sync-0.7.0
  • dependabot/go_modules/golang.org/x/sync-0.8.0
  • dependabot/go_modules/golang.org/x/sync-0.9.0
  • dependency-upgrades
  • examples-httpcache
  • exclude-expired-keys
  • feat-concurrent-cache
  • feat/cache_size_in_bytes
  • feature/prevttl
  • fix-range-mutex-usage
  • fix/allocs-per-run-parallel
  • fix/cost_calc_deadlock
  • fix/expiration/nottl
  • fix/range-skips-reordered-items
  • fix_stale_update
  • item-cost
  • item-creation-func-opts
  • master
  • non-allocations-options
  • on-update-method
  • optimistic-delete
  • optimize-len
  • patch-1
  • pi/fix-head-ttl-expiry
  • range-backoff
  • range-panics
  • refs/tags/v3.0.1
  • refs/tags/v3.1.0
  • refs/tags/v3.1.1
  • refs/tags/v3.2.0
  • refs/tags/v3.2.1
  • refs/tags/v3.3.0
  • refs/tags/v3.4.0
  • refs/tags/v3.4.1
  • shards
  • start-stop-loop
  • v3
  • windows-clock-fix

28 Jun 2026 07:29AM UTC coverage: 99.739% (+0.001%) from 99.738%
28315180578

Pull #213

github

amitmishra11
fix: Range/RangeBackwards no longer skip items reordered mid-iteration

Range and RangeBackwards walked the live LRU list while releasing the
read lock between steps, so a concurrent Set/Touch could call
MoveToFront and move an unvisited item ahead of the iterator,
skipping it. Snapshot the keys in iteration order up front, then
re-look-up each key (skipping ones since evicted) instead of walking
the live list.

Fixes #205

This PR was written primarily by Claude Code; I reviewed the change
and ran the test suite before submitting.
Pull Request #213: fix: Range/RangeBackwards no longer skip items reordered mid-iteration

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

764 of 766 relevant lines covered (99.74%)

26.09 hits per line

Relevant lines Covered
Build:
Build:
766 RELEVANT LINES 764 COVERED LINES
26.09 HITS PER LINE
Source Files on master
  • Tree
  • List 4
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28315180578 fix/range-skips-reordered-items fix: Range/RangeBackwards no longer skip items reordered mid-iteration Range and RangeBackwards walked the live LRU list while releasing the read lock between steps, so a concurrent Set/Touch could call MoveToFront and move an unvisited item ahea... Pull #213 30 Jun 2026 08:06AM UTC amitmishra11 github
99.74
27957730439 refs/tags/v3.4.1 fix: correctly notify auto-cleaner when an item's TTL is shortened (#206) push 22 Jun 2026 01:51PM UTC web-flow github
99.74
27957038408 v3 fix: correctly notify auto-cleaner when an item's TTL is shortened (#206) push 22 Jun 2026 01:41PM UTC web-flow github
99.74
27877979268 pi/fix-head-ttl-expiry refactor to table-driven test Pull #206 22 Jun 2026 01:18PM UTC PiAreSquared github
99.74
27812018330 v3 Bump actions/checkout from 6 to 7 (#211) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> push 19 Jun 2026 07:30AM UTC web-flow github
99.74
27790637083 dependabot/github_actions/actions/checkout-7 Bump actions/checkout from 6 to 7 Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)... Pull #211 18 Jun 2026 09:33PM UTC web-flow github
99.74
27746990743 v3 test: avoid testing.AllocsPerRun panic with paused parallel tests (#208) push 18 Jun 2026 08:31AM UTC web-flow github
99.74
27724516090 fix/allocs-per-run-parallel test: scope allocSink to the paused-parallel test Signed-off-by: Sai Asish Y <say.apm35@gmail.com> Pull #208 18 Jun 2026 08:27AM UTC SAY-5 github
99.74
27168318918 dependabot/go_modules/golang.org/x/sync-0.21.0 Bump golang.org/x/sync from 0.16.0 to 0.21.0 Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.16.0 to 0.21.0. - [Commits](https://github.com/golang/sync/compare/v0.16.0...v0.21.0) --- updated-dependencies: - dependency-name: gola... Pull #210 08 Jun 2026 09:33PM UTC web-flow github
99.74
25886977254 dependabot/go_modules/golang.org/x/sync-0.20.0 Bump golang.org/x/sync from 0.16.0 to 0.20.0 Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.16.0 to 0.20.0. - [Commits](https://github.com/golang/sync/compare/v0.16.0...v0.20.0) --- updated-dependencies: - dependency-name: gola... Pull #209 14 May 2026 09:34PM UTC web-flow github
99.74
See All Builds (204)
  • Repo on GitHub
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