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

umputun / stash / 19780602532
84%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2025 07:09AM UTC
Jobs 1
Files 17
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

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

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)

80 of 92 new or added lines in 4 files covered. (86.96%)

1 existing line in 1 file now uncovered.

2334 of 2814 relevant lines covered (82.94%)

89.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
83.89
0.76% app/server/web/keys.go
3
81.25
-18.75% app/store/store.go
8
85.98
-0.16% app/store/db.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.89
0.76% app/server/web/keys.go
Jobs
ID Job ID Ran Files Coverage
1 19780602532.1 29 Nov 2025 07:09AM UTC 17
82.94
GitHub Action Run
Source Files on build 19780602532
  • Tree
  • List 17
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 777d6f55 on github
  • Prev Build on master (#19778894542)
  • Next Build on master (#19780972305)
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