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

ctfer-io / chall-manager / 20938039511
50%

Build:
DEFAULT BRANCH: main
Ran 12 Jan 2026 11:36PM UTC
Jobs 1
Files 76
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

12 Jan 2026 11:01PM UTC coverage: 50.073% (-2.2%) from 52.294%
20938039511

push

github

web-flow
Improve etcd-based RW locks and API contextual awarness of cancelation (#1180)

* impr(locks): handle context cancelation with recovery mecanisms

* impr(locks): don't return cancelation errors

* impr(locks): improve cancelation and error handling with session-awareness

* fix(locks): typing and local lock context cancelation

* impr(locks): add etcd healthcheck time windows to avoid spamming, add keepalive to avoid idling

* impr(api): handle context cancelation for better recovery, fix bugs

* fix(etcd): protect the whole healthcheck for time window to avoid duplicating the call (race condition)

* docs: add recovery of RWLocks  in the design webdoc

* fix(api): unprotected segment in delete operation leading to potential race conditions

* docs: fix figure and clarify CP-/AP-first decision on using etcd

122 of 689 new or added lines in 13 files covered. (17.71%)

21 existing lines in 7 files now uncovered.

4466 of 8919 relevant lines covered (50.07%)

0.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.04
2.23% pkg/services/etcd/manager.go
11
62.16
-27.49% pkg/lock/local.go
15
58.6
-6.94% api/v1/challenge/query.go
17
25.58
-2.75% api/v1/instance/query.go
24
51.08
-8.27% api/v1/challenge/create.go
26
6.94
-0.87% api/v1/challenge/retrieve.go
30
55.38
-3.74% api/v1/challenge/update.go
30
37.5
-7.61% api/v1/instance/renew.go
36
39.46
-2.9% api/v1/challenge/delete.go
45
31.65
-9.44% api/v1/instance/retrieve.go
48
28.11
-5.93% api/v1/instance/delete.go
63
35.51
-4.49% api/v1/instance/create.go
221
22.73
-15.61% pkg/lock/etcd.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
47.66
-0.81% api/v1/instance/spin.go
2
87.04
2.23% pkg/services/etcd/manager.go
2
91.69
-0.27% sdk/kubernetes/exposed-multipod.go
3
80.0
-6.67% global/log.go
4
58.6
-6.94% api/v1/challenge/query.go
4
0.0
-66.67% pkg/errors/internal.go
4
22.73
-15.61% pkg/lock/etcd.go
Jobs
ID Job ID Ran Files Coverage
1 20938039511.1 12 Jan 2026 11:36PM UTC 78
47.81
GitHub Action Run
Source Files on build 20938039511
  • Tree
  • List 76
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a082c4a3 on github
  • Prev Build on main (#20881617546)
  • Next Build on main (#20947335867)
  • 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

© 2026 Coveralls, Inc