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

goto / compass / 13494890667
81%

Build:
DEFAULT BRANCH: main
Ran 24 Feb 2025 09:36AM UTC
Jobs 1
Files 77
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

24 Feb 2025 09:33AM UTC coverage: 83.797% (-0.2%) from 84.008%
13494890667

push

github

web-flow
fix: race condition in both upsert post and upsert patch (#88)

* fix: add unit test to reproduce the race condition issue

* feat: make the isolation level transaction configurable

* fix: upsert race condition

* fix: lint issues

* fix: asset id source

* fix: upsert patch flow to get existing asset under transaction

* fix: insert logic and make it single responsibility for upsert patch and upsert post

* fix: lint issue

* refactor: remove unnecessary changes

* test: update unit tests

* refactor: lint issues

* feat: add retry condition

* refactor: remove unnecessary check

---------

Co-authored-by: Muhammad Luthfi Fahlevi <muhammad.fahlevi@gojek.com>

181 of 243 new or added lines in 4 files covered. (74.49%)

4 existing lines in 2 files now uncovered.

6951 of 8295 relevant lines covered (83.8%)

22.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
91.6
0.35% internal/server/v1beta1/asset.go
4
90.0
-0.45% core/asset/service.go
56
76.35
-1.71% internal/store/postgres/asset_repository.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
91.6
0.35% internal/server/v1beta1/asset.go
2
76.35
-1.71% internal/store/postgres/asset_repository.go
Jobs
ID Job ID Ran Files Coverage
1 13494890667.1 24 Feb 2025 09:36AM UTC 77
83.8
GitHub Action Run
Source Files on build 13494890667
  • Tree
  • List 77
  • Changed 12
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6e1e8352 on github
  • Prev Build on main (#12114630025)
  • Next Build on main (#13494956499)
  • Delete
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

© 2025 Coveralls, Inc