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

go-pkgz / auth / 32999027869
87%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2026 06:20PM UTC
Jobs 1
Files 25
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

26 Aug 2026 06:18PM UTC coverage: 86.651% (-0.05%) from 86.703%
32999027869

push

github

umputun
fix: remove the data race and the order dependence in the telegram tests

setupHandler returned context.CancelFunc directly, so cleanup() returned while
Run was still looping and TestTelegram_TokenVerification's unlocked write to
requests.data raced Run reading it under the lock. cleanup now cancels and
waits on a done channel.

That wait would have deadlocked TestTelegramConfirmedRequest: its GetUpdates
gate was a WaitGroup ignoring ctx, and the defer releasing it is registered
before defer cleanup(), so LIFO ran the waiting cleanup first. The gate is a
channel selecting on ctx.Done() now.

TestTelegram_TokenVerification also left apiPollInterval and
expiredCleanupInterval short for the rest of the package, so a 10ms cleanup
ticker deleted TestTelegramUnconfirmedRequest's request before it checked for
expiry. Both sites restore them with t.Cleanup.

3330 of 3843 relevant lines covered (86.65%)

9.84 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
88.26
-0.42% v2/provider/telegram.go
Jobs
ID Job ID Ran Files Coverage
1 32999027869.1 26 Aug 2026 06:20PM UTC 25
86.65
GitHub Action Run
Source Files on build 32999027869
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5f6d12c4 on github
  • Prev Build on master (#32997592455)
  • Next Build on master (#32999026580)
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