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

kubevirt / containerized-data-importer / #6034
49%
main: 50%

Build:
Build:
LAST BUILD BRANCH: add-pprof-endpoints
DEFAULT BRANCH: main
Ran 30 May 2026 10:25AM UTC
Jobs 1
Files 159
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

30 May 2026 10:12AM UTC coverage: 49.464% (-0.09%) from 49.558%
#6034

Pull #4161

travis-ci

Acedus
cdi: expose secure pprof endpoints for controller and operator

pprof is Go's built-in profiling toolkit that exposes runtime
diagnostics (e.g., heap allocations, goroutine stacks, CPU profiles,
etc.) over HTTP. Exposing these endpoints enables live debugging of
memory leaks, goroutine leaks, and CPU hotspots in running controller
and operator pods without redeployment or recompilation.

This commit exposes the handlers via the existing metrics server by
relying on controller-runtime's ExtraHandlers along with the previously
introduced WithAuthenticationAndAuthorization which serves to secure
the handlers with TLS and RBAC auth. A new ClusterRole (cdi-pprof-reader)
is added to grant pprof access independently of metrics scraping.

Signed-off-by: Adi Aloni <aaloni@redhat.com>
Pull Request #4161: cdi: expose secure pprof endpoints for controller and operator

0 of 37 new or added lines in 4 files covered. (0.0%)

10 existing lines in 2 files now uncovered.

15008 of 30341 relevant lines covered (49.46%)

0.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
0.0
0.0% pkg/operator/resources/cluster/controller.go
9
0.0
0.0% pkg/operator/resources/operator/operator.go
7
0.0
0.0% cmd/cdi-controller/controller.go
7
0.0
0.0% cmd/cdi-operator/operator.go

Coverage Regressions

Lines Coverage ∆ File
6
56.77
-0.69% pkg/importer/imageio-datasource.go
4
78.45
-1.0% pkg/importer/http-datasource.go
Jobs
ID Job ID Ran Files Coverage
1 #6034.1 30 May 2026 10:25AM UTC 159
49.46
Source Files on build #6034
  • Tree
  • List 159
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #4161
  • PR Base - main (#)
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