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

Unleash / unleash-go-sdk / 28520254227
80%
v6: 80%

Build:
Build:
LAST BUILD BRANCH: chore/bump-to-6.5.0
DEFAULT BRANCH: v6
Ran 02 Jul 2026 07:07AM UTC
Jobs 4
Files 42
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

01 Jul 2026 01:13PM UTC coverage: 77.951%. First build
28520254227

Pull #270

github

AliMsayleb
feat: add Client.Shutdown for graceful metrics flush on teardown

Close() drops any metrics recorded since the last periodic tick because
the sync loop's shutdown case exits without a final flush. Add
Client.Shutdown(ctx) — modelled on net/http.Server.Shutdown — that
performs a best-effort POST of buffered toggle counts and impact metrics
before tearing down. The caller-provided ctx bounds the flush.

Close() behavior is unchanged; its docstring now points at Shutdown for
the graceful path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #270: feat: add Client.Shutdown for graceful metrics flush on teardown

6 of 51 new or added lines in 2 files covered. (11.76%)

2252 of 2889 relevant lines covered (77.95%)

309.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
37
74.29
metrics.go
8
88.8
client.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.24 - 28520254227.1 02 Jul 2026 07:07AM UTC 42
77.95
GitHub Action Run
2 Go-1.26 - 28520254227.2 02 Jul 2026 07:07AM UTC 42
77.95
GitHub Action Run
3 Go-1.25 - 28520254227.3 02 Jul 2026 07:07AM UTC 42
77.22
GitHub Action Run
4 Go-1.23 - 28520254227.4 02 Jul 2026 07:07AM UTC 42
77.95
GitHub Action Run
Source Files on build 28520254227
  • Tree
  • List 42
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #270
  • 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