• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

Unleash / unleash-go-sdk / 21748213028
81%
v5: 80%

Build:
Build:
LAST BUILD BRANCH: bump-version-to-5.1.0
DEFAULT BRANCH: v5
Ran 06 Feb 2026 11:02AM UTC
Jobs 4
Files 37
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

06 Feb 2026 10:59AM UTC coverage: 79.145%. First build
21748213028

Pull #236

github

kwasniew
fix: remove defensive nil checks on metricRegistry

Remove unnecessary nil checks for metricRegistry in sendMetrics().
The metricRegistry is always initialized before the metrics goroutine
starts, so the nil checks are not needed and don't match v5's approach.

Simplifies:
  collectedMetrics := impactmetrics.CollectedMetrics(nil)
  if m.metricRegistry != nil {
    collectedMetrics = impactmetrics.CollectedMetrics(m.metricRegistry.Collect())
  }

To:
  collectedMetrics := impactmetrics.CollectedMetrics(m.metricRegistry.Collect())

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Pull Request #236: feat: Impact metrics v6 migration

444 of 505 new or added lines in 5 files covered. (87.92%)

2000 of 2527 relevant lines covered (79.15%)

419.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
87.57
client.go
4
75.54
metrics.go
9
83.64
internal/impactmetrics/metrics_api.go
13
48.0
internal/impactmetrics/context.go
32
91.84
internal/impactmetrics/metric_types.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.24 - 21748213028.1 06 Feb 2026 11:02AM UTC 37
79.15
GitHub Action Run
2 Go-1.23 - 21748213028.2 06 Feb 2026 11:02AM UTC 37
79.15
GitHub Action Run
3 Go-1.22 - 21748213028.3 06 Feb 2026 11:02AM UTC 37
79.15
GitHub Action Run
4 Go-1.21 - 21748213028.4 06 Feb 2026 11:02AM UTC 37
79.15
GitHub Action Run
Source Files on build 21748213028
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #236
  • 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