mirror of
https://github.com/imjasonh/git-k8s
synced 2026-07-10 07:31:59 +00:00
Apply the diffcover technique to map code snippets to features, identify under-tested components, and add comprehensive tests for all reconciler business logic. Key improvements: - pkg/reconciler/internal: 26.7% → 100% (generic adapter fully tested) - pkg/client: 5.6% → 71.8% (full CRUD for all 4 resource types) - pkg/reconciler/repowatcher: 10.1% → 56.3% (ReconcileKind lifecycle) - pkg/reconciler/push: 0% → 33.3% (failTransaction, updateBranches) - pkg/reconciler/sync: 0% → 33.0% (findBranch, createPushTransaction) - pkg/reconciler/resolver: 2.1% → 17.0% (merge transactions, manual intervention) Includes COVERAGE_REPORT.md with full code-to-feature mapping showing which tests cover which lines, following the diffcover methodology. https://claude.ai/code/session_016Yeyfoocn7SN2HuMsxRD6f |
||
|---|---|---|
| .. | ||
| defaults.go | ||
| defaults_test.go | ||
| doc.go | ||
| groupversion_info.go | ||
| types.go | ||
| types_test.go | ||
| zz_generated.deepcopy.go | ||