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

go-pkgz / notify / 32195443752
97%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2026 11:02PM UTC
Jobs 1
Files 5
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

18 Aug 2026 11:02PM UTC coverage: 96.512% (+0.5%) from 96.024%
32195443752

push

github

web-flow
Make telegram auth state changes single-writer (#40)

Auth requests were read under a read lock, changed on a copy and written
back later, so a request consumed by CheckToken in between was restored
from the stale copy and could be used again. Confirmation in
processUpdates is one locked transaction now, with the network calls kept
outside of it.

CheckToken had the same split between lookup and deletion, letting two
parallel calls both accept a one-time token; it is a single transaction
now as well.

Run counted the number of started goroutines instead of preventing them,
and ProcessUpdate checked that counter separately from taking the work.
Both go through one lock now: a second Run returns instead of starting
another processor, and ProcessUpdate holds it for the whole call. It is
a read lock, so parallel ProcessUpdate calls keep running concurrently
and only Run is excluded.

34 of 34 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

498 of 516 relevant lines covered (96.51%)

185.58 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
96.5
0.82% telegram.go
Jobs
ID Job ID Ran Files Coverage
1 32195443752.1 18 Aug 2026 11:02PM UTC 5
96.51
GitHub Action Run
Source Files on build 32195443752
  • Tree
  • List 5
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a8dc48c3 on github
  • Prev Build on master (#32195201290)
  • Next Build on master (#32209750644)
  • Delete
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