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

KusionStack / karpor / 42796149978
67%
main: 66%

Build:
Build:
LAST BUILD BRANCH: fix/pod-log-query-validation
DEFAULT BRANCH: main
Ran 10 Nov 2026 10:06AM UTC
Jobs 1
Files 68
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

10 Nov 2026 10:05AM UTC coverage: 66.557% (+0.5%) from 66.082%
42796149978

Pull #867

github

NopeCharon
fix(cluster): validate the current context and mask exec env in cluster objects

Validation picked the first cluster and user of the kubeconfig, while
creating the cluster goes through clientcmd and follows current-context.
A multi-context kubeconfig could therefore validate against one cluster
and register another. Resolve the cluster and user of the current
context for both the validation checks and the client config, and report
a missing or dangling current-context instead of falling back to the
first entries.

The Get/List sanitizer masked the token and certificates of a cluster
but left spec.access.credential.execConfig.env values readable. Mask
them as well, since they usually hold credentials such as
AWS_SECRET_ACCESS_KEY.

Signed-off-by: NopeCharon <115794254+NopeCharon@users.noreply.github.com>
Pull Request #867: fix(cluster): accept exec-based kubeconfigs such as AWS EKS when validating

106 of 136 new or added lines in 2 files covered. (77.94%)

2 existing lines in 2 files now uncovered.

4637 of 6967 relevant lines covered (66.56%)

0.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
23
80.43
8.08% pkg/core/manager/cluster/util.go
7
71.24
4.69% pkg/core/manager/cluster/manager.go

Coverage Regressions

Lines Coverage ∆ File
1
71.24
4.69% pkg/core/manager/cluster/manager.go
1
80.43
8.08% pkg/core/manager/cluster/util.go
Jobs
ID Job ID Ran Files Coverage
1 42796149978.1 10 Nov 2026 10:06AM UTC 68
66.56
GitHub Action Run
Source Files on build 42796149978
  • Tree
  • List 68
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #867
  • PR Base - main (#42742650943)
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