Latest Results
test: increase coverage from 82.5% to 86.2% (phase 2) (#503)
## Summary
- **Core package**: 90.1% → 93.0% (+2.9pp) — scheduler, clock,
composejob, docker SDK provider, resilience, performance metrics
- **CLI package**: 78.9% → 84.2% (+5.3pp) — config parsing, daemon,
doctor, docker handler, validate, init, progress, hashpw
- **Middlewares package**: 88.1% → 97.5% (+9.4pp) — mail dedup, preset
loading/caching, restore, save, webhook config/security
- **Overall**: 82.5% → 86.2% (+3.7pp)
**27 new test files** with ~7,000 lines of test code covering previously
uncovered edge cases.
### Bug fixes included
- `fix(test)`: Remove `t.Parallel()` from `TestValidateExecuteValidFile`
— modifies global `os.Stdout`, races with parallel tests
- `fix(test)`: Remove `t.Parallel()` from `TestPresetLoader_LoadFromURL`
— modifies global URL validator, races with `SetGlobalSecurityConfig`
## Test plan
- [x] All tests pass locally (`go test ./... -count=1 -short`)
- [x] `golangci-lint run ./...` — 0 issues
- [x] Coverage verified via `go tool cover -func`
- [ ] CI passes on GitHub Actions Latest Branches
+23%
-17%
dependabot/go_modules/github.com/docker/cli-29.3.0incompatible -11%
dependabot/go_modules/github.com/netresearch/go-cron-0.13.0 © 2026 CodSpeed Technology