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

Chaguar / committer / 41428690507
91%

Build:
DEFAULT BRANCH: main
Ran 02 Nov 2026 10:30AM UTC
Jobs 3
Files 143
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

02 Nov 2026 10:25AM UTC coverage: 90.538% (-0.1%) from 90.656%
41428690507

push

github

web-flow
[vc] Label the commit latency histograms by outcome (#888)

#### Type of change

- Bug fix

#### Description

- `commit`, `insertTxStatus` and `updateStates` record their latency in
a `defer`, so every outcome is counted.
- All four commit histograms get a `status` label:
- `vcservice_database_tx_batch_commit_latency_seconds`: `success`,
`duplicate`, `conflict`, `error`
- `vcservice_database_tx_batch_commit_txs_status_latency_seconds`:
`success`, `duplicate`, `error`
-
`vcservice_database_tx_batch_commit_insert_new_key_with_value_latency_seconds`:
`success`, `conflict`, `error`
- `vcservice_database_tx_batch_commit_update_latency_seconds`:
`success`, `error`
- The label is read from the named results in the deferred call, so a
new return path cannot keep a stale label.
- `updateStates` no longer records a sample for a batch with no updates.
- Adds 2 s and 5 s buckets.

#### Additional details (Optional)

The four histograms change series, so a dashboard needs a `sum by` over
`status` to keep its old view.

#### Related issues

- resolves #882

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>

57 of 61 new or added lines in 2 files covered. (93.44%)

33 existing lines in 7 files now uncovered.

10018 of 11065 relevant lines covered (90.54%)

10249.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
83.38
-1.96% service/vc/database.go

Coverage Regressions

Lines Coverage ∆ File
9
78.11
-1.38% service/sidecar/sidecar.go
8
89.32
-7.77% service/snapshothasher/hasher.go
8
83.38
-1.96% service/vc/database.go
3
93.37
-1.66% service/coordinator/signature_verifier_manager.go
2
94.44
-2.78% service/verifier/verifier_server.go
2
89.72
-1.87% loadgen/workload/limiter.go
1
81.82
-1.82% loadgen/adapters/vcservice.go
Jobs
ID Job ID Ran Files Coverage
1 core-db-test - 41428690507.1 02 Nov 2026 10:33AM UTC 109
49.8
GitHub Action Run
2 db-test - 41428690507.2 02 Nov 2026 10:30AM UTC 143
78.36
GitHub Action Run
3 unit-test - 41428690507.3 02 Nov 2026 10:30AM UTC 95
85.9
GitHub Action Run
Source Files on build 41428690507
  • Tree
  • List 143
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0ae8eac2 on github
  • Prev Build on main (#41428296988)
  • Next Build on main (#41428887046)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc