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

codozor / fwkeeper / 19612779637 / 1
47%
main: 45%

Build:
Build:
LAST BUILD BRANCH: feat/error-classification-pod-lifecycle
DEFAULT BRANCH: main
Ran 23 Nov 2025 02:41PM UTC
Files 13
Run time 0s
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 Nov 2025 02:40PM UTC coverage: 47.368% (+47.4%) from 0.0%
19612779637.1

Pull #7

github

SebastienLaurent-CF
refactor: Remove unnecessary kubernetes client adapter layer

Eliminate 9 adapter types that added unnecessary indirection to the codebase.
The adapters (kubernetesClientAdapter, coreV1Adapter, podAdapter, serviceAdapter,
appsV1Adapter, deploymentAdapter, statefulSetAdapter, daemonSetAdapter) were
thin wrappers that simply passed through to kubernetes.Interface without adding value.

Changes:
- Removed 98 lines of adapter boilerplate from internal/app/runner.go
- Simplified locator interfaces to use kubernetes.Interface directly
- Updated pod.go, service.go, and selector_based_locator.go type signatures
- Refactored locator_test.go to use standard kubernetes/fake.Clientset
- Deleted mock_kubernetes.go (243 lines, replaced by fake.Clientset)
- Fixed TestRunnerConfigChangeDetection to use fake client for validation

Benefits:
- 30% reduction in runner.go code
- Improved maintainability by removing abstraction layers
- Aligns with Kubernetes ecosystem testing standards (fake.Clientset)
- Single source of truth: kubernetes.Interface
- Zero test regressions: 78/78 tests passing
Pull Request #7: ✅ test: Add Phase 1 test coverage for critical paths

369 of 779 relevant lines covered (47.37%)

0.53 hits per line

Source Files on job 19612779637.1
  • Tree
  • List 13
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19612779637
  • efb7139b on github
  • Prev Job for on feat/tests (#19593418837.1)
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