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

umputun / stash / 19780602532 / 1
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2025 07:09AM UTC
Files 17
Run time 0s
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

29 Nov 2025 07:07AM UTC coverage: 82.942% (+0.3%) from 82.66%
19780602532.1

push

github

umputun
refactor(store): move conflict detection from web handler to store layer

add SetWithVersion method with optimistic locking using atomic UPDATE query.
returns ConflictError with current state details on version mismatch.
use nanosecond timestamps for precise conflict detection in web UI.

- add ErrConflict, ConflictInfo, ConflictError types to store
- implement atomic SetWithVersion in db.go and cached.go
- migrate web handler to use SetWithVersion
- remove TOCTOU race condition from conflict detection
- fix timestamp precision bug (use UnixNano instead of Unix)

2334 of 2814 relevant lines covered (82.94%)

89.49 hits per line

Source Files on job 19780602532.1
  • Tree
  • List 17
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19780602532
  • 777d6f55 on github
  • Prev Job for on master (#19778894542.1)
  • Next Job for on master (#19780972305.1)
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