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

stacklok / toolhive / 21293416805
60%

Build:
DEFAULT BRANCH: main
Ran 23 Jan 2026 04:40PM UTC
Jobs 1
Files 462
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

23 Jan 2026 04:32PM UTC coverage: 59.937% (+0.05%) from 59.888%
21293416805

push

github

web-flow
Refactor RBAC management to eliminate code duplication (#3368)

* refactor rbac

Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>

* Refactor RBAC management to eliminate code duplication

Introduce a common EnsureRBACResources method in pkg/kubernetes/rbac
that consolidates the pattern of creating ServiceAccount, Role, and
RoleBinding resources. This eliminates ~170 lines of duplicated code
across controllers.

Co-authored-by: Yolanda Robla <yolanda@stacklok.com>

* add license headers

* increase test coverage

* changes from review

* fix ci

* changes from review

* bump chart version

---------

Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>
Co-authored-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>
Co-authored-by: taskbot <taskbot@users.noreply.github.com>

300 of 310 new or added lines in 7 files covered. (96.77%)

2 existing lines in 1 file now uncovered.

37104 of 61905 relevant lines covered (59.94%)

79.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
57.67
-1.38% cmd/thv-operator/controllers/mcpremoteproxy_controller.go
2
67.64
-0.47% cmd/thv-operator/controllers/virtualmcpserver_controller.go
6
97.52
cmd/thv-operator/pkg/kubernetes/rbac/rbac.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
94.67
-1.33% pkg/vmcp/composer/dag_executor.go
Jobs
ID Job ID Ran Files Coverage
1 21293416805.1 23 Jan 2026 04:40PM UTC 462
59.94
GitHub Action Run
Source Files on build 21293416805
  • Tree
  • List 462
  • Changed 11
  • Source Changed 8
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21293416805
  • f8023583 on github
  • Prev Build on main (#21292309950)
  • Next Build on main (#21295146313)
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