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

codozor / fwkeeper / 19610210632
47%
main: 45%

Build:
Build:
LAST BUILD BRANCH: feat/error-classification-pod-lifecycle
DEFAULT BRANCH: main
Ran 23 Nov 2025 11:06AM UTC
Jobs 1
Files 14
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 Nov 2025 11:06AM UTC coverage: 52.352% (+52.4%) from 0.0%
19610210632

Pull #7

github

SebastienLaurent-CF
✅ 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 exponential backoff configuration validation
- Exponential backoff calculation with multiplier and max delay constraints
- Max delay enforcement preventing unbounded growth
- Jitter option for retry timing variance

**Port Parsing & Configuration Tests (7 tests)**:
- Port specification parsing (single ports, mapped ports, IPv6 addresses)
- PortForwardConfiguration validation with sub-tests:
  * Single port handling (8080 → local:8080, remote:8080)
  * Mapped port handling (8080:3000 → local:8080, remote:3000)
  * Multiple port configurations
  * Mixed mapped and unmapped ports
  * Empty port list edge case
- Port mapping edge cases (high ports, low ports, port identity mapping)
- Forwarder configuration creation and info methods
- Custom retry configuration with overrides
Pull Request #7: ✅ test: Add Phase 1 test coverage for critical paths

155 of 215 new or added lines in 6 files covered. (72.09%)

81 existing lines in 4 files now uncovered.

512 of 978 relevant lines covered (52.35%)

0.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
80.65
80.65% internal/locator/locator.go
6
66.67
66.67% internal/locator/selector_based_locator.go
11
92.47
internal/locator/mock_kubernetes.go
39
54.32
54.32% internal/app/runner.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
66.67
66.67% internal/locator/service.go
6
80.65
80.65% internal/locator/locator.go
11
66.67
66.67% internal/locator/selector_based_locator.go
63
54.32
54.32% internal/app/runner.go
Jobs
ID Job ID Ran Files Coverage
1 19610210632.1 23 Nov 2025 11:06AM UTC 14
52.35
GitHub Action Run
Source Files on build 19610210632
  • Tree
  • List 14
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #7
  • PR Base - main (#19593418837)
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