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

tarantool / go-storage / 26233039368
90%

Build:
DEFAULT BRANCH: master
Ran 21 May 2026 02:41PM UTC
Jobs 1
Files 47
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

21 May 2026 02:40PM UTC coverage: 90.034% (+0.04%) from 89.99%
26233039368

push

github

bigbes
locker: add Locker interface package and wire NewLocker into Storage

Add Locker (Lock/TryLock/Unlock/Key), Options + WithTTL +
ApplyOptions, sentinel errors (ErrLocked, ErrSessionExpired,
ErrLockReleased, ErrUnsupported), and DefaultTTL = 60s. Also add
Factory, the lightest "create a lock" surface, for components that
only need a binder to acquire locks without the full Storage handle.

Add NewLocker(ctx, name, opts...) (locker.Locker, error) to
driver.Driver and storage.Storage. Storage and Prefixed also expose
LockerFactory() locker.Factory, mirroring the recently added
TxFactory(). Prefixed.NewLocker scopes the lock name under the
wrapper's prefix — matches Tx / Range, prevents collisions across
distinct prefixes. Minor break for out-of-tree implementers of
Driver / Storage.

Part of #29

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

3668 of 4074 relevant lines covered (90.03%)

530.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26233039368.1 21 May 2026 02:41PM UTC 47
90.03
GitHub Action Run
Source Files on build 26233039368
  • Tree
  • List 47
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c8b586fd on github
  • Prev Build on master (#26221122596)
  • Next Build on master (#26234582722)
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