mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
6104a000d1
## Summary Extract a `healthyChecker()` test helper that returns an all-healthy baseline `testChecker` in `coderd/healthcheck`. Each `TestHealthcheck` table-driven test case now only overrides the single report field being tested, instead of repeating all 6 healthy report structs. - Reduces `healthcheck_test.go` from 603 to 341 lines (~260 lines, 43% reduction) - Test coverage unchanged at 77.2% - All test cases and assertions preserved exactly 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>