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

codozor / fwkeeper
47%
main: 45%

Build:
Build:
LAST BUILD BRANCH: feat/error-classification-pod-lifecycle
DEFAULT BRANCH: main
Repo Added 22 Nov 2025 08:58AM UTC
Files 14
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

LAST BUILD ON BRANCH feat/tests
branch: feat/tests
CHANGE BRANCH
x
Reset
  • feat/tests
  • feat/error-classification-pod-lifecycle
  • feat/forwarder-integration-tests
  • feat/improve-config-validation
  • main

23 Nov 2025 02:40PM UTC coverage: 47.368% (+47.4%) from 0.0%
19612779637

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

1 of 3 new or added lines in 1 file covered. (33.33%)

369 of 779 relevant lines covered (47.37%)

0.53 hits per line

Relevant lines Covered
Build:
Build:
779 RELEVANT LINES 369 COVERED LINES
0.53 HITS PER LINE
Source Files on feat/tests
  • Tree
  • List 13
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19612779637 feat/tests 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, deployment... Pull #7 23 Nov 2025 02:41PM UTC SebastienLaurent-CF github
47.37
19610210632 feat/tests ✅ test: Add Phase 9 test coverage for Forwarder logic (retry config, port parsing) Implement 11 comprehensive tests for Forwarder package without Kubernetes dependencies to ensure CI compatibility: **RetryConfig Tests (4 tests)**: - Default expo... Pull #7 23 Nov 2025 11:06AM UTC SebastienLaurent-CF github
52.35
19609267014 feat/tests ✅ test: Add Phase 8 test coverage for OS signal handling (SIGHUP, SIGTERM) Implement comprehensive test coverage for OS signal handling integration. Tests validate signal notification setup, signal channel creation, SIGHUP for configuration reloa... Pull #7 23 Nov 2025 09:40AM UTC SebastienLaurent-CF github
52.35
19608046374 feat/tests ✅ test: Add Phase 3 test coverage for runner lifecycle Implement comprehensive test coverage for runner initialization, lifecycle management, and configuration handling. Tests validate graceful shutdown, context propagation, and internal state ma... Pull #7 23 Nov 2025 07:51AM UTC SebastienLaurent-CF github
49.18
19598121198 feat/tests ✅ test: Add Phase 2 test coverage for locator implementations Implement comprehensive test coverage for all locator implementations (pod, service, deployment, statefulset, daemonset) with mocked Kubernetes client. Refactor locator interfaces for ... Pull #7 22 Nov 2025 04:22PM UTC SebastienLaurent-CF github
32.62
19593835155 feat/tests ✅ test: Add Phase 1 test coverage for critical paths Implement comprehensive unit tests for configuration loading and validation, covering happy paths and error cases. Tests validate port ranges, detect conflicts, and ensure proper error handling... Pull #7 22 Nov 2025 09:55AM UTC SebastienLaurent-CF github
5.93
See All Builds (18)
  • Repo on GitHub
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